The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > Developer > AppleScripting Omni Apps
FAQ Members List Calendar Today's Posts

 
Get URL and Title in OmniWeb Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
I'm trying to reproduce this:
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
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.
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Clipping Title ckennedy OmniFocus 1 for Mac 0 2011-08-24 08:15 AM
RSS title in collections hardcoreUFO OmniWeb Bug Reports 2 2009-04-20 09:23 AM
Title of Clippings iBsteve OmniFocus 1 for Mac 4 2007-12-17 05:56 PM
Extracting title and URL Doug Pinkerton OmniWeb General 2 2007-09-17 03:36 PM
Window title always says "OmniWeb" madler OmniWeb Bug Reports 5 2006-06-24 07:00 PM


All times are GMT -8. The time now is 12:16 PM.


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