AutoHotkey Community

It is currently May 26th, 2012, 11:57 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: problem with functions
PostPosted: September 30th, 2009, 2:18 pm 
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)



Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 30th, 2009, 2:21 pm 
try:
Code:
Move("Up", 1000)
Move("Left", 2500)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 30th, 2009, 3:02 pm 
thx ;)


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: [VxE], BrandonHotkey, hyper_, Leef_me, Pulover, RaptorX, rbrtryn, XstatyK and 16 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group