sara123 Posted November 6, 2018 Share Posted November 6, 2018 (edited) Hi, I am brand new to AUTOIT. i am looking to automate a desktop application. please help me how to enter a login name and password and press enter in the application. what would be the script for that? Please help Edited November 8, 2018 by sara123 Link to comment Share on other sites More sharing options...
BrewManNH Posted November 6, 2018 Share Posted November 6, 2018 Show the Control output pane information, or cut and paste the Summary screen information to your post. Make sure you're on the control on the GUI you want to work with. 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...
sara123 Posted November 6, 2018 Author Share Posted November 6, 2018 I have attached the pdf which has the picture of my login screen and the panel. Link to comment Share on other sites More sharing options...
Nine Posted November 6, 2018 Share Posted November 6, 2018 I feel you gonna ask for every single line of code. But anyway, Control* will do the work. Go into help file to learn about ControlSend, you should be able to write a few lines of code by yourself. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
sara123 Posted November 6, 2018 Author Share Posted November 6, 2018 ok! thanks. i am automation engineer. i am well versed with selenium. AutoIt is brand new. I did go through lot of tutorials but did not find sample code for a pure desktop application. i am looking for some guidelines or links that will guide me. 1)is Help file the where i should look for? 2)Any recommended blogs for automating desktop application? Link to comment Share on other sites More sharing options...
water Posted November 6, 2018 Share Posted November 6, 2018 From a security point of view it isn't a good idea to automate the login and store userid/password in plain text in your script. If Crosslink is a professional piece of software then they provide an interface to automate the product. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
Nine Posted November 6, 2018 Share Posted November 6, 2018 But anyway, start by reading the help file, learn the basics, try a few scripts, and let us know if you hit a wall. It is easier for us to help with a base code. And I will be glad to give you a hand. sara123 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
BrewManNH Posted November 6, 2018 Share Posted November 6, 2018 28 minutes ago, sara123 said: I have attached the pdf which has the picture of my login screen and the panel. That's not what I asked for. We need the information form the AU3Info Summary panel, or the Control tab, when you click on the control you want to interact with. A picture of the GUI doesn't help one bit. Just copy and paste the information for the control here so we can help you. 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...
sara123 Posted November 7, 2018 Author Share Posted November 7, 2018 (edited) ok. Edited November 8, 2018 by sara123 found how to delete a post Link to comment Share on other sites More sharing options...
Nine Posted November 7, 2018 Share Posted November 7, 2018 44 minutes ago, sara123 said: ok. If the pdf is of no use, is there a way to delete it? idk, but have you tried to edit your thread ? “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
water Posted November 7, 2018 Share Posted November 7, 2018 IIRC you have to have at least 5 posts before you can edit a post. sara123 1 My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
sara123 Posted November 7, 2018 Author Share Posted November 7, 2018 ok thanks! Link to comment Share on other sites More sharing options...
junkew Posted November 8, 2018 Share Posted November 8, 2018 Read frequently asked questions wiki at least number 31 but advise to read it fully. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets 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