Code: Select all
#NoEnv
Process, Priority, , H
SetBatchLines, -1
ListLines Off
#KeyHistory 0
SendMode Input
SetTitleMatchMode 2
SetTitleMatchMode Fast
SetKeyDelay, -1, -1, Play
SetMouseDelay, -1
SetWinDelay, 0
SetControlDelay, 0
SetDefaultMouseSpeed, 0
Code: Select all
while GetKeyState("X", "P"){
Clipboard:="HELLO WORLD!"
send, {enter}^v{enter}
;Sleep, 1 (? What is the minimum value before get a bug ?
}
Code: Select all
while GetKeyState("X", "P"){
Clipboard:="HELLO WORLD!"
send, ^v{enter}
;Sleep, 1 (? What is the minimum value before get a bug ?
}