I want to make Litestep emulate a keypress when pushing a button on the taskbar. I mean you can tell Litestep to start an executable if you press a certain button. Now I dont want Litestep to execute an .exe-file but to emulate the keyboard combination "CTRL+Alt S". Is this possible?
you can with 3rd party programs.. like Autoit3 (make an .exe, the script would actually be just one line.
Send("{CTRL}{ALT}{s}")
and hook up the button to the .exe you made
Edit: Though you can probably do it with just litestep, I couldn't think of how.
was is ctrl+alt+s? save as? *scratches head*
The bptypein module does stuff like that, IIRC. Although I think it sometimes had a problem with "ALT".
@the golem
CTRL+ALT+S is the combination for stop on my audioplayer wxMusik. I want to adjust the winamp buttons to work with wxMusik and due to wxMusik has global hotkeys for play, pause etc. I thought it might be the easiest way to do this.
@Boreas and Ryuho
thx for your help I will try this
yeah Autoit3 works fine! Is there an option to let it run completely silent? Cause it pops up a window in the taskbar for an instant. Have not found out yet how to hide this.
If you're using xTaskbar, you could just use the *xTaskbarRemove setting.
No I just want this application to run silent. It's a problem that has to be solved in Autoit3 not in Litestep
it pops up a cmd.exe screen for a fraction of a second, right? there is a popen.dll that helps hide those windows. I've no idea how do use it though, but it can be found on ls-universe.info or on blizzle. Don't quote me on it though
Umm.. I'm not really sure what you guys are talking about 'windows poping up from taskbar' but this function might help you in hiding the window... experiment with it...
WinSetState("blah", "", @SW_HIDE)
WinSetState("blah", "", @SW_RESTORE)