View Single Post
Bringing back a thread I didn't find an answer for.

I'm trying out DEVONthink, and am attempting to modify the script that stores a web page in the database.

The Safari script uses:
set this_url to the url of document 1
The dictionary of OmniWeb doesn't appear use the same terms. From what I understand (probably don't) OmniWeb would use something like:
set this_url to the address of browser
or
set this_url to the address of tab
Neither work, and not being very versed in AppleScript, I'm now stumped on how to extract the URL being displayed in OmniWeb and getting it into a variable.

Anyone have a working script?