• 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: Format of strings when using run script -- ok, next step
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Format of strings when using run script -- ok, next step
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Format of strings when using run script (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Format of strings when using run script
  • Next by Date: Re: Run-Only script in OSX 10.2.6
  • Previous by thread: Re: Format of strings when using run script
  • Next by thread: Re: Format of strings when using run script -- ok, next step
  • Index(es):
    • Date
    • Thread