Sign in to follow this  
Followers 0
MJJKINGISBACK

send quotes with a controlsend

3 posts in this topic

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

Share this post


Link to post
Share on other sites



Run("notepad.exe")
WinWaitActive("")

controlSend("Untitled","","Edit1",'IF $choice[$x]="')

8)

Ahhhh The old Apostrophe as quotes routine

Thanks :P:)

Share this post


Link to post
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
Sign in to follow this  
Followers 0