MJJKINGISBACK Posted June 18, 2008 Share Posted June 18, 2008 I need to send " to a notepad but how do I do that with controlsend comand I'm trying to send the following line to notepad (including the quotes) with controlsend IF $choice[$x]=" then insert the hex value discovered by the preceding code then send the closing quotes but for obvious reasons controlSend("Untitled","","Edit1","IF $choice[$x]="") is a syntax error How do I do that? Thanks Neil Link to comment Share on other sites More sharing options...
Valuater Posted June 19, 2008 Share Posted June 19, 2008 Run("notepad.exe") WinWaitActive("") controlSend("Untitled","","Edit1",'IF $choice[$x]="') 8) Link to comment Share on other sites More sharing options...
MJJKINGISBACK Posted June 19, 2008 Author Share Posted June 19, 2008 Run("notepad.exe") WinWaitActive("") controlSend("Untitled","","Edit1",'IF $choice[$x]="') 8) Ahhhh The old Apostrophe as quotes routine 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