AutoHotkey Community

It is currently May 26th, 2012, 10:19 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: needs help with random
PostPosted: October 24th, 2009, 3:51 pm 
i want to
press and hold the arrow keys randomly

for a sleep time of 500-1000
alot like this but random
Quote:
Send {UP down}
Sleep 1000
Send {UP up}
Sleep 1000
Send {RIGHT down}
Sleep 1000
Send {RIGHT up}
Sleep 1000
Send {DOWN down}
Sleep 1000
Send {DOWN up}
Sleep 1000
Send {LEFT down}
Sleep 1000
Send {LEFT up}
}


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 24th, 2009, 4:10 pm 
i forgot i want the the arrow keys used in a random order


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 24th, 2009, 4:45 pm 
please someone


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 24th, 2009, 4:58 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5480
Location: the tunnel(?=light)
Did you try looking at the Random and Sort commands to accomplish this?

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 24th, 2009, 5:03 pm 
yes i did

thanks for nothing


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 24th, 2009, 5:09 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5480
Location: the tunnel(?=light)
my name is bob wrote:
thanks for nothing


Likewise. If you don't plan to show people here what you've tried with the Random and Sort commands, don't expect much help. We're here to help you write code, not to write code for you.

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 24th, 2009, 5:09 pm 
Offline

Joined: April 8th, 2009, 8:23 pm
Posts: 3036
Location: Rio de Janeiro - RJ - Brasil
+1

_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"
Image
Antonio França
My stuff: Google Profile


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 24th, 2009, 5:15 pm 
am glad your having fun on your little crusade to teach me a lesson :P


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 24th, 2009, 5:20 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5480
Location: the tunnel(?=light)
Anonymous wrote:
am glad your having fun on your little crusade to teach me a lesson :P


I'm glad you're having fun on your little troll mission, anon. :roll:

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 24th, 2009, 6:18 pm 
Offline

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
If I was a mod/admin, you would be banned.

We teach, we don't do.

think of us as a school. teachers TEACH you. you don't ask your teacher to do your assignment for you.

_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 24th, 2009, 6:27 pm 
check help file with Random and then use sleep %rand%


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: AndyJenk, JSLover, Leef_me, patgenn123, rbrtryn, XstatyK and 70 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:
Powered by phpBB® Forum Software © phpBB Group