• 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: problem with list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with list


  • Subject: Re: problem with list
  • From: "Nigel Garvey" <email@hidden>
  • Date: Fri, 19 Nov 2010 19:30:12 +0000

tom wible wrote on Wed, 17 Nov 2010 23:49:27 -0500:

>i have a global list to which i append script objects as needed:
>
>global recList
>...
>on newEtvClass()
>	script etvClass
>...
>	end script --	class etvClass
>	return etvClass
>end newEtvClass
>...
>to etvRecStarted(rUID) -- eyetv triggered
>	write_log("etvRecStarted: ruid=" & rUID)
>	try
>		set rec to newEtvClass()
>		-- rec info filled in
>		--set end of recList to rec
>		copy rec to end of recList

I should revert to using 'set' rather than 'copy' with script objects!

NG

 _______________________________________________
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: Finder scripting bugs
  • Next by Date: Re: AppleScript-Users Digest, Vol 7, Issue 570
  • Previous by thread: Re: problem with list
  • Next by thread: say command
  • Index(es):
    • Date
    • Thread