Hides the mousecursor if you don't move the mouse for a set period of time.
property mhLoc, mhCount, mhTiming
on new me
me.mhLoc = duplicate(the mouseLoc)
me.mhCount = 0
me.mhTiming = 1000 -- !!! adjust your timing here !!!
return me
end
on exitFrame me
if me.mhLoc = the mouseLoc then
if me.mhCount = 0 then
me.mhCount = the milliseconds
end if
else
me.mhCount = 0
me.mhLoc = duplicate(the mouseLoc)
end if
if me.mhCount = 0 then
cursor 0
else if (me.mhCount + me.mhTiming) < the milliseconds then
cursor 200
end if
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA