Ingo
October 13th, 2002, 12:55 PM
hi,
so you want to do is if you hit 'p' on the keyboard nothing happen. if you hit 'l' as the next key (or within a certain time) you want to start winamp?
I don't think you can do that with button mode.
To do that you need to setup a command that reacts on 'l' but is disabled by default. A second one, reacting on 'p' is enabled by default and just enables the 'l' command.
The problem is to disable the 'l' command again. You could either start a timer in the 'p' multigroup and disable 'l' once the timer is run down.
Or you could create a command for each key on the keyboard (other than 'p' or 'l') that disables 'l' again. (don't forget to disable 'l' at the end of 'l''s multigroup :wink:
ron: how about a filtered event thing? using regular expressions :wink:
so you want to do is if you hit 'p' on the keyboard nothing happen. if you hit 'l' as the next key (or within a certain time) you want to start winamp?
I don't think you can do that with button mode.
To do that you need to setup a command that reacts on 'l' but is disabled by default. A second one, reacting on 'p' is enabled by default and just enables the 'l' command.
The problem is to disable the 'l' command again. You could either start a timer in the 'p' multigroup and disable 'l' once the timer is run down.
Or you could create a command for each key on the keyboard (other than 'p' or 'l') that disables 'l' again. (don't forget to disable 'l' at the end of 'l''s multigroup :wink:
ron: how about a filtered event thing? using regular expressions :wink: