Re: insert a literal quote
Re: insert a literal quote
- Subject: Re: insert a literal quote
- From: Matthew Smith <email@hidden>
- Date: Tue, 02 Jul 2002 00:38:53 +1000
on 02/07/2002 00:32, Kerry V. Magruder at email@hidden wrote:
>
I'm trying to create a web page with an applescript and don't know how
>
to get the applescript to concatenate a text string containing a quote.
>
For example, in the following line I receive an error message saying
>
that the variable quote is not defined:
>
>
set fileInfox to (((wrapper1 as string) & "View image only:" &
>
(wrapper2 as string) & ("<a href=" & quote &
>
"../images/%FILENAME%.jpg" & quote & " target=" & quote & "_parent" &
>
quote & ">" as string) & ("%FILENAME%" as string) & "</a>" & wrapper3 as
>
string) & return) as string
You can include a quote symbol in a sting by escaping it with a backslash.
eg.
set x to "<a href=\"
http://www.apple.com\">"
--
Matthew Smith
_______________________________________________
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.