Jump to content

blub

Members
  • Posts

    10
  • Joined

  • Last visited

blub's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. for the beginning you may try this $PID = ProcessExists("notepad.exe") ; Will return the PID or 0 if the process isn't found. If $PID Then ProcessClose($PID) Run("Notepad.exe")oÝ÷ Ø­Ü"VÞrªÝ¶n®z}§â­ìXÊ¢z-z0Âø«{¥*.ç¶b±©[{*.¬ ¡«-zî®Ø^­©Ý¦ëZ¨º·â­ìZk¡Ç¬²v¦z̨ºIèÂ)Úªëk&§vëjZ(¥È^rG¯z¼·°jYb~+liËb½«^u«­¢+Ù¥´ÀÌØíÉÉålÉt((ÀÌØíÉÉålÁtôÅÕ½Ðíi½¹µ±É´ÅÕ½Ðì(ÀÌØíÉÉålÅtôÅÕ½ÐíMåµÑÅÕ½Ðì()=HÀÌØí±µ¹Ð%8ÀÌØíÉÉä(ÀÌØíA%ôAɽÍÍá¥ÍÑÌ ÀÌØí±µ¹Ð¤(%ÀÌØíA%Ñ¡¸AɽÍÍ ±½Í ÀÌØíA%¤)9aP()ÉÕ¸ ÅÕ½Ðí9½ÑÁ¹áÅÕ½Ðì¤ i hadn't checked, if the code works, but i hope it does -blub
  2. thats really interesting. well done
  3. nice i like it
  4. oh thats really nice, i like it
  5. hi how can i make something like this: if the time is changing in $time then a program should be started. and $time is beeing read in an inputbox. i have no clue how to realilze that, i tryed some variantes but they all didnt work i hope u understand what i mean it would be very nice if u help me thx
  6. is there any possibility that a mouseclick can hit the same button in resolution like 800x600 , 1024x768 and 1280x1024?
  7. and if i want to set for every item an own function, or send("hello") or something. how would it look like. and thx for the fast replay
  8. i tryed to see with a msgbox, what is in the combobox selected. but unfortunately there every time arrives "box1". what shall i change that the other ones come, like item1, item2.... #include <GUIConstants.au3> Global $selected GUICreate("TEST1", 400, 400) GUISetState(@SW_SHOW) Opt('GUIOnEventMode', 1) hotkeyset("{ESC}", "terminate") HotKeySet("{f7}", "GO") hotkeyset("{f8}", "selectiontest") $combo1 = GUICtrlCreateCombo("box1", 50, 50, 200, 100, 3) ; create combo box GUICtrlSetData($combo1,"item1||item2|item3|item4|item5" ) ; Set data in Combo Box1 $selected = GuiCtrlRead($combo1) func GO() if $selected = "box1" Then MsgBox(1, " Selection", "box1") EndIf if $selected = "item1" Then msgbox(1, "Selection", "item1") EndIf if $selected = "item2" Then msgbox(1, "Selection", "item2") EndIf if $selected = "item33" then msgbox(1,"selection","item3") EndIf if $selected = "item4" then msgbox(1,"selection","item4") EndIf if $selected = "item5" Then msgbox(1,"selection", "item5") EndIf EndFunc func selectiontest() ;; $selected = ?? MsgBox(1,"What is selected???", $selected ) EndFunc while 1 ;idle sleep(250) WEnd func terminate() ;exit Exit 0 EndFunc
  9. hi, i am trying to get a script running but it doesnt work -.- i want to press hotkey "A" and an action starts like pressing 2 times "A" and "space" in an active window. if u got a bit knowledge it would be nice if u help me THX
×
×
  • Create New...