Sign in to follow this  
Followers 0
Undine

HotKeySet and up/down modifiers?

4 posts in this topic

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



#2 ·  Posted (edited)

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

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  
Followers 0