; ========================================================================== ; Name: LMV4 Keyboard Control Demo ; Version: AutoIt 3.0 ; Author: Neatware ; Description ; Launch Ladybug Mixer V4 click mouse right button to show/hide control. ; Show shader effects by arrow key. ; ========================================================================== Func ShaderShowcase() ; launch LMV4 Run("C:\Program Files\Neatware\Ladybug Mixer V4\host\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 ); ; move mouse to set shader list as focus MouseMove( 64, 140 ); MouseClick( "left" ); ; move mouse out of the screen to hide its cursor $size = WinGetClientSize("Ladybug Mixer V4"); MouseMove( $size[0]+32, $size[1]+32 ); ; select first item move arrow to HOME Send("{HOME}{F2}"); Sleep( 2000 ); ; select items in cycle, move key down and wait 2 seconds For $i = 0 to 32 Step 1 Send( "{DOWN}" ); Sleep( 2000 ); Next ; exit Send( "{ESC}" ); EndFunc ShaderShowcase() Exit