• 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: iTunes programming question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: iTunes programming question


  • Subject: RE: iTunes programming question
  • From: Jon Pugh <email@hidden>
  • Date: Tue, 11 Jul 2006 14:45:54 -0700

At 5:30 PM -0400 7/11/06, Philip Lukidis wrote:
>Thanks, I've already found those scripts which Apple released and have started to play around a bit with them. I've used the NSAppleScript class to compile and execute a trimmed Apple supplied script from a cocoa test program.  This script simply gets some basic information for each track in the main iTunes library (~3200), but it nevertheless takes 38 seconds to execute on a dual G5 with 1 GB of RAM.  I'm not sure if sending AE messages would trim this down.  We'll see.

Don't forget, you are compiling this every time.  You'll need to keep the compiled script object in memory and run it over and over instead of compiling it over and over in order to speed up execution.  I don't know what services Cocoa provides, but apparently this is fairly common since some unix geeks seem to think scripts should always be stored as text.

Jon
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >RE: iTunes programming question (From: "Philip Lukidis" <email@hidden>)

  • Prev by Date: Re: clear a menu
  • Next by Date: Re: iTunes programming question
  • Previous by thread: RE: iTunes programming question
  • Next by thread: Re: iTunes programming question
  • Index(es):
    • Date
    • Thread