au3scr Posted August 16, 2008 Share Posted August 16, 2008 (edited) I need to bind hotkey for my program alt +f2 if I use hotkeyset() then script disables sending alt+f2 for other programs so how i can bind alt+ f2 that way i can still use it in other programs?i need that key combination works only ifmy script window is active and if not then i want others programs to able to receive this key combination. and if key combination is pressed then do function. Edited August 16, 2008 by au3scr Link to comment Share on other sites More sharing options...
dbzfanatic Posted August 16, 2008 Share Posted August 16, 2008 Add this to your While loop If _IsPresse(12) = 1 And _IsPressed(71) = 1 And WinGetState($GUI) = 15 Then "Function here" Endif Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted August 16, 2008 Share Posted August 16, 2008 unregister the hotkey when your script isn't active and then register it again when it's active! .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
au3scr Posted August 16, 2008 Author Share Posted August 16, 2008 tnx Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now