AutoHotkey Community

It is currently May 23rd, 2012, 3:54 pm

All times are UTC [ DST ]


Search found 14 matches
Search these results:

Author Message

 Forum: Support   Topic: Help with Com

 Post subject: Help with Com
Posted: June 23rd, 2011, 7:12 pm 

Replies: 0
Views: 268


Had no responses to the problem below to date. Is ther no one with any advice and how to overcome this problem? Suddenly everything I try and do with Com either returns nothing or errors for example pwb := ComObjCreate("InternetExplorer.Application") pwb.Navigate("http://w...

 Forum: Support   Topic: problem with Com Calls

 Post subject: problem with Com Calls
Posted: June 23rd, 2011, 11:56 am 

Replies: 0
Views: 162


Why does the following sometimes work and report details of the object under the cursor, yet at other times in the same seesion against the same IE scfren and object report nothing. No errors are reported and if I use a debug script to follow what is happening it appears that problems stat after COM...

 Forum: Support   Topic: Calling COM objects using a string

 Post subject: Solved
Posted: June 17th, 2011, 3:20 pm 

Replies: 7
Views: 185


Thanks - your suggestion works and gives me the dynamic construction of the object call I was looking for.

 Forum: Support   Topic: Problems with pWin.document.all.tags["Table"].leng

 Post subject: Solved
Posted: June 17th, 2011, 3:00 pm 

Replies: 4
Views: 177


Thanks - simple when you spot it.

I used () instead of [] brackets

 Forum: Support   Topic: Calling COM objects using a string

Posted: June 17th, 2011, 2:49 pm 

Replies: 7
Views: 185


It does make sense. What I was trying to avoid was having to code something like the following: If a>0 and b>0 ; get number of cells in row msgbox % n := pwb.document.getElementsByTagName("Table").item[a].rows[b].cells.length else if a>a ; get number of rows in table msgbox % n := ...

 Forum: Support   Topic: Calling COM objects using a string

Posted: June 17th, 2011, 9:05 am 

Replies: 7
Views: 185


I want to build up a com object call using something like below [/code] string:="document.getElementsByTagName(""Table"")" (t:=(StrLen(TableRows) ? (".item[" TableRows "].rows" (r:=StrLen(TableRowsCells) ? ("[" TableRowsCells "].cells&...

 Forum: Support   Topic: Problems with pWin.document.all.tags["Table"].leng

Posted: June 17th, 2011, 8:56 am 

Replies: 4
Views: 177


If I use the following in an attempt to access the number of Tables in an HTML page it fails with Error: 0x80004005 - unspecified error when executing the alast line of code. I experience the same error whenever I try to use the pWin.document.all construct with anything following the all pwin := Com...

 Forum: Support   Topic: Error: 0x80070005 - Access Denied When Using COM

Posted: June 5th, 2011, 7:55 pm 

Replies: 9
Views: 245


I am using Vista Ultimate with IE9, and I logged in as an administrator. I have been experimenting with several of the COM examples across various posts and all seem to have problems when ever I try to access the HTML DOM objects. The error message returned from the example previously included in th...

 Forum: Support   Topic: Error: 0x80070005 - Access Denied When Using COM

Posted: June 5th, 2011, 3:31 pm 

Replies: 9
Views: 245


Tried to control a web page as suggested in the Basic Ahk_L COM Tutorial for Webpages but got the access denied error when running following code. Any ideas - note I am logged in as an adminsistrator on the pc. The error occurs on both the lines starting Pwb.Document Pwb := ComObjCreate("In...

 Forum: Offtopic   Topic: Basic Ahk_L COM Tutorial for Webpages

Posted: June 1st, 2011, 7:55 pm 

Replies: 52
Views: 10849


Tried to control a web page as suggested in the post but got the access denied werror when running following code. Any ideas - note I am logged in as an adminsistrator on the pc. The error occurs on both the lines starting Pwb.Document Pwb := ComObjCreate("InternetExplorer.Application"...

 Forum: Support   Topic: Tray Icon Problem

 Post subject: Tray Icon Problem
Posted: September 21st, 2009, 8:15 pm 

Replies: 7
Views: 433


If you use #NoTrayIcon, then this is supposed to hide the icon for the running script in the tray. Why therefore does the following script still show a tray icon #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due t...

 Forum: Support   Topic: How to replace running script in Program Files directory

Posted: September 20th, 2009, 9:26 pm 

Replies: 3
Views: 447


Tried your suggestion, and it still fails to replace file. The original file isn't deleted and the move also doesn;t work as the new file hasn't been moved. Any other ideas?

 Forum: Support   Topic: How to replace running script in Program Files directory

Posted: September 16th, 2009, 7:29 pm 

Replies: 3
Views: 447


I have a compiled script that runs when a user logs on and monitors IE usage. I have tried to make the script detect a new version in some other directory and replace it self using a bat file the script creates as follows ; Check for update oldversion = C:\Program Files\IEMonitor\IEMonitor.exe newve...

 Forum: Scripts   Topic: Day Trader Stock Program

 Post subject: Updated Version
Posted: May 6th, 2009, 5:37 pm 

Replies: 11
Views: 5797


I have modfied the last bit of code so that it retrieves data for all the stocks within the specified market. As originally written, it only obtained the first 50 stocks. ;Getstock script by Zed Gecko Modified by Arthur Williams ;based on a script from NerdyGuy - http://www.autohotkey.com/forum/view...
Sort by:  
Page 1 of 1 [ Search found 14 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group