Sign in to follow this  
Followers 0
stackover

Can set HotKeySet only ctrl+alt ?

2 posts in this topic

I m try to do a HotKey using combination of ctrl+alt .. is that possible ?

I was trying

HotKeySet ("{^!}", "Test")

Thanks

Share this post


Link to post
Share on other sites



Nope, can't use HotKeySet like this (pretty sure it's specifically mentioned in the helpfile), but have a look at IsPressed.

Try something like this:

If _IsPressed('11') And _IsPressed('12') Then
  Test()
EndIf

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  
Followers 0