• 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: On the difficulties of "/"" in Applescript with example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: On the difficulties of "/"" in Applescript with example


  • Subject: Re: On the difficulties of "/"" in Applescript with example
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 18 Oct 2013 11:07:35 +1100

On 18 Oct 2013, at 10:02 AM, Walter Bushell <email@hidden> wrote:

> But here I get from
>
> tell application "Finder" to set x to alias "After Ewe Firewire:Users:Walter:Music:\"ur\"file"
>
> --->error "Finder got an error: Can’t get alias \"After Ewe Firewire:Users:Walter:Music:\\\"ur\\\"file\"." number -1728

What happens if you run this:

set thePath to (choose file) as text -- choose the file in question
tell application "Finder" to set x to alias thePath
log x
log (x as alias)


--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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: On the difficulties of "/"" in Applescript with example
      • From: Walter Bushell <email@hidden>
References: 
 >On the difficulties of "/"" in Applescript with example (From: Walter Bushell <email@hidden>)
 >Re: On the difficulties of "/"" in Applescript with example (From: Shane Stanley <email@hidden>)
 >Re: On the difficulties of "/"" in Applescript with example (From: Walter Bushell <email@hidden>)

  • Prev by Date: Re: On the difficulties of "/"" in Applescript with example
  • Next by Date: Re: On the difficulties of "/"" in Applescript with example
  • Previous by thread: Re: On the difficulties of "/"" in Applescript with example
  • Next by thread: Re: On the difficulties of "/"" in Applescript with example
  • Index(es):
    • Date
    • Thread