| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| I'm having a little problem. The following is a snippet I;m using to develop a method for getting certain data from itunes, and then adding that data, and other data, to a record, which will be incorporated into a list. I'm basing this mostly on the descriptions and samples in "AppleScript:The Definitive Guide" (panther edition), if that's helpful. anyway, I'm getting a "NSInternalScriptError" as my result. any clues? here's the code: global sched, name, length tell application "iTunes" get the name of every playlist as list set TheList to the result as list choose from list TheList set MyName to the result as text set MyDate to (current date) as string set RunTIme to "22:00:30" my MySillyTest(MyDate, MyName, RunTIme) end tell on MySillyTest(MyDate, MyName, RunTIme) set {sched:sched, name:name, length:length} to {sched:MyDate, name:MyName, length:RunTIme} end MySillyTest MyDate & RunTIme are placeholders for values to by aquired by as-yet to be developed means. The value we're really concerned with here is MyName. I've tried using as string and as text or just the plain result, and nothing works. Suggestions? Joshua |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-studio mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-studio/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.