it works fine
and its written really simple and system friendly
greatness many thx )))
Search found 5 matches
- 20 Oct 2017, 11:12
- Forum: Ask for Help (v1)
- Topic: little if problem
- Replies: 6
- Views: 1048
- 20 Oct 2017, 09:44
- Forum: Ask for Help (v1)
- Topic: little if problem
- Replies: 6
- Views: 1048
Re: little if problem
thx for you answear hmm... wait=0 between that the mouse should have an alternative clickoption after 12 sec it switched back : wait=1 (first clicloption) in the time room between wait0-1 is the mousebutton input blocked ? till this script part ended ? for example i can make several clicks or presse...
- 20 Oct 2017, 03:06
- Forum: Ask for Help (v1)
- Topic: little if problem
- Replies: 6
- Views: 1048
little if problem
wait=0
LButton::
if(wait=0)
{
wait=1
SendInput,x
sleep,12000
wait=0
}
else
{
SendInput,y
}
return
why gives the mousebutton only a x and not a y by state "if wait=1" or else...
plse help
LButton::
if(wait=0)
{
wait=1
SendInput,x
sleep,12000
wait=0
}
else
{
SendInput,y
}
return
why gives the mousebutton only a x and not a y by state "if wait=1" or else...
plse help
- 19 Oct 2017, 07:32
- Forum: Ask for Help (v1)
- Topic: if condition and a loop changing a variable problem
- Replies: 1
- Views: 386
Re: if condition and a loop changing a variable problem
code without comments #NoEnv SendMode Input global Toggle = 0 global wait=0 $RButton:: If (Toggle := !Toggle) Send {RButton Down} Else Send {RButton up} Return LButton:: If (Toggle=1 && wait=0) { global wait=1 SendInput,2 time := A_Now time += 12, Seconds loop { ;sleep,1000 if (A_Now = time) { globa...
- 19 Oct 2017, 07:25
- Forum: Ask for Help (v1)
- Topic: if condition and a loop changing a variable problem
- Replies: 1
- Views: 386
if condition and a loop changing a variable problem
Hello, this is my first post, i am stucking in programming. english is not my native language, dont be so strict with me :) An if condition dont realize an variable value.. i dont know why i tried to programmed a automatisation for a rpg online game, by right clicking you get a free camera mode -> s...