MCL Posted September 19, 2021 Share Posted September 19, 2021 Hi all, this is my code run_this.au3 compiled to run_this.exe $a = $CmdLine[1] send($a) Then I enter this into my console window run_this.exe 3 It would then send a keystroke of 3, it works, great. However, if I enter this run_this.exe !{o} then it would enter a keystroke of o, instead of ALT+O What went wrong? Thanks all. Link to comment Share on other sites More sharing options...
Nine Posted September 19, 2021 Share Posted September 19, 2021 When using special characters in DOS console, you should embed it into double quotes : Quote run_this.exe "!o" Notice that you should not use brackets {} for a simple o. See help file for proper use of the brackets... Leendert-Jan 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
MCL Posted September 19, 2021 Author Share Posted September 19, 2021 that worked for me! thanks! 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