AutoHotkey Community

It is currently May 27th, 2012, 11:37 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 83 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
 Post subject:
PostPosted: November 9th, 2009, 6:35 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5482
Location: the tunnel(?=light)
Yeah when I try using GetDocument instead I get these errors all the way down the dotted path:

Error Warning wrote:
Function Name: "document"
ERROR: Unknown name.
(0x80020006)
Will Continue?

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 9th, 2009, 6:35 pm 
Offline

Joined: March 6th, 2008, 11:54 pm
Posts: 167
When I try IE with no add-ons just now I got error message with function "all" saying that the "RPC server is unavailable. (0x800706BA).

@tank,
which DOM viewer should be using?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 9th, 2009, 6:43 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5482
Location: the tunnel(?=light)
Here's all the page data I can find on first load that fails to execute:

Code:
Dom accessable objects for document.all collection
Element type (FRAMESET)
Index (frmMaster)
<FRAME name=frmContent marginWidth=2 marginHeight=1 src="<< redacted path >>.jsp" scrolling=no><FRAME border=0 name=frmHidden marginWidth=0 marginHeight=0 src="<< redacted path >>.jsp" frameBorder=no noResize scrolling=no>


Code:
Dom accessable objects for document.all collection
Element type (FRAME)
Index (frmContent)

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 13th, 2009, 5:58 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5482
Location: the tunnel(?=light)
Just thought I would bump this for Flight4birds as a possible solution to his problem has been found.

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 17th, 2009, 1:39 am 
Offline

Joined: March 6th, 2008, 11:54 pm
Posts: 167
Holy cow! Sinkfaze, thank you so much! It worked!

Using the link that you sent, Tank wrote the code that worked on my website. Here's that link.http://www.autohotkey.com/forum/viewtopic.php?t=50993

Here's what my final code ended up being (the code that worked)

Code:
#Include C:\Program Files\AutoHotkey\LIB\COM.ahk
COM_Init()
F1::
{
pwb:=iWeb_getwin("External Launch")
com_invoke(pwb,"document.all[8].contentwindow.document.all[15].contentwindow.document.all[save].click")
}
return


the frame discussion and solution was a big breakthrough. I also think I was using the wrong window title. While tank's webBrowser2 Lerner (download here--http://www.autohotkey.net/~tank/ahk%20web%20recorder.zip ) showed me the frames, I think because it was an external launch from the parent web page it wasn't giving me the correct title. I used Firefox's add-on Firebug to inspect the html to find the parent title.

Many thanks to Tank, Jethrow, and Sinkfaze for finding me the solution.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 17th, 2009, 4:39 am 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
I corrected the title thing re download it now

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 19th, 2009, 7:18 am 
Offline

Joined: March 6th, 2008, 11:54 pm
Posts: 167
Downloaded your new iWebLerner2 "AHK Web Recorder". I dig it! :lol: thanks tank.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 19th, 2009, 2:19 pm 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
welcome many more improvements in the works

Thanks to Sinkfaze and Jethrow for diving in where i left off

Thanks to Sean for the guts of it

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 83 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC [ DST ]


Who is online

Users browsing this forum: bowen666, Yahoo [Bot] and 17 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group