Jump to content

HotKeySet and up/down modifiers?


Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...