Is there an "easy" way to generate the file URL (the
file:///Users/... thing) and get it into my BBEdit document? I
currently drag & drop the document onto a web browser, copy the
resulting file URL from the location field, then paste the file URL
into my document. It would be nice if there were a simpler process,
perhaps a service (I'm still running 10.4) or a magic key
combination while dragging & dropping the file?
If you just mean from the Finder selection, then you could use this
AppleScript:
tell application "Finder"
set s to the selection
set u to URL of (item 1 of s)
set the clipboard to u
end tell
Run the script and then paste the URL.
You could automate it further by using a macro program (Keyboard
Maestro, obviously ;-) and attaching a hot key.
Enjoy
Peter.
--
Keyboard Maestro <http://www.keyboardmaestro.com/> Macros for your Mac
<http://www.stairways.com/> <http://download.stairways.com/>
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>