-
Posts
38 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
pootie tang's Achievements
Seeker (1/7)
0
Reputation
-
Did you ever find the answer to why this happens. I have seen it intermittently as well. I can run the sample program a couple of times and sometimes it will give the errors you mention. Other times it will work flawlessly. Any help would be appreciated. Thanks.
-
Problem with IEAttach and embedded IE control
pootie tang replied to pootie tang's topic in AutoIt General Help and Support
Thanks Dale. I will give it a shot -
Problem with IEAttach and embedded IE control
pootie tang replied to pootie tang's topic in AutoIt General Help and Support
I figured out a little more about this. It appears that the call for .parentwindow is returning a COM Error which is tied to a "Access Denied." I did find another person who ran into a similar issue (http://www.autoitscript.com/forum/index.php?showtopic=51983&hl=IDispatch) but I couldn't tell if there was any progress made since then to be able to handle this particular case. Thanks in advance for any help that can be provided -
Problem with IEAttach and embedded IE control
pootie tang replied to pootie tang's topic in AutoIt General Help and Support
Thanks for the help. As far as the IE control it has a couple of input fields as well a button to login. If am able to view the source for the object: From the source, it looks like HTML (but I could be wrong). Not sure what you mean "reproducer" Thanks again in advance. Dave CODE <HTML dir='ltr'> <HEAD> <TITLE> S3 Application Login Request </TITLE> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <LINK rel="stylesheet" href="../csslib/styles.css" type="text/css"> <script language="Javascript1.1" src="../jslib/common.js"></SCRIPT> <script language="Javascript1.1" src="../jslib/password.js"></SCRIPT> <script LANGUAGE= "Javascript"> <!-- function validate() { if ( document.login.USER.value.length > 0 && document.login.PASSWORD.value.length > 0 ) { document.login.USER.value = document.login.USER.value.toLowerCase(); document.login.submit(); } else { alert ('Please enter both a username and password! '); } } //--> </SCRIPT> </HEAD> <BODY bgcolor="#FFFFFF" onload="placeFocus()"> <table class="outsidetable" cellspacing="0" cellpadding="0" bgcolor=""#000000" align="center"> <tr><td> <table border="0" cellspacing="0" cellpadding="0" width="740" bgcolor="#FFFFFF"> <tr> <td rowspan="2"><img src="../images/Sdial.gif" alt="" width="100" height="100" border="0"><img src="../images/1x1trans.gif" width="10" height="1" alt="" border="0"></td> <td valign="bottom" height="70" width="127" class="actionHeader"> APPLICATION LOGIN <br> </td> <td valign="bottom" width="350"> Did you know that S3 was designed to protect against identity theft of personal information at Xerox?<br>Learn <a href="java script:makeRemoteLarge('../popup/value.jsp')"> more ... </a> <br> </td> <td rowspan="2" valign="top"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top" align="right"><img src="../images/xsig.gif" alt="The Document Company, Xerox" border="0"></td> </tr> <tr> <td><img src="../images/1x1trans.gif" width="1" height="12" alt="" border="0"></td> </tr> <tr> <td valign="top" align="right"> <form name="language" method="POST" ACTION=""> <select name="language_preference" align="right" onchange="setLanguage()"> <option value="">Language:</option> <option value="en_US"> English</option> <option value="fr_CA">Français</option> <option value="de_DE">Deutsch</option> <option value="pt_BR">Português Brasileiro</option> <option value="pt_PT">Português Portugal</option> <option value="it_IT">Italiano</option> <option value="es_ES">Español</option> <option value="he_IL">עברית</option> <option value="dh_NL">Dutch</option> </select> </form> </td> </tr> </table> </td> <td rowspan="2"><img src="../images/1x1trans.gif" width="21" height="1" alt="" border="0"></td> </tr> <tr> <td class="breadcrumb" valign="middle" colspan="2" height="1" > </td> </tr> </table> <table border="0" cellspacing="0" cellpadding="0" width="740" bgcolor="#FFFFFF"> <tr> <td colspan="4" bgcolor="#000000"><img src="../images/1x1trans.gif" width="1" height="1" alt="" border="0"></td> <tr> <td colspan="4" bgcolor="#67818D"><img src="../images/1x1trans.gif" width="1" height="15" alt="" border="0"></td> </tr> <tr> <td colspan="4" bgcolor="#67818D"> <table border="0" cellspacing="0" cellpadding="1" bgcolor="#67818D"> <tr> <td><img src="../images/1x1trans.gif" width="10" height="1" alt="" border="0"></td> <td valign="top" class="appinfo" width="250"><img src="../images/1x1trans.gif" width="250" height="1" alt="" border="0"><br> <!-- Display App Logo --> <center> <BR><BR><BR><IMG src="/apps/images/edocushare_new.gif"<br> <TABLE width='99%' border='0' cellspacing='0' cellpadding='0'><TR> <TD class='appinfo' align='center'><font color='#FFFFFF'><strong>Having Trouble? </strong> <br><A href=java script:makeRemote2('http://www.selfhelp.support.xerox.com')><font color='#FFFFFF'>Click here</font></A> for assistance</TD> </TR> </TABLE> </center> </td> <td><img src="../images/1x1trans.gif" width="10" height="1" alt="" border="0"></td> <td valign="top"> <table border="0" cellspacing="0" cellpadding="1" bgcolor="#000000"> <tr> <td class="titlewhite" height="21" valign="bottom"> </td> </tr> <tr bgcolor="#FFFFFF"> <td> <table border="0" cellspacing="0" cellpadding="0" width="385" bgcolor="#FFFFFF"> <tr> <td><img src="../images/1x1trans.gif" width="20" height="1" alt="" border="0"></td> <td> <form name="login" autocomplete="off" method="POST" ACTION="login.fcc"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left"> </td> </tr> <tr> <td align="left"> <b class="title"> S3 User ID: </b> </td> </tr> <tr> <td align="left"> <input type="text" class="input" size="16" name="USER" onkeypress="checkEnter(event)"> </td> </tr> <tr> <td align="left" colspan="2"> How to determine what your User ID is <A href="java script:makeRemoteLarge('../popup/enter_id.jsp')" tabindex="-1"> more ..</A><br> <br> </td> </tr> <tr> <td align="left"> <b class="title"> Password :</b> </td> </tr> <tr> <td align="left"> <input type="password" class="input" size="16" name="PASSWORD" onkeypress='checkCapsLock( event, "Caps Lock is On.\n\nHaving Caps Lock on may cause you to enter your password incorrectly.\n\nYou should press Caps Lock to turn it off before entering your password. "); checkEnter(event)'> <input type=hidden name=target value="http://xww.docushare.world.xerox.com/dsweb/HomePage/dscgi/ds.py/PROPFIND/Server"> </td> </tr> <tr> <td align="left" colspan="2"> Password must contain at least 7 case-sensitive characters <br> Password must contain various types of characters <A href="java script:makeRemoteLarge('../popup/enter_pw.jsp')" tab index="-1"> more ..</A> </td> </tr> <tr> <td> </td> </tr> <tr> <td align="left"> <a href="../crreset/forgot_password.jsp?s3status=FORGOT">Forgot your password ? ...</a> </td> <td align="right" > <input type="button" name="enter" value=" Enter " class="greenButton" onclick="java script:validate()"> </td> </tr> </table> </form> </td> <td><img src="../images/1x1trans.gif" width="7" height="1" alt="" border="0"></td> </tr> </table> </td> </tr> </table> <img src="../images/1x1trans.gif" width="1" height="6" alt="" border="0"><br> <img src="../images/1x1trans.gif" width="1" height="12" alt="" border="0"><br> <table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" width="330"> <tr> <td><img src="../images/1x1trans.gif" width="15" height="1" alt="" border="0"></td> <td> <table border="0" cellspacing="0" cellpadding="1" bgcolor="#FFFFFF"> <tr> <td valign="bottom" colspan="2"><img src="../images/1x1trans.gif" width="1" height="4" alt="" border="0"><br><b>Action </b></td> <td> </td> <td valign="bottom" colspan="2"><img src="../images/1x1trans.gif" width="1" height="10" alt="" border="0"><br><b>Help </b></td> </tr> <tr> <td valign="top"><a href="../activation/account_activation_start.jsp"><img src="../images/dialdot.gif" width="17" height="15" alt="bullet" border="0"></a></td> <td valign="top"><a href="../activation/account_activation_start.jsp"><font color="#4F4F4F">S3 Account Activation </font></a></td> <td> </td> <td valign="top"><a href="java script: makeRemote2('../popup/s3helpdesk.jsp',785,500)"><img src="../images/dialdot.gif" width="17" height="15" alt="bullet" border="0"></a></td> <td valign="top"><a href="java script: makeRemote2('../popup/s3helpdesk.jsp',785,500)"><font color="#4F4F4F">S3 Help Desk </font></a></td> </tr> <tr> <td valign="top"><a href="../crreset/forgot_password.jsp?s3status=LOCKED"><img src="../images/dialdot.gif" width="17" height="15" alt="bullet" border="0"></a></td> <td valign="top"><a href="../crreset/forgot_password.jsp?s3status=LOCKED"><font color="#4F4F4F">Unlock S3 Account </font></a></td> <td> </td> <td valign="top"><a href="java script: makeRemoteLarge('../popup/whats_new.jsp')"><img src="../images/dialdot.gif" width="17" height="15" alt="bullet" border="0"></a></td> <td valign="top"><a href="java script: makeRemoteLarge('../popup/whats_new.jsp')"><font color="#4F4F4F">What's New </font></a></td> </tr> <tr> <td valign="top"><a href="../pwreset/password_change.jsp"><img src="../images/dialdot.gif" width="17" height="15" alt="bullet" border="0"></a></td> <td valign="top"><a href="../pwreset/password_change.jsp"><font color="#4F4F4F">Change your S3 password </font></a></td> <td> </td> <td valign="top"><img src="../images/1x1trans.gif" width="1" height="4" alt="" border="0"><br><a href="java script: makeRemoteLarge('http://xww.edsvalue.world.xerox.com/defaultEN.asp')"><img src="../images/dialdot.gif" width="17" height="15" alt="bullet" border="0"></a></td> <td valign="top"><img src="../images/1x1trans.gif" width="1" height="4" alt="" border="0"><br><a href="java script: makeRemoteLarge('http://xww.edsvalue.world.xerox.com/defaultEN.asp')"><font color="#4F4F4F">eValue.</font></a></td> <td> </td> <td valign="top"> </td> <td valign="top"> </td> </tr> <tr> <td valign="top"><a href="../crupdate/account_update.jsp"><img src="../images/dialdot.gif" width="17" height="15" alt="bullet" border="0"></a></td> <td valign="top"><a href="../crupdate/account_update.jsp"><font color="#4F4F4F">Change directory properties </font></a></td> <td> </td> <td valign="top"> </td> <td valign="top"> </td> </tr> </table> </TD> </TR> <tr><td> <br></td></tr> </TABLE> <br> <A href="java script:makeRemoteLarge('../popup/pns.jsp')" ><div class="legal"><font color="#ffffff"> READ THIS IMPORTANT NOTICE - PRIVACY AND SECURITY NOTICE </div></A></FONT><br> <A href="java script:makeRemote2('http://www.xerox.com/go/xrx/template/004.jsp?view=Legal&Xcntry=USA&Xlang=en_US',785,500)" > <DIV class="legal"><FONT color="#ffffff"> © 2004, XEROX CORPORATION. All rights reserved </DIV></FONT></A> <br> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </BODY> </HTML> -
Problem with IEAttach and embedded IE control
pootie tang replied to pootie tang's topic in AutoIt General Help and Support
Also tried the following code but then got an error in a different function. I tried to get the windows handle for the Internet Explorer_Server object (which was successful) and then use IEAttach using the "hwnd" option to attach. But that causes it to fail in _IEPropertyGet on line 3116: C:\Program Files\AutoIt3\Include\IE.au3 (3116) : ==> The requested action with this object has failed.: Return HWnd($o_object.HWnd()) Return HWnd($o_object.HWnd()^ ERROR The sample code I used was: $handle = ControlGetHandle("S3 Application Login Request","","[Class:Internet Explorer_Server]") MsgBox(0,'handle',$handle) $oIE = _IEAttach ($handle,"hwnd") I also ran WinGetClass on the window that contains the IE control and the result was: AtlAxWin Shell Embedding Shell DocObject View Internet Explorer_Server Internet Explorer_TridentCmboBx Static Any help or suggestions would be much appreciated -
Problem with IEAttach and embedded IE control
pootie tang replied to pootie tang's topic in AutoIt General Help and Support
Sorry about that. Just a simple call to IEAttach in my case fails. $oIE = _IEAttach ("S3 Application","embedded") Looks like inside of IEAttach, it makes a call to __IEControlGetObjFromHWND which is where it fails. -
Problem with IEAttach and embedded IE control
pootie tang replied to pootie tang's topic in AutoIt General Help and Support
Forgot to mention I am running v3.2.12.1 -
I am trying to use IEAttach to the IE instance that is embedded in the IE window. When it gets to the appropriate IEAttach call, it dies in a lower level function with the following error: C:\Program Files\AutoIt3\Include\IE.au3 (4198) : ==> The requested action with this object has failed.: Return $oIE.document.parentwindow Return $oIE.Document^ ERROR The info from AU3Info looks like it should be able to attach (based on the description for IEAttach): >>>> Window <<<< Title: S3 Application Login Request Class: #32770 Position: 0, 0 Size: 807, 617 Style: 0x94C800C4 ExStyle: 0x00010101 Handle: 0x004E05BE >>>> Control <<<< Class: Internet Explorer_Server Instance: 1 ClassnameNN: Internet Explorer_Server1 Advanced (Class): [CLASS:Internet Explorer_Server; INSTANCE:1] ID: Text: Position: 11, 11 Size: 780, 533 ControlClick Coords: 258, 264 Style: 0x56000000 ExStyle: 0x00000000 Handle: 0x002B0714 >>>> Mouse <<<< Position: 272, 297 Cursor ID: 2 Color: 0x67818D >>>> StatusBar <<<< >>>> Visible Text <<<< ﭤі The web server requires external authentication. Please log in using the form above. After successful login, the connection to your DocuShare server will resume automatically. >>>> Hidden Text <<<< Any help would be appreciated. Thanks in advance.
-
Clicking a properties menu
pootie tang replied to laidback01's topic in AutoIt General Help and Support
Can you post a link to the code at Scripting Guy or a sample of your converted code. Thanks in advance -
Paulie, Thanks. For SimpleSort, I'm not exactly sure about the use of the 2nd argument. From the example, it looks like an array that is declared to be the size of the number of columns. The items in the syslistview cannot be removed and put back. When I tried to use it as: Global $B_DESCENDING[_GUICtrlListView_GetColumnCount($hlv)] _GUICtrlListView_SimpleSort($hlv,$B_DESCENDING,1) where $hlv is the handle returned from controlgethandle, it crashes the .NET application. I need to be able to click the appropriate column and have it be ascending or descending. any thoughts? Thanks.
-
Is there any way to specify a column and sort ascending or descending on a SysListView control. I used to use the ListView and Header functions from Auto3Lib to accomplish. I looked at _GUICtrlListView_SortItems and _GUICtrlListView_SimpleSort but not sure how to get them to work. Thanks in advance.
-
Thanks for the example. Works great. I had tried to add 2 activex objects for 2 remote desktop connections. When I run it, it starts up ok but after a couple of mouse clicks, one the the remote controls is unable to accept any controls (mouse or keyboard). I just duplicated the code and 1 for each and applied the styles to both
-
I have a combobox that when you display the dropdown, the dropdown is a ComboLBox. I looked through the forum at other posts about ComboLBox but couldn't find a good solution. I know the string I want to select but I can't select it via the handle to the ComboBox and I can't get the handle to the ComboLBox (no parent ... not really attached to the ComboBox). I can scroll up and down through the dropdown but since I can't see what is the current selection I can't tell if I have the right text selected. Any help would be appreciated. Thanks in advance.
-
Easy Zip Compression using Windows XP
pootie tang replied to mozart90's topic in AutoIt Example Scripts
These are great ... thanks. One question ... is it possible to somehow add the password to the zip. I know that if you open the zip via the Windows Compressed Folder, you can go to the pull-down to apply a password. I was looking for a way to do it in the background after I create the zip and add my files.