• 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
Bug? was Re: add finder item to iTunes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug? was Re: add finder item to iTunes


  • Subject: Bug? was Re: add finder item to iTunes
  • From: Joe <email@hidden>
  • Date: Mon, 18 Aug 2008 14:01:39 -0700

At 1:35 PM -0700 8/18/08, Michelle Steiner wrote:
>set foo to choose file --use file types or file identifiers to limit selection if you wish
>
>tell application "iTunes"
>	activate
>	open foo
>end tell

Michelle, if I  write:

tell application "iTunes"
 open alias "Mac HD:Users:joe:Desktop:04 MySong.mp3"
end tell

the script errors and returns this error message:

iTunes got an error: Can't get alias "Mac HD:Users:joe:Desktop:04 MySong.mp3" of <<script>>.

But, iTunes goes ahead and opens it anyway.

Wait! You just told me you couldn't do that! That makes it somewhat of a bug don't you think?

The construction I posted earlier gets no error.

tell application "iTunes"
 open "Mac HD:Users:joe:Desktop:04 MySong.mp3"
end tell

I only mention this since you used "choose file" which returns an alias.

OSX 7.5.4, G5 Mac. Current iTunes version.

Joe
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Bug? was Re: add finder item to iTunes
      • From: Michelle Steiner <email@hidden>
References: 
 >add finder item to iTunes (From: "Rick Schmidt" <email@hidden>)
 >Re: add finder item to iTunes (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: add finder item to iTunes
  • Next by Date: Re: Bug? was Re: add finder item to iTunes
  • Previous by thread: Re: add finder item to iTunes
  • Next by thread: Re: Bug? was Re: add finder item to iTunes
  • Index(es):
    • Date
    • Thread