Quote:
Originally Posted by Toadling
How would you trigger Quick Look on attachments displayed only as a hyperlink without an icon? Or do you not use Quick Look?
-Dennis
|
Ironically I never thought of using them for quick look. I was think of a preference option, display as Icon or hyperlink.
For those wanting something close to a hyperlink option with the help of iNik I coupled together these two scripts that you can put in automator. That way you can right click on the file and get the URL of it.
The first one just pastes the URL into the clipboard and then you can paste into the note. The second brings up the quick entry window and puts it into the note for you.
Code:
on run {input, parameters}
tell application "Finder" to set the clipboard to (URL of (selection as alias) as string)
get (the clipboard)
return input
end run
Code:
on run {input, parameters}
tell application "OmniFocus" to tell quick entry of default document
set xTask to ""
activate
tell application "Finder"
set xFileURL to (URL of (selection as alias) as string)
set xFileName to (name of (selection as alias) as string)
end tell
make new inbox task with properties {name:xFileName}
set xTask to result
tell note of xTask
make new paragraph at end of paragraphs with data " " & (xFileName) & ": " & (xFileURL)
end tell
end tell
return input
end run
While these won't open the file they will at least bring you to them, then you can open them or quicklook them.
George