Jump to content

Playing a short video?


Recommended Posts

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)


SplashImageOn("Adaware","C:\Program Files\Lavasoft\Ad-Aware SE Personal\adaware2.gif",-1,-1,0,0,19)


SplashImageOn("Adaware","C:\Program Files\Lavasoft\Ad-Aware SE Personal\adaware3.gif",-1,-1,0,0,19)


SplashImageOn("Adaware","C:\Program Files\Lavasoft\Ad-Aware SE Personal\adaware4.gif",-1,-1,0,0,19)



Oh, 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

#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()

      case $msg = $GUI_EVENT_CLOSE
      case $msg = $buttonstart
        GUICtrlSetState ($ani1, 1)
      case $msg = $buttonstop
        GUICtrlSetState ($ani1, 0)

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

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

  • Recently Browsing   0 members

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