View Full Version : AppleScript 'do script' command

2006-05-06, 08:06 AM
The applescript command 'do script' is still in OmniWeb's Script Definition File but is not implemented (interface OWRunScriptStringCommand does not exist).


tell application "OmniWeb"
set myWin to window 1
do script "alert('do script works !')" window myWin
end tell

The previous script can be "compiled" but returns an error.

2006-05-06, 03:11 PM
This sounds more like a bug report than a feature request. Did this work in 5.1.3?

Other issues with applescript in the sneaky peeks have been mentioned here.

2006-05-06, 11:08 PM
As the function has not been implemented (there is no Objective-C code that corresponds to this command), I though it was a feature request.