davidho Posted February 6, 2015 Share Posted February 6, 2015 I have been using autoit (V3.3.12.0) on IE10 with Win 7 for the past 6 months and it really a great experience. Recently, I have upgraded my PC to IE11 with windows update on win 7 and existing autoit script below not able to locate the field or button correctly. $PosX = _IEPropertyGet($oObject,"screenx") $PosY = _IEPropertyGet($oObject,"screeny") MouseClick("left",$PosX +10 ,$PosY + 10) for example, if I use script above to locate the field username, password and login button, the mouse position will always offset by 50 point vertically. I noticed this on twitter.com with IE11 but it work fine with IE10. Same observation on other website but it always work fine on IE10. Is it a bug or compatibility issue on IE11 ? thanks David Link to comment Share on other sites More sharing options...
davidho Posted February 9, 2015 Author Share Posted February 9, 2015 Do appreciate if anyone could help ? any workaround ? or else I might need to downgrade to IE10 ? is this related to browser IE issue or autoit ? Link to comment Share on other sites More sharing options...
pcjunki Posted February 9, 2015 Share Posted February 9, 2015 try something like this #include <ie.au3> $url = ("http://gmail.com") $oie = _IECreate($url) Sleep(1000) $username = _IEGetObjById($oie, "UserNameText") $pwd = _IEGetObjById($oie, "PasswordText") _IEPropertySet($username, 'innertext', "davidho ") _IEPropertySet($pwd, 'innertext', "davidpwd") Sleep(1000) Send("{enter}") Link to comment Share on other sites More sharing options...
MikahS Posted February 9, 2015 Share Posted February 9, 2015 The last update for IE11 on Dec 18, broke alot of internal functions all across the coding communities. The solution has been to uninstall the update until microsoft fixes it. Let me know if this helps. Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
jdelaney Posted February 9, 2015 Share Posted February 9, 2015 Why mouse click? Use _IEAction(,"click") and you won't have to worry about coords. IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
davidho Posted February 10, 2015 Author Share Posted February 10, 2015 MikahS, thanks for the update. Now ,I know I'm not alone Prodigy, jdelaney, Great, I can learn new way of implementing my app. Thank you very much Link to comment Share on other sites More sharing options...
davidho Posted January 20, 2016 Author Share Posted January 20, 2016 since Microsoft will no longer support IE10, I have decided to upgrade my PC with IE11 on Win7. my autoit script not able to detect some html field (e.g innertext) in IE11 but it is working fine in IE10. is IE11 compatibility issue (since Dec 2014 as stated in previous comment ) still persist in latest version ? is there any work around ? what is the different between IE10 and IE11 which related to autoit ? Link to comment Share on other sites More sharing options...
davidho Posted January 22, 2016 Author Share Posted January 22, 2016 any comment related to IE11 compatibility issue ? my existing script which was working fine in IE10 but not able to find some field (e.g innertext) in IE11. any idea why ? Link to comment Share on other sites More sharing options...
BrewManNH Posted January 22, 2016 Share Posted January 22, 2016 Post your code. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
davidho Posted January 28, 2016 Author Share Posted January 28, 2016 I want to look for "logout" button as shown in html below and it works fine in IE10 but failed in IE11 <a class="btn logout-btn" id="lnkHeaderLogout" href="/logout/?locale=de" target="_top"> 1.login webpage below http://x3demob.cpx3demo.com:2082 username: demo password: demo 2.Then execute script below and noticed different behavior between IE10 and IE11 code use for debugging purpose #include <IE.au3> #include <Array.au3> local $count ,$string[100] $oIE =_IEAttach("Internet Explorer","windowtitle") local $oObjects = _IETagnameGetCollection($oIE,'a') For $oObject in $oObjects local $tValue =_IEPropertyGet($oObject,'outerhtml') $count = $count +1 $string[$count] = $tValue ;trying to look for "logout" button ;If StringInStr($tValue,'logout') Then ; MsgBox( 1, "found string", $tValue) ; ExitLoop ;EndIf Next $string[0] = $count _ArrayDisplay( $string, "string list") Link to comment Share on other sites More sharing options...
davidho Posted February 2, 2016 Author Share Posted February 2, 2016 could anyone help ? what causing the different behaviour between IE 10 and IE 11 ? any work around ? Link to comment Share on other sites More sharing options...
mLipok Posted February 2, 2016 Share Posted February 2, 2016 (edited) Try this: #include <IE.au3> #include <Array.au3> _Example() Func _Example() Local $oIE = _IECreate('http://x3demob.cpx3demo.com:2082') MsgBox(0, 'Please login', 'username: demo' & @CRLF & 'password: demo') Local $oTag_coll = _IETagNameGetCollection($oIE, 'a') If Not @error Then Local $iCount = 0 Local $aTag_Content[@extended + 1] Local $sTag_outerHtml For $oTag_enum In $oTag_coll $iCount += 1 $sTag_outerHtml = _IEPropertyGet($oTag_enum, 'outerhtml') $aTag_Content[$iCount] = $sTag_outerHtml ;trying to look for "logout" button ;If StringInStr($sTag_outerHtml,'logout') Then ; MsgBox( 1, "found string", $sTag_outerHtml) ; ExitLoop ;EndIf Next $aTag_Content[0] = $iCount _ArrayDisplay($aTag_Content, "Tag list") ; here is LogOut ;) Local $oIE_LogutButton = _IEGetObjById($oIE, 'lnkHeaderLogout') _IEAction($oIE_LogutButton, 'click') EndIf EndFunc ;==>_Example EDIT: and here is a more modified version. #AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w 7 #include <IE.au3> #include <Array.au3> _Example() Func _Example() Local $oIE = _IECreate('http://x3demob.cpx3demo.com:2082') MsgBox(0, 'Please login', 'username: demo' & @CRLF & 'password: demo') Local $oTag_coll = _IETagNameGetCollection($oIE, 'a') If Not @error Then Local $aTag_Content[1] For $oTag_enum In $oTag_coll ReDim $aTag_Content[UBound($aTag_Content) + 1] $aTag_Content[UBound($aTag_Content) - 1] = _IEPropertyGet($oTag_enum, 'outerhtml') Next $aTag_Content[0] = UBound($aTag_Content) _ArrayDisplay($aTag_Content, "Tag list") ; here is LogOut ;) Local $oIE_LogutButton = _IEGetObjById($oIE, 'lnkHeaderLogout') _IEAction($oIE_LogutButton, 'click') _IELoadWait($oIE) EndIf EndFunc ;==>_Example Edited February 2, 2016 by mLipok example changed Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
mLipok Posted February 2, 2016 Share Posted February 2, 2016 Since recently I am very interesting in exploring the mysteries of _IELoadWait(), so I went a little further. So here is another example: expandcollapse popup#AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w 7 #include <IE.au3> #include <Array.au3> _Example() Func _Example() Local $oIE = _IECreate('http://x3demob.cpx3demo.com:2082') Local $oIE_UserName = _IEGetObjById($oIE, "user") Local $oIE_password = _IEGetObjById($oIE, "pass") Local $oIE_login_submit = _IEGetObjById($oIE, "login_submit") _IEFormElementSetValue($oIE_UserName, 'demo') _IEFormElementSetValue($oIE_password, 'demo') _IEAction($oIE_login_submit, 'click') _IELoadWait($oIE) Local $oIE_LogutButton = _IEGetObjById($oIE, 'lnkHeaderLogout') If @error Then _IEErrorNotify(False) While Sleep(50) $oIE_LogutButton = _IEGetObjById($oIE, 'lnkHeaderLogout') If Not @error Then ExitLoop WEnd _IEErrorNotify(True) EndIf Local $oTag_coll = _IETagNameGetCollection($oIE, 'a') If Not @error Then Local $aTag_Content[1] For $oTag_enum In $oTag_coll ReDim $aTag_Content[UBound($aTag_Content) + 1] $aTag_Content[UBound($aTag_Content) - 1] = _IEPropertyGet($oTag_enum, 'outerhtml') Next $aTag_Content[0] = UBound($aTag_Content) _ArrayDisplay($aTag_Content, "Array of Tag Contents") EndIf _IEAction($oIE_LogutButton, 'click') _IELoadWait($oIE) EndFunc ;==>_Example Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
davidho Posted February 3, 2016 Author Share Posted February 3, 2016 Hi mLipok, thanks for the source code. I learn need thing today especially _IELoadWait() and it all work fine in IE10. but encountered error below in IE11. >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "F:\test.au3" --> IE.au3 T3.0-2 Warning from function _IEGetObjById, $_IESTATUS_NoMatch (lnkHeaderLogout) "C:\Program Files (x86)\AutoIt3\Include\IE.au3" (1899) : ==> The requested action with this object has failed.: If IsObj($oObject.document.getElementById($sID)) Then If IsObj($oObject.document^ ERROR >Exit code: 1 Time: 25.61 Most of the time, my script failed to look for certain field in IE11 and I'm still trying to find out the different between IE10 & IE11 Link to comment Share on other sites More sharing options...
davidho Posted February 3, 2016 Author Share Posted February 3, 2016 sorry typo on my previous post, I learned new thing today especially _IELoadWait() and it all worked fine in IE10. Link to comment Share on other sites More sharing options...
mLipok Posted February 3, 2016 Share Posted February 3, 2016 For me it works on my IE11 Quote >"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "Z:\TOOLs\Macro\TEST_IE_167295.au3" /UserParams +>03:46:49 Starting AutoIt3Wrapper v.15.920.938.4 SciTE v.3.6.2.0 Keyboard:00000415 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0415) CodePage:65001 utf8.auto.check:4 # detect ascii high characters and if none found set default encoding to UTF8 and do not add BOM +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Users\user\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\user\AppData\Local\AutoIt v3\SciTE >Running AU3Check (3.3.15.1) params:-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w 7 from:C:\Program Files (x86)\AutoIt3 input:Z:\TOOLs\Macro\TEST_IE_167295.au3 +>03:46:49 AU3Check ended.rc:0 >Running:(3.3.14.2):C:\Program Files (x86)\AutoIt3\autoit3.exe "Z:\TOOLs\Macro\TEST_IE_167295.au3" --> Press Ctrl+F11 to Restart or Ctrl+Break -or- F11 to Stop --> IE.au3 T3.0-2 Warning from function _IEGetObjById, $_IESTATUS_NoMatch (lnkHeaderLogout) +>03:47:00 AutoIt3.exe ended.rc:0 +>03:47:00 AutoIt3Wrapper Finished. >Exit code: 0 Time: 11.92 Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
davidho Posted February 3, 2016 Author Share Posted February 3, 2016 Hi mLipok, just curious with error below, IE.au3 T3.0-2 Warning from function _IEGetObjById, $_IESTATUS_NoMatch (lnkHeaderLogout) could the script able to locate the logout button since it cannot find "InkHeaderLogout" ? any idea what causing the different behaviour ? config ? IE or OS ? I'm using autoit V3.3.14.2 with IE11 v11.0.96000.18163 on Win7 thanks David Link to comment Share on other sites More sharing options...
davidho Posted February 3, 2016 Author Share Posted February 3, 2016 IE detail Version : 11.0.9600.18163 Update Version: 11.0.27 (KB3124275) OS : Win7 SP1 Link to comment Share on other sites More sharing options...
mLipok Posted February 3, 2016 Share Posted February 3, 2016 Please show entire console output when you try script from post #13 Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
davidho Posted February 4, 2016 Author Share Posted February 4, 2016 Quote >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "F:\IE11.au3" --> IE.au3 T3.0-2 Warning from function _IEGetObjById, $_IESTATUS_NoMatch (lnkHeaderLogout) "C:\Program Files (x86)\AutoIt3\Include\IE.au3" (1899) : ==> The requested action with this object has failed.: If IsObj($oObject.document.getElementById($sID)) Then If IsObj($oObject.document^ ERROR >Exit code: 1 Time: 27.65 above is the entire console output when I execute script from post#13 your console output from post#16 provide more detail. is there any setting ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now