• 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: Universal Binary - AppleScript utxt problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Universal Binary - AppleScript utxt problem


  • Subject: Re: Universal Binary - AppleScript utxt problem
  • From: Mike Abdullah <email@hidden>
  • Date: Thu, 26 Jan 2006 11:31:36 +0000

If you are after the library playlist, you could just do:

get library playlist 1

Don't know if that helps at all,
Mike.

On 26 Jan 2006, at 09:53, Andrew Farmer wrote:

On 25 Jan 06, at 19:05, Jerry Brace wrote:
I am one step away from making my application Universal. Here is my problem. One of the functions of the app communicates to iTunes via AppleScript to tell it to play a particular playlist.
I have been converting the name of the playlist to AppleScript data to solve any non-Roman character problems when referencing the name in the AppleScript.


For example to play the "Library" playlist in iTunes:

tell application "iTunes"
	play playlist «data utxt004C006900620072006100720079»
end tell

instead of:
tell application "iTunes"
	play playlist "Library"
end tell

Note that the library playlist isn't necessarily called "Library". It's renamable, and may be localized. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Universal Binary - AppleScript utxt problem (From: Jerry Brace <email@hidden>)
 >Re: Universal Binary - AppleScript utxt problem (From: Andrew Farmer <email@hidden>)

  • Prev by Date: Re: I think I have found a big bug in NSBrowser
  • Next by Date: Re: Knowing whether a tablet is connected and switching modes
  • Previous by thread: Re: Universal Binary - AppleScript utxt problem
  • Next by thread: multiple iSight stream same time?
  • Index(es):
    • Date
    • Thread