happy13 Posted October 27, 2015 Share Posted October 27, 2015 Hi guys,Im a beginner with autoit, I have the following code which I put together using also FF and inspect element on the website I want to load so that I enter the correct IDs:#include <ie.au3>$oIE = _IECreate ("https://clients.mindbodyonline.com/classic/home?studioid=35799")$oForm = _IEFormGetObjByName ($oIE, "frmLogonTop")$oQuery1 = _IEFormElementGetObjByName ($oForm, "requiredtxtUserName")$oQuery2 = _IEFormElementGetObjByName ($oForm, "requiredtxtPassword")$uname="abraka"$pwd="dabraka"_IEFormElementSetValue ($oQuery1,$uname)_IEFormElementSetValue ($oQuery2,$pwd)$oButton=_IEGetObjById($oIE,"")_IEAction ($oButton, "btnLogin")_IELoadWait($oIE,0)It opens the website and then shows me these errors, it does not seem to even try to log in.:>Running:(3.3.14.2):C:\Program Files\AutoIt3\autoit3.exe "C:\Program Files\AutoIt3\testing\openmindinIE.au3" --> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop--> IE.au3 T3.0-2 Warning from function _IEFormGetObjByName, $_IESTATUS_NoMatch--> IE.au3 T3.0-2 Error from function _IEFormElementGetObjByName, $_IESTATUS_InvalidDataType--> IE.au3 T3.0-2 Error from function _IEFormElementGetObjByName, $_IESTATUS_InvalidDataType--> IE.au3 T3.0-2 Error from function _IEFormElementSetValue, $_IESTATUS_InvalidDataType--> IE.au3 T3.0-2 Error from function _IEFormElementSetValue, $_IESTATUS_InvalidDataType--> IE.au3 T3.0-2 Warning from function _IEGetObjById, $_IESTATUS_NoMatch ()--> IE.au3 T3.0-2 Error from function _IEAction(btnLogin), $_IESTATUS_InvalidDataType+>23:30:19 AutoIt3.exe ended.rc:0+>23:30:19 AutoIt3Wrapper Finished.>Exit code: 0 Time: 12.5Any advice about what i did wrong and how can I make it working? Thanks! Link to comment Share on other sites More sharing options...
Danp2 Posted October 28, 2015 Share Posted October 28, 2015 The website uses frames. You'll need to get the frame object before you can access the form. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
happy13 Posted October 28, 2015 Author Share Posted October 28, 2015 Any advice about what i need to see/study in order to be able to do that? or some examples how it's used? Thanks! Link to comment Share on other sites More sharing options...
happy13 Posted October 28, 2015 Author Share Posted October 28, 2015 I tried to change it to first get the frame but not sure whats the right way?#include <ie.au3>$oIE = _IECreate ("https://clients.mindbodyonline.com/classic/home?studioid=35799")$oFframe = _IEFrameGetCollection($oIE, 0)$oForm = _IEFormGetObjByName ($oFrame, "frmLogonTop")$oQuery1 = _IEFormElementGetObjByName ($oForm, "requiredtxtUserName")$oQuery2 = _IEFormElementGetObjByName ($oForm, "requiredtxtPassword")$uname="abraka"$pwd="dabraka"_IEFormElementSetValue ($oQuery1,$uname)_IEFormElementSetValue ($oQuery2,$pwd)$oButton=_IEGetObjById($oIE,"")_IEAction ($oButton, "btnLogin")_IELoadWait($oIE,0)Now it shows the following after I run it:Running:(3.3.14.2):C:\Program Files\AutoIt3\autoit3.exe "C:\Program Files\AutoIt3\testing\openmindinIE01.au3" --> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop"C:\Program Files\AutoIt3\Include\ie.au3" (674) : ==> The requested action with this object has failed.:Return SetError($_IESTATUS_Success, $oObject.document.parentwindow.frames.length, $oObject.document.parentwindow.frames.item($iIndex))Return SetError($_IESTATUS_Success, $oObject.document.parentwindow.frames.length, $oObject.document.parentwindow.frames^ ERROR->08:56:35 AutoIt3.exe ended.rc:1+>08:56:35 AutoIt3Wrapper Finished.>Exit code: 1 Time: 25.1What means that error, what is not correct pls?Thanks! Link to comment Share on other sites More sharing options...
happy13 Posted October 28, 2015 Author Share Posted October 28, 2015 one of the lines above has a typo I made while I was pasting it here, the correct line is of course:$oFrame = _IEFrameGetCollection($oIE, 0) Link to comment Share on other sites More sharing options...
mLipok Posted October 28, 2015 Share Posted October 28, 2015 Did you solve you problem ? btw.try to read this: ie.au3 UDF with AutoIt v3.3.14.x andWelcome to the forum 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...
happy13 Posted October 28, 2015 Author Share Posted October 28, 2015 thanks. no, I did not solve it yet, I must be doing something stupid and not realizing yet how its supposed to be used. first time trying to write a script in autoit after some years.I tried to add some of those things you recommend in your link and also based on help doc but it felt like im just making a larger code harder to work with and harder to focus on so then I again reduced so that I work first with something simple and later i can add more stuff and got to this:#include <ie.au3>$oIE = _IECreate ("https://clients.mindbodyonline.com/classic/home?studioid=35799")$oFrame = _IEFrameGetCollection($oIE)$oForm = _IEFormGetObjByName ($oFrame, "frmLogonTop")$oQuery1 = _IEFormElementGetObjByName ($oForm, "requiredtxtUserName")$oQuery2 = _IEFormElementGetObjByName ($oForm, "requiredtxtPassword")$uname="username"$pwd="password"_IEFormElementSetValue ($oQuery1,$uname)_IEFormElementSetValue ($oQuery2,$pwd)$oButton=_IEGetObjByName($oIE,"btnLogin")_IEAction ($oButton, "click")_IELoadWait($oIE)>Running:(3.3.14.2):C:\Program Files\AutoIt3\autoit3.exe "C:\Program Files\AutoIt3\testing\openmindinIE01.au3" --> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop--> IE.au3 T3.0-2 Warning from function _IEFormGetObjByName, $_IESTATUS_NoMatch--> IE.au3 T3.0-2 Error from function _IEFormElementGetObjByName, $_IESTATUS_InvalidDataType--> IE.au3 T3.0-2 Error from function _IEFormElementGetObjByName, $_IESTATUS_InvalidDataType--> IE.au3 T3.0-2 Error from function _IEFormElementSetValue, $_IESTATUS_InvalidDataType--> IE.au3 T3.0-2 Error from function _IEFormElementSetValue, $_IESTATUS_InvalidDataType--> IE.au3 T3.0-2 Warning from function _IEGetObjByName, $_IESTATUS_NoMatch (Name: btnLogin, Index: 0)--> IE.au3 T3.0-2 Error from function _IEAction(click), $_IESTATUS_InvalidDataType+>11:15:23 AutoIt3.exe ended.rc:0+>11:15:23 AutoIt3Wrapper Finished.>Exit code: 0 Time: 26.62i guess im mixing wrong type if data together but not sure. Link to comment Share on other sites More sharing options...
mLipok Posted October 28, 2015 Share Posted October 28, 2015 (edited) $oFrame = _IEFrameGetCollection($oIE) $oForm = _IEFormGetObjByName ($oFrame, "frmLogonTop")You can not use Collection as parameter to this:_IEFormGetObjByName You must select particular one Frame. Edited October 28, 2015 by mLipok typo 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...
happy13 Posted October 28, 2015 Author Share Posted October 28, 2015 Thanks a lot, I was able to correct it. Now Im still doing something wrong with these 2 lines I believe, any advice about what I need to realize please?$oButton=_IEGetObjByName($oIE,"btnLogin")_IEAction ($oButton, "click") Link to comment Share on other sites More sharing options...
Danp2 Posted October 28, 2015 Share Posted October 28, 2015 Run your script in the Scite editor and post the results from the output window so that we can see the error(s) that are still occurring. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
happy13 Posted October 28, 2015 Author Share Posted October 28, 2015 Here are results, i was not able to figure it out yet, tried various things but I guess I have to see more working scripts and RTFM to understand how what works and then practise in own scripts....>Running:(3.3.14.2):C:\Program Files\AutoIt3\autoit3.exe "C:\Program Files\AutoIt3\testing\openmindinIE01.au3" --> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop--> IE.au3 T3.0-2 Warning from function _IEGetObjByName, $_IESTATUS_NoMatch (Name: btnLogin, Index: 0)--> IE.au3 T3.0-2 Error from function _IEAction(click), $_IESTATUS_InvalidDataType+>13:21:25 AutoIt3.exe ended.rc:0+>13:21:25 AutoIt3Wrapper Finished.>Exit code: 0 Time: 16.56 thanks for help! Link to comment Share on other sites More sharing options...
Danp2 Posted October 28, 2015 Share Posted October 28, 2015 (edited) A couple of things:1) Review this link to learn the correct way to post code: https://www.autoitscript.com/forum/topic/150872-how-to-post-code-on-the-forum/2) Repost your entire script3) The issue is likely that you aren't taking the frame into account4) Have you tried _IEFormSubmit instead of trying to click the button? Edited October 28, 2015 by Danp2 typo Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
happy13 Posted October 28, 2015 Author Share Posted October 28, 2015 #include <ie.au3> $uname="username" $pwd="password" $oIE = _IECreate ("https://clients.mindbodyonline.com/classic/home?studioid=35799") $oFrame = _IEFrameGetObjByName($oIE,"mainFrame") $oForm = _IEFormGetObjByName ($oFrame, "frmLogonTop") $oQuery1 = _IEFormElementGetObjByName ($oForm, "requiredtxtUserName") $oQuery2 = _IEFormElementGetObjByName ($oForm, "requiredtxtPassword") _IEFormElementSetValue ($oQuery1,$uname) _IEFormElementSetValue ($oQuery2,$pwd) $oButton=_IEGetObjByName($oIE,"btnLogin") _IEAction ($oButton, "click") _IELoadWait($oIE)with result:>Running:(3.3.14.2):C:\Program Files\AutoIt3\autoit3.exe "C:\Program Files\AutoIt3\testing\openmindinIE01.au3" --> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop--> IE.au3 T3.0-2 Warning from function _IEGetObjByName, $_IESTATUS_NoMatch (Name: btnLogin, Index: 0)--> IE.au3 T3.0-2 Error from function _IEAction(click), $_IESTATUS_InvalidDataType+>13:21:25 AutoIt3.exe ended.rc:0+>13:21:25 AutoIt3Wrapper Finished.>Exit code: 0 Time: 16.56 I did not try that yet, I opened it just now in help so it will take me some time to figure out how its supposed to work.....Thanks Link to comment Share on other sites More sharing options...
mLipok Posted October 28, 2015 Share Posted October 28, 2015 Thanks a lot, I was able to correct it. Now Im still doing something wrong with these 2 lines I believe, any advice about what I need to realize please?$oButton=_IEGetObjByName($oIE,"btnLogin")_IEAction ($oButton, "click") This is not Name but ID<input class="loginButton" id="btnLogin" type="button" value="Log in"> and this is inside FRAME so the working code is: #include <ie.au3> _IEErrorHandlerRegister(_User_ErrFunc) $uname="username" $pwd="password" $oIE = _IECreate ("https://clients.mindbodyonline.com/classic/home?studioid=35799") $oFrame = _IEFrameGetObjByName($oIE,"mainFrame") $oForm = _IEFormGetObjByName ($oFrame, "frmLogonTop") $oQuery1 = _IEFormElementGetObjByName ($oForm, "requiredtxtUserName") $oQuery2 = _IEFormElementGetObjByName ($oForm, "requiredtxtPassword") _IEFormElementSetValue ($oQuery1,$uname) _IEFormElementSetValue ($oQuery2,$pwd) $oButton=_IEGetObjByID($oFrame,"btnLogin") _IEAction ($oButton, "click") _IELoadWait($oIE) ; User's COM error function. ; After SetUp with ObjEvent("AutoIt.Error", ....) will be called if COM error occurs Func _User_ErrFunc($oError) ; Do anything here. ConsoleWrite(@ScriptFullPath & " (" & $oError.scriptline & ") : ==> COM Error intercepted !" & @CRLF & _ @TAB & "err.number is: " & @TAB & @TAB & "0x" & Hex($oError.number) & @CRLF & _ @TAB & "err.windescription:" & @TAB & $oError.windescription & @CRLF & _ @TAB & "err.description is: " & @TAB & $oError.description & @CRLF & _ @TAB & "err.source is: " & @TAB & @TAB & $oError.source & @CRLF & _ @TAB & "err.helpfile is: " & @TAB & $oError.helpfile & @CRLF & _ @TAB & "err.helpcontext is: " & @TAB & $oError.helpcontext & @CRLF & _ @TAB & "err.lastdllerror is: " & @TAB & $oError.lastdllerror & @CRLF & _ @TAB & "err.scriptline is: " & @TAB & $oError.scriptline & @CRLF & _ @TAB & "err.retcode is: " & @TAB & "0x" & Hex($oError.retcode) & @CRLF & @CRLF) EndFunc ;==>_User_ErrFunc 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...
happy13 Posted October 28, 2015 Author Share Posted October 28, 2015 Thank you very much for your help, it works, great.Do you have any recommendations what would be good to add to the code so that its more possibly stable? What would be good to read etc,...Im doing this so that ppl do not have to and also I dont want them to know the u/p and it is done automatically. personal security where I had some bad experience.Thanks again Link to comment Share on other sites More sharing options...
mLipok Posted October 28, 2015 Share Posted October 28, 2015 (edited) Thank you very much for your help, it works, great.Do you have any recommendations what would be good to add to the code so that its more possibly stable? What would be good to read etc,...MSDNAUTOIT BEST CODING PRACTICEUDF SPECall links from my signature and all AutoIt forum posts day by day................... Im doing this so that ppl do not have to and also I dont want them to know the u/p and it is done automatically. personal security where I had some bad experience.Do not know what you mean. Thanks again You are welcome.mLipok Edited October 28, 2015 by mLipok 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...
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