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 > OmniWeb > OmniWeb General
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
convert safari applescript to omniweb Thread Tools Search this Thread Display Modes
I have the following javascript. How do I accomplish the same thing in OmniWeb?

Code:
tell application "Safari"
	set myURL to URL of document 1
	set myTitle to do JavaScript "document.title" in document 1
	set mySelection to do JavaScript "window.getSelection() + ''" in document 1
end tell
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Safari Problems and OmniWeb sportsman0811 OmniWeb General 0 2011-08-02 06:59 AM
Omniweb vs Safari: H.264 playback webswim OmniWeb General 1 2010-03-10 04:02 AM
Differences OmniWeb,Safari, Webkits.. Mika33 OmniWeb General 5 2010-02-28 10:18 PM
An Applescript to convert a note to a child row… Cornelius OmniOutliner 3 for Mac 4 2009-01-28 09:27 AM
Count me in as the latest OmniWeb convert George in Cincinnati OmniWeb General 6 2008-11-23 05:52 PM


All times are GMT -8. The time now is 10:32 AM.


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