|
|
10.6: Create a Service to copy a file path URL to the clipboard
Guys, the Finder scripting dictionary has a URL property of every disk item. Here's what the script would look like to get the url of passed items:
set these_URLs to "" tell application "Finder" repeat with i from 1 to the count of input if i is 1 then set these_URLs to the URL of item i of input else set these_URLs to these_URLs & return & the URL of item i of input end if end repeat end tell Edited on Dec 04, '09 12:14:23PM by mr. applescript
10.6: Create a Service to copy a file path URL to the clipboard
The Applscript stopped with an error for me. ---
Eric Ernest Hemingway's writing reminds me of the farting of an old horse. - E.B. White
10.6: Create a Service to copy a file path URL to the clipboard
The script above needs some file reference(s) as input, for example
Works with international characters in file names.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|