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

Re: Bug? was Re: add finder item to iTunes


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

On Aug 18, 2008, at 2:01 PM, Joe wrote:

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.


If I hard code the file path, I get the same error that you get, but if I use choose file, I do not get any error.

Also if I use
open alias ((path to desktop as text) & "Joplin_Maple_Leaf_Rag.mp3")
I also get the same error.

And as with you, in the latter two situations, if I omit "alias", I don't get the error.

-- Michelle

--
Please contribute to the Leukemia and Lymphoma Society, and help me meet my fund raising goal for my marathon training.
<http://www.active.com/donate/tntdms/tntdmsMSteine>





_______________________________________________ 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: Luther Fuller <email@hidden>
References: 
 >add finder item to iTunes (From: "Rick Schmidt" <email@hidden>)
 >Re: add finder item to iTunes (From: Michelle Steiner <email@hidden>)
 >Bug? was Re: add finder item to iTunes (From: Joe <email@hidden>)

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