Jump to content

Why Hotkeyset run not with multiple key?


Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...