confused Posted December 16, 2009 Posted December 16, 2009 I recently purchased Intelliremote (a remote control program of sorts) and the author has given it the ability to run AutoIt scripts. I have a script: IfWinNotActive, Program Manager, , WinActivate, Program Manager, WinWaitActive, Program Manager, Send, {CTRLDOWN}{ALTDOWN}3{CTRLUP}{ALTUP}{CTRLDOWN}{ALTDOWN}o{CTRLUP}{ALTUP}{LEFT}{LEFT}{ENTER} OK, so this is what I would like it to do: Enter from the keyboard: Ctrl+Alt+3 wait some time for media center to load Cntl+O wait a little move arrow over twice Enter Am I even close to what I want or am I just a cotton headed nini muggins? Please send help.
kaotkbliss Posted December 16, 2009 Posted December 16, 2009 $active=WinActive("program window title") If $active=0 Then Run("path:\exe name") WinWaitActive("program window title") EndIf Send("^!3") WinWait("media center window title") Send("^o") WinWait(or sleep) Send("{LEFT 2}{ENTER}") although controlsend would probably be more accurate. You can get window information with the autoit window info tool. controlclick on tabs and buttons would cut down on send commands as well. there is also some other command that I can't remember offhand about menus and trees... 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy!
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