The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   Send OmniWeb URL to OmniFocus (http://forums.omnigroup.com/showthread.php?t=4076)

Simon 2007-07-05 04:08 AM

Send OmniWeb URL to OmniFocus
 
Get it [URL="http://homepage.mac.com/s.babayan/filechute/OW_to_OF-script.zip"]here[/URL] whilst it's up (zip file includes instructions), or make a new script from this and put it in "~/Library/Scripts/Applications/OmniWeb":

[CODE]property actionPrefix : "Read this: "

tell application "OmniWeb"
try
if not (exists browser 1) then error "No browser is open."

set this_url to address of browser 1
set this_title to the name of browser 1

tell front document of application "OmniFocus"
make new inbox task with properties {name:(actionPrefix & this_title), note:this_url}
end tell

end try
end tell[/CODE]

I know next to nothing about scripts, so feel free to fix this, or use it at your own risk! It seems to work OK for me so far :D

[U]Note[/U]: I would have liked to make the "name" hyperlink to the URL... does anyone want to share their wisdom?

curt.clifton 2007-07-05 06:51 AM

[QUOTE=Simon]I would have liked to make the "name" hyperlink to the URL... does anyone want to share their wisdom?[/QUOTE]
Links from OF aren't supported yet.


All times are GMT -8. The time now is 01:47 AM.

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