do script ? [OmniWeb]
The code below used to work (5.6 I think) to get the selection
in the active window. But in the latest sneaky peak it returns nothing ? Does anybody know why this is so ? tell application "OmniWeb" set minTekst to do script "getSelection()" window browser 1 end tell Now this here seems to work, but surely there must be an easier way ... or ? set getSelection to " x=escape(getSelection()); unescape(x); " tell application "OmniWeb" set minTekst to do script getSelection window browser 1 end tell |
All times are GMT -8. The time now is 10:59 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.