• 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
Google and iTunes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Google and iTunes


  • Subject: Google and iTunes
  • From: Martin Michel <email@hidden>
  • Date: Mon, 22 Apr 2002 01:00:47 +0200

Hi,

just found this website explaining how to use AppleScript and the new APIs from Goggle:

http://radio.weblogs.com/0100012/stories/2002/04/11/applescriptForGoogleApi.
html

Looking at this example it was quite easy for me to write an AppleScript Studio application. You can find it at my website:

http://www.soft-o-mat.tk

Its name is Search-O-Mat.

And: If you want to get the name of the library playlist in iTunes but do not know which system language your customer is using, please use the following code. I got it from a friend:

on run
with timeout of 6000 seconds
-- Do Stuff
set LibraryPlaylist to (my FindMasterLibrary() as string)
-- Do Stuff
end timeout
end run

on FindMasterLibrary()
tell application "iTunes"
activate
set AllPlaylists to name of every playlist
repeat with LibraryPL in AllPlaylists
if the class of playlist LibraryPL is library playlist then return LibraryPL
end repeat
end tell
end FindMasterLibrary


Maybe someone can use this tips.

Greetings,

Martin
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Google and iTunes
      • From: christian vick <email@hidden>
  • Prev by Date: Invoking vi from apple script?
  • Next by Date: Re: Apple: Please deal with basics
  • Previous by thread: Re:Invoking vi from apple script?
  • Next by thread: Re: Google and iTunes
  • Index(es):
    • Date
    • Thread