Re: What is class furl?
Re: What is class furl?
- Subject: Re: What is class furl?
- From: Paul Skinner <email@hidden>
- Date: Fri, 14 Jan 2011 17:46:29 -0500
On Jan 14, 2011, at 5:34 PM, Stockly, Ed wrote:
>
>>> It's a file URL -- essentially just a different type of file reference.
>
>
>> I don't think I need this line of code any longer, but what did I intend? I
> hope someone recognizes it.
>
>
> We'd have to see the context to know, and I hope you used descriptive
> variable names!
>
> ES
DOH!
FURLs are handy for passing references to other mac users that will reference a local folder or file on their system.
set ptid to AppleScript's text item delimiters
set urls to {}
tell application "Finder"
set s to get the selection
repeat with thisItem in (s as list)
set the end of urls to "<" & the URL of thisItem & ">"
end repeat
set AppleScript's text item delimiters to return
set the urls to the urls as text
set AppleScript's text item delimiters to ptid
set the clipboard to the urls
display dialog "The URLs of the selected files are now on the clipboard."
end tell
_______________________________________________
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