Jump to content

GUI + Script in the background


Shats
 Share

Recommended Posts

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!

 

 

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...