Xander Posted February 24, 2006 Share Posted February 24, 2006 Searching didn't help much but I'm guessing it's more of a GUI issue than anything:I'm trying to compose a basic tutorial for people for when they run certain softwares (ie. Spybot, Adaware, etc).I've already set if up with SplashImage and screenshots, looped with a "While WinExists"/Wend but I'm curious if this is possible. If I were to record the screen actions into an AVI or MPG, can a window be created to play and loop in a similar manner, while the other window exists? While WinExists("Ad-Aware SE Personal") SplashImageOn("Adaware","C:\Program Files\Lavasoft\Ad-Aware SE Personal\adaware1.gif",-1,-1,0,0,19) Sleep(5000) SplashImageOn("Adaware","C:\Program Files\Lavasoft\Ad-Aware SE Personal\adaware2.gif",-1,-1,0,0,19) Sleep(5000) SplashImageOn("Adaware","C:\Program Files\Lavasoft\Ad-Aware SE Personal\adaware3.gif",-1,-1,0,0,19) Sleep(5000) SplashImageOn("Adaware","C:\Program Files\Lavasoft\Ad-Aware SE Personal\adaware4.gif",-1,-1,0,0,19) Sleep(5000) WEndOh, anyone have an idea why the screenshots are bluish originally, but the SplashImages show up as a brownish tinge? Link to comment Share on other sites More sharing options...
GaryFrost Posted February 24, 2006 Share Posted February 24, 2006 #include <GUIConstants.au3> GUICreate ("My GUI Animation",420,400) $ani1 = GUICtrlCreateAvi (@WindowsDir & "\clock.avi",-1, 50,10,50,50) $buttonstart = GUICtrlCreateButton ("start",125,350,70,22) $buttonstop = GUICtrlCreateButton ("stop",225,350,70,22) GUISetState( ) ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() Select case $msg = $GUI_EVENT_CLOSE ExitLoop case $msg = $buttonstart GUICtrlSetState ($ani1, 1) case $msg = $buttonstop GUICtrlSetState ($ani1, 0) EndSelect Wend SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. 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