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,
Conduct everything in background?
Started by
lebronjensen
, May 09 2012 02:33 PM
2 replies to this topic
#1
Posted 09 May 2012 - 02:33 PM
#2
Posted 09 May 2012 - 03:46 PM
The 3rd, 4th, 5th and 6th optional arguments are for positioning the splash gui.
WinGetPos() will give you the position of the inactive window.
WinGetPos() will give you the position of the inactive window.
AutoIt Absolute Beginners Require a serial
Run('hh mk:@MSITStore:'&StringReplace(@AutoItExe,'.exe','.chm')&'::/html/tutorials/helloworld/helloworld.htm','',@SW_MAXIMIZE)
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users





