Re: AppleEvent errors
Re: AppleEvent errors
- Subject: Re: AppleEvent errors
- From: has <email@hidden>
- Date: Thu, 7 Jan 2010 10:21:02 +0000
Matt Neuburg wrote:
>> Not sure if this is the correct list but I thought I'd try here first.
This list is for discussing 10.6's new AppleScript-Cocoa bridge. applescript-implementors is the one you want.
>> I'm getting the following errors while using the third party EyeTunes library:
>>
>> Mac OS error -1701 (errAEDescNotFound): errAEDescNotFound
>> Mac OS error -1712 (errAETimeout): the AppleEvent timed out
>
> It isn't (the correct list), but if you are getting timeout errors after sending a flurry of Apple events, you are probably the victim of this bug:
>
> http://db.tidbits.com/article/10643
>
> It still hasn't been fixed. m.
Though there is a workaround for that bug in objc-appscript. Given that the OP is dealing with iTunes, it's quite likely they're throwing lots of events at it (IIRC, EyeTunes is very inefficient at iterating playlist tracks). One option would be to nick the relevant code from appscript and add it to EyeTunes; another would be to use appscript instead of EyeTunes, which'd also let you extract information from all tracks at once so will be faster as well.
As for the -1701 error, that may be a bug in EyeTunes, in which case best to discuss it with them.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden