Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > AppleScript and Internet Explorer BUG

AppleScript and Internet Explorer BUG
Thread Tools
Forum Regular
Join Date: Mar 2001
Location: Menlo Park
Status: Offline
Reply With Quote
Dec 17, 2001, 03:45 AM
 
Can someone try out the "getsource" event in OS X IE?

Get a runtime error "parameter error".

Thanks!
>>Johnny
     
Forum Regular
Join Date: Mar 2001
Location: Menlo Park
Status: Offline
Reply With Quote
Dec 17, 2001, 11:12 AM
 
Originally posted by johnnylundy:
<STRONG>Can someone try out the "getsource" event in OS X IE?

Get a runtime error "parameter error".

Thanks!</STRONG>
<font face = "courier"> getsource is supposed to return a string of the html source of the current window. </font>
&gt;&gt;Johnny
     
Senior User
Join Date: Nov 2001
Location: State of Denial
Status: Offline
Reply With Quote
Dec 17, 2001, 02:15 PM
 
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>tell application <font color = red>"Internet Explorer"</font>
set foo to GetSource
end tell
display dialog foo</font>[/code]

This works fine for me....
[Wevah setPostCount:[Wevah postCount] + 1];
     
Forum Regular
Join Date: Mar 2001
Location: Menlo Park
Status: Offline
Reply With Quote
Dec 17, 2001, 03:47 PM
 
Originally posted by Wevah:
<STRONG>&lt;BLOCKQUOTE&gt;&lt;font size="1"face="Geneva, Verdana, Arial"&gt;code:&lt;/font&gt;&lt;HR&gt;&lt;pre&gt;& amp;lt;font size=1 face=courier&gt;tell application &lt;font color = red&gt;"Internet Explorer"&lt;/font&gt;
set foo to GetSource
end tell
display dialog foo&lt;/font&gt;&lt;/pre&gt;&lt;HR&gt;&lt;/BLOCKQUOTE&gt;

This works fine for me....</STRONG>

Roger that - pasted it in and it works. Now to see how I torqued up my code....

THANKS
&gt;&gt;Johnny
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:06 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2