MCL Posted September 19, 2021 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.
Nine Posted September 19, 2021 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) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
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