From: has Date: 2007-12-08T01:14:59+09:00 Subject: Re: Identifying a volume as being an iPod On 7 Dec, 03:58, John Joyce wrote: > Thanks has, > some nice tips there!! > I spent some time last weekend reading about and working through some > AppleScript material. > It has tiny moments of wow, and lots and lots of uggggghhh > Feels about as fun as COBOL and should probably be renamed to APPOL. > I'm not a fan of it. Won't argue with those sentiments, but until the Ruby community builds up enough knowledge and experience to stand on its own in this area, it's hard to avoid AppleScript completely. Folks like myself try to do our bit in bringing that knowledge across, but there's a lot to do and more bodies are needed. I'd also suggest reading the appscript documentation , which provides a brief introduction and tutorial to general application scripting principles. I realise it's rather thin and less than brilliantly written (comments, criticisms, and requests and suggestions for improvements would be hugely appreciated, btw) but hopefully it'll be of some help in getting your head around the concepts involved. > Anyway, after digging deep enough, GUI scripting with Applescript > will require the user to enable GUI scripting. I'm still not clear why you believe you have to use GUI Scripting, as opposed to iTunes' own scripting interface, but unless you can say exactly what it is your script needs to do I can't offer any more specific advice on that front. HTH has -- http://appscript.sourceforge.net http://rb-appscript.rubyforge.org