Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to press any key to start script...
#1
i have a macro use auto hotkey
Quote:ins:: (press Int srat script)
IfWinActive, Notepad
{
SendInput,4 (send 4 key)
sleep, 1
if GetKeyState("Shift", "P") ; Looks to see if Shift is pressed
break ; exits Loop
}

Now I want to write a script use qiick macros,but did not know what to do
Quote:int w1=act(win("Untitled - Notepad" "Notepad"))
rep ;; Inserrep
spe 1
key 4
opt slowkeys 1
opt keysync 1
ifk(S) ;; Shift
break
this script not press int key to start,after break can not run again (press int to re rep).........................TY.


Forum Jump:


Users browsing this thread: 1 Guest(s)