Jump to content
Sign in to follow this  
AdemSezgin

Why Hotkeyset run not with multiple key?

Recommended Posts

AdemSezgin

Hi Autoit members, i have problem with autoit hotkeyset

run function if i click A and B keys  --- i want this

 

HotKeySet("AB","_run")   , not working

HotKeySet("A+B","_run")   , not working

HotKeySet("{AB}","_run")   , not working

HotKeySet("{A}{B}","_run")   , not working

 

can you help me please?

i m sorry for my bad english

Share this post


Link to post
Share on other sites
JohnOne

Because it's HotkeySet, not HotkeysSet. That means 1 key besides modifiers like shift, ctrl, alt etc....

There ways to code what you want, like checking if the "b" is pressed in _run function first.

Also a HotStrings UDF in example scripts.

Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites
AdemSezgin

Because it's HotkeySet, not HotkeysSet. That means 1 key besides modifiers like shift, ctrl, alt etc....

There ways to code what you want, like checking if the "b" is pressed in _run function first.

Also a HotStrings UDF in example scripts.

i want this;

my function write "AUTOIT", if i write "AU"  ;example

Edited by AdemSezgin

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  

×