The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus 1 for Mac (http://forums.omnigroup.com/forumdisplay.php?f=38)
-   -   Suggestion: Hot-link URLs (http://forums.omnigroup.com/showthread.php?t=5867)

iNik 2007-11-27 08:32 AM

Suggestion: Hot-link URLs
 
My company using an online defect tracking system, and I dutifully dump those tasks into OF for easy handling, and put the URL for that task into the Notes field.

While it's admittedly a very small issue, it would be a nice time-saver if those URLs were clickable, thus saving me the need to select the text and then either run a service or copy/paste it into my browser.

keshalyi 2007-11-27 10:27 AM

My URLs are clickable, are yours not? Try opening the notes field and pressing enter, see if it turns into a link?

iNik 2007-11-27 11:11 AM

Nifty, that did it.

Seems that if I use an AppleScript to dump a task into my inbox, the links come in un-clickable, but once I expand the notes via the interface and "enter" out of 'em, they're clickable.

curt.clifton 2007-11-27 04:16 PM

You can create clickable links via AppleScript, it's just a bit more involved. Here's a snippet of code from my (soon to be unnecessary) [URL="http://www.rose-hulman.edu/~clifton/software.html#OF-Mail"]Mail capture script[/URL]. This snippet was based on Omni's clipping code.

[CODE]
tell theTask
set note to return & return
tell note
set theURL to "message://<" & message_id & ">"
set linkText to theURL
insert linkText at before first character
set value of attribute "link" of style of paragraph 1 to theURL
insert message_content at before last character
end tell
end tell
[/CODE]

Tim Wood 2007-11-27 05:53 PM

[QUOTE=iNik;26490]Nifty, that did it.

Seems that if I use an AppleScript to dump a task into my inbox, the links come in un-clickable, but once I expand the notes via the interface and "enter" out of 'em, they're clickable.[/QUOTE]

The link-ification of textual URLs should happen going through the scripting interface, so if you have a case where you have to muck with it in the UI to get it to link-ify, please post a script and/or send it to the feedback address. This should be a one-line fix if I just know where to put the line... =)


All times are GMT -8. The time now is 04:23 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.