Jump to content

Altor

Active Members
  • Posts

    26
  • Joined

  • Last visited

Altor's Achievements

  1. Ok Jos, Ctrl+Click It's just i what need. The other commands are also very interesting to work with a Region Sorry for not being able to find this topic in Scite help. Thanks Altor
  2. Ok Jos, thanks for your reply. Sorry for posting the post on AutoIt General Help and Support This helps me a bit more .... but I was referring to the similar model of a tree folder with direcrories, click on a parent directori and show a subdirectory, click on the subdirectory and show a child subdirectory ... and the end appears the files ... If a #Region collapses with a View / Toggle all Folds only collapses aparent #Region, but Regions children appear all expanded as well. What I would like is for the children to appear collapsed. I know this is foolishness and it is not necessary, it's just an idea ... Thanks Altor
  3. Hi all: In Scite it is possible to expand and collapse all the #Region at time with a shortcut ..? Now I use the + key to expand and collapse but I can only use this suggestion for a one # Region If I collapse all the regions one by one in order to have the code more understandable when I re-open the script all the regions are expanded and I need to collapse all again one by one. Thank.s to all Altor
  4. Ok RTFC, thanks for your reply , problem solved. Altor
  5. Hi all: Sorry for such an innocent question ..... It is possible to delete all Au3Check error messages with a hot key when they appear with F5 and you can continue editing the code without seeing the red lines. For now my only solution is to reload the script but it is a bit annoying. Thank's to all Altor
  6. Thaks Jos, prolem solved...
  7. Hi all My problem is that I have no way to work with buttons in a while loop When i run the form i can exit well clicking a close main window and olso if i click in a exit button but if i start the apllication whith a Start button execute a loop for view a random numbers and then i can't stop the rogram and i can't not exit with a Exit button. I think the problem is in the use of events but i can not find the solution.... Thank's to all The exemple is this: #include <StaticConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Include <GuiButton.au3> Opt("GUIOnEventMode", 1) $random_numbers = GUICreate("Random numbers",351,171,-1,-1,-1,-1) GUISetOnEvent($GUI_EVENT_CLOSE, "close") $lavel_number = GUICtrlCreateLabel("",117,36,98,26,BitOr($SS_CENTER,$SS_CENTERIMAGE),$WS_EX_STATICEDGE) GUICtrlSetBkColor(-1,"0xFFFFFF") $start = GUICtrlCreateButton("Start",34,95,100,30,-1,-1) GUICtrlSetOnEvent(-1,"start") $stop = GUICtrlCreateButton("Pause",182,95,100,30,-1,-1) GUICtrlSetOnEvent(-1,"pause") $exit = GUICtrlCreateButton("Exit",112,136,100,30,-1,-1) GUICtrlSetOnEvent(-1,"close") GUISetState(@SW_SHOW) While 1 Sleep (50) Wend Func start() While 1 Sleep(100) Local $a = Random(1,10,1) GUICtrlSetData($lavel_number,$a) WEnd EndFunc Func pause() EndFunc func close() exit EndFunc
  8. Thanks to Tekk, AutoBert and kylomas for yours exemples, with them I have been able to solve my doubts. It's a shame that the GUICtrlSetData can not directly load an array would make everything a little easier.... Thanks.
  9. Hi all: I wish I could load GUICtrlSetData with a array for work with the GUICtrlCreateCombo control....and not use the tipical: GUICtrlSetData($idComboBox, "Item 2|Item 3", "Item 2") How could you do ...if it is possible Thank's to all
  10. Hi to all. My question is if is it possible read with Autoit a output value of python script and load it for example in a array. My first idea is execute a python script and load the result in a file and then read whith Autoit whith FileReadToArray. I don't know if this way is the best. Thank's to all
  11. Thanks AutoBert, problem solved.
  12. Hi to all My problem is how can I compare two dates if I have the following code: $date = _NowDate() $dateend = "10/12/2016" if $date > $dateend Then Exit EndIf It does not work well I guess it's because I'm comparing two strings not realy two dates. My idea would break the date into three numbers year, month and day and go comparing data as numbers. is this correct...? Thank's to all
  13. Thanks BrewManNH, very simple and easy.
  14. Hi all: I nedd to convert a word hex number to an integer 16 Ex: 0xFFE9 convert to -23 I would appreciate if they had any idea how I can get it
×
×
  • Create New...