Jump to content
Sign in to follow this  
Undine

HotKeySet and up/down modifiers?

Recommended Posts

Undine

i would like to run (and repeat) a script while a certain button is pressed down

when the button is released again the script should stop immediately

any ideas how i could do that?

i was thinking about the usual hotkeyset

but it seems to ignore "{1 up}"/"{1 down}"

only "{1}" without the modifiers seems to be accepted

Share this post


Link to post
Share on other sites
99ojo

i would like to run (and repeat) a script while a certain button is pressed down

when the button is released again the script should stop immediately

any ideas how i could do that?

i was thinking about the usual hotkeyset

but it seems to ignore "{1 up}"/"{1 down}"

only "{1}" without the modifiers seems to be accepted

Hi,

have a look at help _IsPressed ()

While _IsPressed (....)
    what you want
Wend

;-))

Stefan

Edited by 99ojo

Share this post


Link to post
Share on other sites
Undine

Hi,

have a look at help _IsPressed ()

While _IsPressed (....)
    what you want
Wend

;-))

Stefan

hehe nice >_<

will check it out after i come back

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.