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: Rob Jorgensen <email@hidden>
- Date: Sat, 18 Jan 2003 18:22:23 -0500
At 6:09 PM -0500 1/18/03, cassj wrote:
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
Better yet is to take Finder out of the process since it isn't needed
to do any of the stuff above.
set quote to "\""
set myquotedtext to "this is my text"
set mytext to quote & myquotedtext & quote
display dialog mytext
--
Rob Jorgensen
Ohio, USA
_______________________________________________
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.