Re: How to Set Text to Include Quotes (") ?
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.