Safari "do javascript" busted?
Safari "do javascript" busted?
- Subject: Safari "do javascript" busted?
- From: Richard Brosnahan <email@hidden>
- Date: Mon, 18 Apr 2005 17:31:32 -0400
I have a script embedded in an AppleScript Studio app that has been
working properly for quite awhile. I updated my OS to 10.3.9, and now
my calls to Safari using the do javaScript command fail to return any
values. Executing these same javascripts within the browser work just
fine. One in particular is just dirt simple, yet does not work any
more.
tell application "Safari"
set pTheStory to do JavaScript "getSelection();" in document 1
end tell
fails to set pTheStory to any value whatsoever.
Can anyone provide some advice?
TIA
--
Richard Brosnahan
Editor in Chief
Broz News
http://broznews.org
I love the man who can smile in trouble, who can gather strength from
distress, and grow brave by reflection.
Thomas Paine, statesman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden