Page 1 of 1
mousewheel
Posted: Mon Mar 31, 2008 9:19 pm
by jmburnod
Hi All
It is a way to capture the mousewheel to move an object ?
Best regards
Jean-Marc
Posted: Tue Apr 01, 2008 12:26 am
by BvG
You can use the rawkey messages for that, but unfortunately i don't remember the exact number, so you have to try it yourself:
Code: Select all
on rawKeyUp theKey
put theKey
pass rawKeyUp
end rawKeyUp
put the code into a field, then use the scroll wheel while the curser is within said field.
Posted: Tue Apr 01, 2008 9:30 am
by jmburnod
Thanks,
theKeyNumber is 65308 for mouse wheel down
theKeyNumber is 65309 for mouse wheel up
Jean-Marc
Posted: Thu May 08, 2008 7:19 pm
by Nonsanity
This does not seem to work on OS X.

Posted: Thu May 08, 2008 10:20 pm
by Mark
Chris,
I even got it working with a trackpad on Mac OS X.
Best,
Mark
Posted: Thu May 08, 2008 10:32 pm
by Nonsanity
Actually, I think the problem was due to me VNCing to the machine running Revolution, PC to Mac. I don't think it's sending the wheel data exactly right. I can use it to scroll a web browser, so SOMETHING is getting through, but it doesn't trigger rawKeyUp at all.
As soon as I an the stack are in the same place, I'll test again.
