S1NTEZ Posted May 5, 2011 Share Posted May 5, 2011 sorry for my simple english. I have a trouble with sending keystrokes.cannot send keystrokes like Send("#r") or Send("^p")when a run this script (Tools -> Go)it is not working as should. Run.exe not starting.But in editor adds the symbol 'r'if i try run this command Send("^p"), in editor adds the symbol 'p'Can anybody help me? Link to comment Share on other sites More sharing options...
Clark Posted May 5, 2011 Share Posted May 5, 2011 Did you read the help file on Send? It is quite comprehensive and explains exactly what you need to do to send control chars and the like. HTH Link to comment Share on other sites More sharing options...
S1NTEZ Posted May 5, 2011 Author Share Posted May 5, 2011 Did you read the help file on Send? It is quite comprehensive and explains exactly what you need to do to send control chars and the like.HTHyes i readcan you tell me, what am I doing wrong? Link to comment Share on other sites More sharing options...
AlainB Posted May 5, 2011 Share Posted May 5, 2011 (edited) Hi, I can reproduce your error if I put a space between # and r, like Send("# r") or even better if I put only Send("r"). Send("#r") will work normally. Please come back to tell if you find what is the error. Alain Edited May 5, 2011 by AlainB Link to comment Share on other sites More sharing options...
Developers Jos Posted May 5, 2011 Developers Share Posted May 5, 2011 yes i read can you tell me, what am I doing wrong? you read it but didn't understand? Send -------------------------------------------------------------------------------- Sends simulated keystrokes to the active window. Send ( "keys" [, flag] ) Parameters keys The sequence of keys to send. flag [optional] Changes how "keys" is processed: flag = 0 (default), Text contains special characters like + and ! to indicate SHIFT and ALT key-presses. flag = 1, keys are sent raw. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now