• 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: Creating a script from within a script and running it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a script from within a script and running it


  • Subject: Re: Creating a script from within a script and running it
  • From: Jim Brandt <email@hidden>
  • Date: Tue, 08 Oct 2013 17:27:28 -0500

Thanks Axel.

I originally tried this as a script object with a run handler, then took the script…end script off.

I totally missed the parameters as a list. I was thinking handler parameters in parentheses.
Makes sense now.

Jim

On 8-Oct-2013, at 1:58 PM, Axel Luttgens  wrote:


Hello Jim,

The result is the one returned from the run handler; and, strictly speaking, that handler expects a list as argument.

Here follows a slightly modified version of your script, mainly in an attempt to make the script construction a bit more legible:

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: plist data type 'data'
  • Next by Date: Re: plist data type 'data'
  • Previous by thread: Re: Creating a script from within a script and running it
  • Next by thread: plist data type 'data'
  • Index(es):
    • Date
    • Thread