Jump to content

Conduct everything in background?


Recommended Posts

Hi there. im new to autoit and i need some help. I have the following script.

FIRST LINE.

$url = "www.mywebsite.com"

Run(@Comspec & " /c start " & $url)

Run("mybatchfile.bat")

Sleep(4000)

Send("{PGDN 10}")

MouseClick("left", 1023, 131)

MouseClick("left", 897, 530)

SplashTextOn("Loading", "Please wait. Loading...", 1366, 768, 0, 0, 32, "", 20)

Sleep(10000)

SplashOff()

MouseClick("right", 650, 83)

Send("{DOWN}")

Send("{DOWN}")

Send("{ENTER}")

As you can see, i have tried to use a splashtexton command to display a loading message while my website fully loads.

is there any way i can conceal the earlier commands (in red text) behind the splash screen in the inactive window?

(so i would place a splashtexton command where it says FIRSTLINE.)

i've tried to use controlclick but i cant get my head around controlid and class parameters.

Any help would be much appreciated. Thanks,

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...