Jump to content

ConsoleWindowClass command entry problem


youtuber
 Share

Recommended Posts

Link to comment
Share on other sites

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}')

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...