PDA

View Full Version : CCF Example for Hiding the Mouse



jwilson56
November 8th, 2008, 04:51 PM
This is a simple CCF that has two buttons. One hides the mouse and the other un-hides it. Both us a small LUA script in the buttons Action Designer.

kjetilhansen
November 15th, 2008, 05:49 AM
Will this plugin remove the mouse pointer? So whit a touchscreen i wount see the ponter when i touch the screen...?

jwilson56
November 15th, 2008, 08:44 AM
Well is not a plugin. Its just a couple buttons that when executed will hide or un-hide the mouse while its on top of the Netremote screen.

Solosid
November 15th, 2008, 08:29 PM
Hi John,

Is there any way of getting this action on a toggle button??

I've been playing with it but don't know enough about lua yet

attached are two images I've created for the pointer

Cheers


Mark

jwilson56
November 15th, 2008, 11:31 PM
Well I am sure there are other ways to do this... this is what I came up with. It uses a NR variable to keep track of the toggle which is used for the State Rule also.

Guru's feel free to simplify this.

Solosid
November 16th, 2008, 12:14 PM
Hi John,

That works perfectly for me...thank you

also it gives me an insight into lua on a button...

cheers

Mark