I need a little help.
I'm totally novice and i don't want for now to learn this language. I'm trying to create a simple script.
Code: Select all
SendMode Event
XButton1::
loop
{
send, 1
sleep 1600
send, 2
sleep 2100
send, 3
sleep 1900
send, {space}
send, {space}
send, {space}
send, z
}
return
XButton2::
loop
{
send, 5
sleep 100000
}
return
^XButton2::
loop
{
send, 6
sleep 19000
send, 7
sleep 1243000
}
return
For now i have something like this.
The first problem is with sleep. When i give 100sec (100000ms) it's working. Above this, it's not.
The second problem is that i want to use one button for 2 actions (XButton2 and ^XButton2 as XButton) and i don't know why. The complicated scripts i can't read.
If someone could write something for me, i would be thank.