• 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: What is class furl?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: What is class furl? (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: What is class furl?
  • Next by Date: Re: What is class furl?
  • Previous by thread: Re: What is class furl?
  • Next by thread: Script Modification
  • Index(es):
    • Date
    • Thread