On 5/22/07 2:01 PM, "Dave" <[EMAIL PROTECTED]> wrote:

> What I really want is a way of tell if the mouseUp handler has been
> called by the user pressing the mouse or if it's via the "send" command.
> 
> Any ideas?

Hi, Dave.  Another way uses the executionContexts, even though it's not
supported or documented.  It is simpler than passing parameters and
distinguishing them.

<script>
if word 1 of line -2 of the executionContexts is "button" then
</script>

You can check for a particular button as well as distinguish mouseUp from
mouseDown, if you want.

<script>
if item 1 to 2 of line -2 of the executionContexts is /
    the long id of button "foo","mouseUp" then
</script>
 
-- Dick


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to