• 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: File URL to Alias?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File URL to Alias?


  • Subject: Re: File URL to Alias?
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 25 Feb 2014 10:39:20 +1100

On 25 Feb 2014, at 10:34 am, Christopher Stone  wrote:

t's got a little glitch though:

"///Users/chris/Documents/Scripts (Library)/Perl from Applescript/Perl Run Directly Using Strings <<< 'script text'.scpt"

I fixed it thus:

return (thePath's substringFromIndex:(theStart + 2)) as text

But I suspect there's a slicker way to do it.

No, that's the fix, thanks.

-- 
Shane Stanley <email@hidden>
<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

References: 
 >File URL to Alias? (From: Christopher Stone <email@hidden>)
 >Re: File URL to Alias? (From: "koenig.yvan" <email@hidden>)
 >Re: File URL to Alias? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: File URL to Alias?
  • Next by Date: Re: How can I delete every empty row of an Excel document?
  • Previous by thread: Re: File URL to Alias?
  • Next by thread: Re: File URL to Alias?
  • Index(es):
    • Date
    • Thread