• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to Set Text to Include Quotes (") ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Set Text to Include Quotes (") ?


  • Subject: Re: How to Set Text to Include Quotes (") ?
  • From: cassj <email@hidden>
  • Date: Sat, 18 Jan 2003 18:09:25 -0500

Johnny-

This is probably a better approach. Set a variable called "quote" to
the quotemark and use it when you need it.


tell application "Finder"
activate
set quote to "\""
set myquotedtext to "this is my text"
set mytext to quote & myquotedtext & quote
display dialog mytext
end tell


Regards,
Cassj


On Saturday, January 18, 2003, at 05:47 PM, Johnny AppleScript wrote:

> Greetings,
>
> I apologize if this is a TFAQ or RTFM question, but search the archive
> as I
> may, I can't find a query that returns the desired result.
>
> Could someone please remind me how to set quotes (") as text items?
>
> E.G.: Set myText to ""this is my text""
>
> With the result being: "this is my text"
>
> TIA
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/applescript-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How to Set Text to Include Quotes (") ?
      • From: Rob Jorgensen <email@hidden>
References: 
 >How to Set Text to Include Quotes (") ? (From: "Johnny AppleScript" <email@hidden>)

  • Prev by Date: Re: How to Set Text to Include Quotes (") ?
  • Next by Date: Re: How to Set Text to Include Quotes (") ?
  • Previous by thread: Re: How to Set Text to Include Quotes (") ?
  • Next by thread: Re: How to Set Text to Include Quotes (") ?
  • Index(es):
    • Date
    • Thread