lebronjensen Posted May 9, 2012 Share Posted May 9, 2012 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 More sharing options...
JohnOne Posted May 9, 2012 Share Posted May 9, 2012 The 3rd, 4th, 5th and 6th optional arguments are for positioning the splash gui. WinGetPos() will give you the position of the inactive window. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Bert Posted May 9, 2012 Share Posted May 9, 2012 You may want to look at IE.au3 The Vollatran project My blog: http://www.vollysinterestingshit.com/ 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