PDA

View Full Version : AppleScript 'do script' command


Bcpst
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).

ie:

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.

afb
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.

Bcpst
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.