Gecko (Moz/NS) Script Issues
Gecko (Moz/NS) Script Issues
- Subject: Gecko (Moz/NS) Script Issues
- From: Gary Lists <email@hidden>
- Date: Mon, 13 Jan 2003 18:55:13 -0500
If anyone has scripted Gecko [Mozilla (1.1, 1.2) or NS (6.1,6.2,7)], I can
not get the items marked NO to function. I didn't find 'bug reports' for
these items anywhere (nor have I found many Mozilla/NS scripts around).
set theWin to window 1
bounds of theWin -- ok
closeable of theWin -- ok
titled of theWin -- ok
index of theWin -- ok
floating of theWin -- ok
modal of theWin -- ok
resizable of theWin -- ok
zoomable of theWin -- ok
zoomed of theWin -- ok
name of theWin -- ok
visible of theWin -- ok
-- position of theWin -- NO
URL of theWin -- ok
-- unique ID of theWin -- NO
-- busy of theWin -- NO
And the 'do javascript' doesn't seem to function at all.
With IE, for example, if I run this AS:
set y to do script "document.title"
y does, indeed, hold the document's title.
When I make a simple HTML file, using 'document.title', Moz/NS gets it
right. It can handle "document.write(document.title)" just fine.
When I run the AS:
set y to do javascript "document.title"
then I get an error:
"document.title" doesn't understand the Do Javascript message.
Am I sending the script text in an improper way with the Do JavaScript
command? (Using 'with' doesn't compile; putting the script in a var doesn't
help.)
Are you able to get the position, unique ID or busy status of a window in
Moz/NS?
--
Gary
Incoming replies are auto-deleted.
Please post directly to the list or newsgroup.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.