simulated key - move mouse and preform action

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
Post Reply
lolitsfunny
New User
Posts: 2
Joined: Wed Jul 25, 2018 1:44 pm

simulated key - move mouse and preform action

Post by lolitsfunny » Fri Jul 27, 2018 12:31 pm

XMBC Version: 2.17
Windows Version: 10
Mouse Information (brand/model): -
Computer Information: -
Did the problem occur after an upgrade of XMBC or Windows?: -
How long have you used XMBC?: few days
What language and keyboard layout do you use in Windows?:

Clear description of the problem:

I want to create a script that when a button is pressed, it moves the cursor to {x,y} AND preform zoom in/out.

I don't know how to to integrate both of the features :/

Thanks!

User avatar
phil
Site Admin
Posts: 5533
Joined: Sun Apr 06, 2003 11:12 pm

Re: simulated key - move mouse and preform action

Post by phil » Fri Jul 27, 2018 1:46 pm

Urm, assuming zoom is doable with the CTRL+scroll wheel then maybe this...
{MSET:x,y}{CTRL}{MWUP}
{MSET:x,y}{CTRL}{MWDN}

Or if zoom is done by keys, then perhaps
{MSET:x,y}{LMB}+
{MSET:x,y}{LMB}-

In this case, the LMB is there so set the active window under the x,y point and assumes the + & - keys zoom.

If none of that works, give us more of a clue how you zoom (or an example application) and maybe we can come up with something that works :)
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-6600k, Asus 170-A, 16GB DDR4,
nVidia GeForce GTX 970, 2xEvo 850 (RAID 0), 2x2TB WD Black (RAID1)

lolitsfunny
New User
Posts: 2
Joined: Wed Jul 25, 2018 1:44 pm

Re: simulated key - move mouse and preform action

Post by lolitsfunny » Fri Jul 27, 2018 7:54 pm

the zoom is done via windows magnifier (the function is called "magnifier zoom in" (\out)... i'll try to program it to other buttons and change the current one.
How ever, it will be smoother if i could program it all together.

User avatar
phil
Site Admin
Posts: 5533
Joined: Sun Apr 06, 2003 11:12 pm

Re: simulated key - move mouse and preform action

Post by phil » Fri Jul 27, 2018 8:09 pm

Ohhh that sort of zoom! Ok, well actually the magnifier funciton just sends {WIN}+ and {win}- behind the scenes if I recall...
So try

{MSET:x,y}{LWIN}+
and
{MSET:x,y}{LWIN}-
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-6600k, Asus 170-A, 16GB DDR4,
nVidia GeForce GTX 970, 2xEvo 850 (RAID 0), 2x2TB WD Black (RAID1)

Post Reply