youtuber Posted February 27, 2020 Posted February 27, 2020 (edited) #RequireAdmin Run(@ComSpec) WinWait("[CLASS:ConsoleWindowClass]") WinActivate("[CLASS:ConsoleWindowClass]") WinWaitActive("[CLASS:ConsoleWindowClass]") Send('FILECMD.CMD "Sample+.exe"{enter}') The plus character is not entered here Edited February 27, 2020 by youtuber
Nine Posted February 27, 2020 Posted February 27, 2020 Try to send it raw : Send('FILECMD.CMD "Sample+.exe"{enter}', 1) As + means shift. Or embed + with {+} youtuber 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
youtuber Posted February 27, 2020 Author Posted February 27, 2020 (edited) @Nine In your example, the enter key does not work. Also this example: Send('FILECMD.CMD "Sample{+}.exe"{enter}') Maybe Sample exe has a lot of Pluses Sample++++++++++.exe Edited February 27, 2020 by youtuber
Nine Posted February 27, 2020 Posted February 27, 2020 5 minutes ago, youtuber said: In your example, the enter key does not work. Yes, you are right my bad. And I do not see your png. Better to embed the plus... youtuber 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
TheXman Posted February 27, 2020 Posted February 27, 2020 When sending "raw" data, the string is sent as-is, without translating any of the special characters (+!^) or keys ({key}). So an alternate solution would be to break up the string into what you want to send as-is (raw) and the sending of keys like {ENTER}. #RequireAdmin Run(@ComSpec) WinWait("[CLASS:ConsoleWindowClass]") WinActivate("[CLASS:ConsoleWindowClass]") WinWaitActive("[CLASS:ConsoleWindowClass]") Send('FILECMD.CMD "Sample+++++.exe"', 1) Send('{enter}') youtuber 1 CryptoNG UDF: Cryptography API: Next Gen jq UDF: Powerful and Flexible JSON Processor | jqPlayground: An Interactive JSON Processor Xml2Json UDF: Transform XML to JSON | HttpApi UDF: HTTP Server API | Roku Remote: Example Script About Me How To Ask Good Questions On Technical And Scientific Forums (Detailed) | How to Ask Good Technical Questions (Brief) "Any fool can know. The point is to understand." -Albert Einstein "If you think you're a big fish, it's probably because you only swim in small ponds." ~TheXman
Nine Posted February 27, 2020 Posted February 27, 2020 Another option : Send('FILECMD.CMD "Sample{+ 5}.exe"{enter}') youtuber 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