Jump to content

Sending a Double Quote with Send()


Go to solution Solved by TurboDragon,

Recommended Posts

Posted

Sorry if this is too basic and if I missed this in the Help file, but how do I use Send() to Send a double quote?

Send("{"}") doesn't work

Send(""") doesn't work

etc.

How do I escape the double-quote?

Many thanks!

  • Moderators
Posted

TurboDragon,

Welcome to the AutoIt forum. :)

Either double the doublequote ("""") or enclose it in single quotes ('"'). ;)

Send("""")

Send('"')
M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted (edited)

or chr(34)

  Quote

If you wish to send the ASCII value A four times, then try
    $x = Chr(65)
    Send("{" & $x & " 4}")

helpfile ....

Edit: should be the best solution, since he wants to send only one doublequote

Edited by Edano

[color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font]

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
  • Recently Browsing   0 members

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