AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

problem with functions

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Ght
Guest





PostPosted: Wed Sep 30, 2009 1:18 pm    Post subject: problem with functions Reply with quote

hi guys,

theres probably a simple solution, but i cant find why this doesn't work :

Code:

Move(dir, time)
{
   
    Send {%dir% down}
    Sleep %time%
    Send {%dir% up}
    Sleep 5000
}


[...]


Move(Up, 1000)
Move(Left, 2500)

Back to top
Z_Gecko
Guest





PostPosted: Wed Sep 30, 2009 1:21 pm    Post subject: Reply with quote

try:
Code:
Move("Up", 1000)
Move("Left", 2500)
Back to top
Ght
Guest





PostPosted: Wed Sep 30, 2009 2:02 pm    Post subject: Reply with quote

thx Wink
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group