Re: Format of strings when using run script -- ok, next step
Re: Format of strings when using run script -- ok, next step
- Subject: Re: Format of strings when using run script -- ok, next step
- From: Jaime Magiera <email@hidden>
- Date: Tue, 20 May 2003 02:56:28 -0400
Ok, I get that part. Now I have to figure out how to save an
Applescript as plain text including \n, \r, etc.
What I'm trying to do is load a text applescript into a database, then
retrieve the text into an applescript application (via SOAP) which then
compiles and saves the transmitted text as separate scripts. Since the
line endings are necessary, I'll need to include the line endings in
the database string. Bummer.
Jaime
On Tuesday, May 20, 2003, at 02:40 AM, Paul Berkowitz wrote:
On 5/19/03 11:03 PM, "Jaime Magiera" <email@hidden> wrote:
set scriptObj to run script "script" & return & "set helloString to
\"Hello
world\"" & return & "display dialog helloString" & return & "end
script"
--or (all one line)
set scriptObj to run script "script\rset helloString to \"Hello
world\"\rdisplay dialog helloString\rend script"
_______________________________________________
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.