Shats Posted July 17, 2022 Posted July 17, 2022 Hi Guys! Another newbie here 🙂 I've created a simple GUI window with buttons that execute functions for opening specific webpage, entering ID, PW and logging in just to make my life easier. The problem is, that I use the basic Send command for "TAB", entering text etc.. I would like to make it that when the program is opened and I press a button to execute the function (open browser, enter text) that the process could run in the background and my keystrokes or mouse clicks would not intervein with the script. Example of the function: Func Open1()    ShellExecute("http://example.com")       sleep (3000)       Send ("{TAB}")       Send ("ID")       Send ("{TAB}")       Send ("password")       Send ("{ENTER}") EndFunc  While this goes on, I have to be afk and that's a bit unsatisfying,. 🙂 Tried searching though the help file and forum, but without luck.  Thanks in advance for any help!   Â
Zedna Posted July 21, 2022 Posted July 21, 2022 General anti-interfer solution is to use ControlSend() instead of Send() but in case of web browser there is totally different solution which differ by used browser IE/Chrome/Firefox -> there are several diferent UDFs for interact with each browser ... Resources UDF  ResourcesEx UDF  AutoIt Forum Search
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