Jump to content

itaipee

Members
  • Posts

    8
  • Joined

  • Last visited

itaipee's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I have toolbar contains 20 icons - each icon is a button There is no identifier for the icons - in the autoit windows spy all of the icons has same classname - ToolBarWindow321 I dont know any other way to check state of button - if it pressed or not The only way to click on icon there is to use moveMouse and MouseClick - which is not safe method, case the order of the icon may be change , icon may be removed or added . I found someone else has already puclish this topics - but did not get answer ( got reply like use controlClick ) http://www.autoitscript.com/forum/index.php?showtopic=3843 any one know how to deal with tool bar ? thanks
  2. I working on generating API for some Windows GUI aplication. Its includes Slider bars - which i now get is called trackbar . ( this aplication was not made in autoit ) How can i move the slider bar ? From what i see in the "AutoIt v3 Window Info" This control is called msctls_taskbar32 And I dont know even how to catch the position of the slider market
  3. In another word - can i have an event - that cause the break lop or treminate function ( not program , function) when the event activate ?
  4. First , that is much better solution , thanks Second , let make the problem a bit harder.. I want to exit the lop - in the minute the hotkey was pressed - and not only in the beggining of the lop the global flag is good and elegant when I have one simple command . but if the proccess is more complecated then I need to had "if ($flag == 1)" before each command or at list before each major command ( for example in command 3 ) When the program is become long and complicate the flag is not such nice solution Global $flag Func Function1() HotKeySet("^p", "Function2") $flag = 1 while ( $flag == 1) ;;set of commands 1 ;;set of commands 2 if ( $flag == 1) then ;;set of commands 3 ;; that ugly Endif ;;set of commands 4 Wend HotKeySet("^p", "") EndFunc Func Function2() $flag = 0 EndFunc
  5. I want that the code will break lop or return from a function with certain value Exit is not good - it terminate the entire program Func Function1() HotKeySet("^p", "Function2") $flag = 1 while ( $falg == 1) ;; Do whatever you want in here ;; ;; I Want that Function2 will somehow send 'break' or cause the lop to end - or even the function to return with some status ;; 'exit' is not good - it terminate the entrire program. Wend HotKeySet("^p", "") EndFunc Func Function2() ???? EndFunc
  6. Hi I have gui aplication in Autoit I want to ahve hotkey which will used to stop the operation. Let say I'm useing inside Function 'func1' ,hotKeySet("^P","Func2") what I need to do in Func2 to cause Func1 return or break. ( exit I can by exit) thanks
  7. thanks, works great
  8. Hi In my autoit script - i push button - then it activate some operation. I need to have indication on when the operation ends . the button that activate this - is grays out when i press it - and grays in when it over . How can i tell this Control properties so I can determine if the operation is compelte ? Just to make clear - this control is not 'autiit control' so GUICtrlGetState does not work Thanks
×
×
  • Create New...