I'm trying to reproduce this:
In OmniWeb. I've opened OmniWeb in AppleScript, but I'm too much of a novice to puzzle it out. I found "GetWindowInfo," but haven't figured out how to assign the proper values to the "thisPage" and "thisTitle" variables.
This is the first half of an AppleScript by Scott Haneda at osxhelp.com for quickly sending off an email with URL and Title, but I want a version for OmniWeb since I'm moving back to OmniWeb full time.
Code:
tell application "Safari" set thisPage to do JavaScript "document.URL" in document 1 set thisTitle to do JavaScript "document.title" in document 1 end tell
This is the first half of an AppleScript by Scott Haneda at osxhelp.com for quickly sending off an email with URL and Title, but I want a version for OmniWeb since I'm moving back to OmniWeb full time.