Now I'm trying to add something to that master script which is the first executable for me. I want to run an elevated command prompt (as Admin) and run the command "powercfg -requests" Nothing is working. I get the error box pointing to the line: "Run Runas, cmd.exe"
Here's what I have
Code: Select all
^+s::
Runas, LogonName, Password
Run Runas, cmd.exe
Send {raw2} powercfg -requests
Send {enter}
Runas
return