Source language: Translate to:

Ability to detect button down?

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Ability to detect button down?

Postby tjchan » Thu Nov 02, 2006 7:01 pm

Is there anyway to get Neobook to detect a button that is held down?

I have a button that needs actions on when it's pressed, how long it's held down, and lastly when it gets released?

Is there a way to do this or something that is similar?

Thanks!
-Timothy
tjchan
 
Posts: 70
Joined: Thu Mar 31, 2005 11:02 pm
Location: Dallas, TX

Postby HPW » Thu Nov 02, 2006 11:39 pm

Is there a way to do this or something that is similar?


For that neosoft must add a OnMouseDown and a OnMouseUp-Action.
(The current OnClick is only fired OnRelease.)

Or you get/write a custom button-plugin that supports the same.

Or you take a look at tmEvents:

http://www.techmediasoftware.com/tmEvents.php
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby tjchan » Tue Dec 12, 2006 7:41 pm

Thanks a bunch! tmEvents hits the spot alright!
tjchan
 
Posts: 70
Joined: Thu Mar 31, 2005 11:02 pm
Location: Dallas, TX


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest

cron