Sign in to follow this  
Followers 0
Guest Lotus2

Noob needs simple script ;)

4 posts in this topic

well ive tried making this myself.

I was able to make it so another key could do up twice.

but i wasnt able to make the upkey do up twice. what would be the proper way to use this.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

well ive tried making this myself.

I was able to make it so another key could do up twice.

but i wasnt able to make the upkey do up twice. what would be the proper way to use this.

<{POST_SNAPBACK}>

Up Arrow?

Edit: And an oops!

If it is the Up Arrow:

Send("{UP}")
Send("{UP}")

Sorry, I didn't understand your post ... guess I still don't

Edited by ronsrules

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

I think he wants his up key to double every time he presses it.

So if he presses Up, it will send Up,Up.

You'll need to set/unset the hotkey everytime you call it.

Like this:

HotKeySet('{UP}', 'DoubleUp')

Func DoubleUp()
  HotKeySet('{UP}')
  Send('{UP}{UP}')
  HotKeySet('{UP}', 'DoubleUp')
EndFunc

Share this post


Link to post
Share on other sites

Nice,

And that makes more sense now, I read that damn post like 20 times.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0