Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

RemoteKC - use the Media Center Remote as a mouse, keyboard


  • Please log in to reply
1 reply to this topic
kane2742
  • Members
  • 2 posts
  • Last active: Mar 08 2009 11:20 PM
  • Joined: 27 Feb 2007
<!-- m -->http://www.autohotke...42/RemoteKC.zip<!-- m -->

RemoteKC is a freeware program created with AutoHotkey that lets you use the Windows Media Center Remote as a mouse and triple-tap (text-message-style) keyboard. Similar programs go for as much as $25, but the creator of RemoteKC only asks that if you find the program useful you join one of the bartering sites linked to in the readme, which will earn both you and the author free trades at those sites.

banastr
  • Members
  • 2 posts
  • Last active: Aug 20 2012 09:41 PM
  • Joined: 20 Aug 2012
To make this work for Win7 64bit AHK:

in MouseMoveWin7
xpos := NumGet(MyStruct, 0, "Int")
        ypos := NumGet(MyStruct, 4, "Int")

did the trick for me.

Full MouseMoveWin7:
MouseMoveWin7(x, y, speed, relative) ; Win7 replacement for mouse move
{
    ; Note: Speed is not implemented for this function
    
    if (relative = "R")
    {  
        ; MouseGetPos, xpos, ypos
        VarSetCapacity(MyStruct, 8, 0)
        DllCall("GetCursorPos", UInt, &MyStruct)
        xpos := NumGet(MyStruct, 0, "Int")
        ypos := NumGet(MyStruct, 4, "Int")        

		Progress, B2 fs24 zh0 WS700 CW0E4D9A CTFFFFFF,% "Launcher Mode +" xpos " + ypos + " ypos, , , Courier New
		SetTimer, RemoveNotice, 3000

        DllCall("SetCursorPos", int, xpos+x, int, ypos+y)
    }
    Else 
    {
        DllCall("SetCursorPos", int, x, int, y)
    }
}
Return