; ========================================================================== ; Name: Ladybug Mixer V4 Keyboard Control Demo ; Version: AutoIt 3.0 ; Author: Neatware ; Description Launch Ladybug Mixer V4 click N button to show Next photo. ; Sleep(5000) is waiting for 5 seconds ; Press ESC key you can exit the program ; ========================================================================== Func ShaderShowcase() ; launch Ladybug Mixer V4 Run("Ladybug Mixer.exe"); ; wait "Ladybug Mixer V4" window to become active WinWaitActive( "Ladybug Mixer V4" ); ; set relative coords to the client area of the active window Opt( "MouseCoordMode", 2 ); ; wait window to active Sleep(2000); ; move mouse to N button for next picture $size[0] is width, $size[1] is height $size = WinGetClientSize("Ladybug Mixer V4"); MouseMove( 160, $size[1]-90 ); ; wait 5 seconds to next photo While True If WinActivate("Ladybug Mixer V4", "") = 0 Then Exit; Sleep(5000); MouseClick( "left" ); WEnd EndFunc ShaderShowcase() Exit