Jump to content
Sign in to follow this  
program builder

can anyone help

Recommended Posts

program builder

I want to set a ctrl+shift+f11+f6+f3 hotkey funtion. Could someone please help?

Share this post


Link to post
Share on other sites
program builder

I do not think that it is supported with HotKeySet(), so look into _IsPressed

I did a ctrl+shift+f11 hotkeyset

Share this post


Link to post
Share on other sites
program builder

Is not possible

But This is:

What if I set a ctrl+shift+f11 hotkey and all it did was restart the program. then on the rest off the code typed the rest of the hotkey and told it to do the function, that I wanted it to do. Then I pressed it all together as one hotkey would it work?

Share this post


Link to post
Share on other sites
sandman

Why not try out _IsPressed before spending more time on that?

If _IsPressed("11") And _IsPressed("10") And _IsPressed("7A") And _IsPressed("75") And _IsPressed("72") Then
    ;
EndIf

[center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center]

Share this post


Link to post
Share on other sites
DW1

ctrl+shift+f11+f6+f3: (in this case it will just exit)

#include <Misc.au3>
While 1
    If _IsPressed( "A0" ) = 1 and _IsPressed( "A2" ) = 1 and _IsPressed( "72" ) = 1 and _IsPressed( "75" ) = 1 and _IsPressed( "7A" ) Then Exit
WEnd

EDIT: LOL, posted a minute too late... DAMN

Edited by danwilli

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.