Jump to content
Sign in to follow this  
Gammafoo

ControlSend working for "{f6}" but not "!1"

Recommended Posts

Gammafoo

Could there be a reason for this? I assume that since the F6 key is still getting sent to the right window, that maybe theres another format for keys like Alt or Shift when sent through ControlSend?

ControlSend ( "TitleName", "", "", "{F5}" ) <- WORKS

ControlSend ( "TitleName", "", "", "!1" ) <- Sends Alt+1 to active window.

Any ideas?

Share this post


Link to post
Share on other sites
Beege

What kind of control are you trying to send to?

Does this work?

ControlSend ( "TitleName", "", "", "!{ASC 049}" )

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  

×