 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Sat Mar 20, 2010 2:10 pm Post subject: How to seperate script points |
|
|
Hello
I wrote this script:
| Code: | N::
Click 920,375
A::
Send ^v
count = 1
M::
If (count = 1) {
Run C:\Program Files\Mozilla Firefox\firefox.exe "http://muenchen.pennergame.de/"
Sleep 4000
click 1181,356
Sleep 200
Sendinput {Tab}
Sleep 200
Sendinput {Tab}
Sleep 200
Sendinput {Tab}
Clipboard = Username
Send ^v
Sleep 100
Sendinput {Tab}
Clipboard = Password
Send ^v
Sleep 400
Sendinput {Enter}
Sleep 2000
Click 393,246
}
Else if (count = 2) {
Run C:\Program Files\Mozilla Firefox\firefox.exe "http://muenchen.pennergame.de/"
Sleep 4000
click 1181,356
Sleep 200
Sendinput {Tab}
Sleep 200
Sendinput {Tab}
Sleep 200
Sendinput {Tab}
Clipboard = Username
Send ^v
Sleep 100
Sendinput {Tab}
Clipboard = Password
Send ^v
Sleep 400
Sendinput {Enter}
Sleep 2000
Click 393,246
}
If ( count = 3 ) {
Run, http://google.de
count = 1
}
Else Count++
Return |
The problem is, that when i press A , it starts from the point
| Code: | count = 1
M::
......
|
But i dont want that.
I want that it does Send ^v when i press A.
So how can i seperate this scripting points ?
Where should i add something ?
Thank you guys |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|