• 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: simple Quictime script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple Quictime script


  • Subject: Re: simple Quictime script
  • From: Stan Cleveland <email@hidden>
  • Date: Wed, 13 Oct 2010 14:43:30 -0700

Hi Jan and Alex,

Even more simply, instead of using "using terms from" or defining your entire script as a script object and referencing it by name, use one of these:
	set something to my subfunction()
	set something to subfunction() of me
	tell me to set something to subfunction()

The "me/my" implicitely references the parent script without needing to define it as a named script object. (I included the capture of a returned value in each example, to show the needed syntax.) All three of these forms are equivalent, so use whichever you prefer.

HTH,
Stan C.

 _______________________________________________
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

  • Follow-Ups:
    • Re: simple Quictime script
      • From: Alex Zavatone <email@hidden>
References: 
 >Re: simple Quictime script (From: "Jan E. Schotsman" <email@hidden>)
 >Re: simple Quictime script (From: Alex Zavatone <email@hidden>)
 >Re: simple Quictime script (From: "Jan E. Schotsman" <email@hidden>)
 >Re: simple Quictime script (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: simple Quictime script
  • Next by Date: Re: simple Quictime script
  • Previous by thread: Re: simple Quictime script
  • Next by thread: Re: simple Quictime script
  • Index(es):
    • Date
    • Thread