Sign in to follow this  
Followers 0
confused

Intelliremote

2 posts in this topic

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.

Share this post


Link to post
Share on other sites



$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 game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
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
Sign in to follow this  
Followers 0