Message: 29
Date: Wed, 13 Oct 2010 23:33:06 +0200
From: Michael Kristensen <[email protected]>
Subject: Re: Flipping graphic with a Key
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Hi

Thanks for the reply's

I m sorry to report that neither

 flushEvents("autoKey")
 flushEvents("all")

or

Jacquelines script:

on keydown pkey
  if pkey = "f" then
    doTheFlipping
    send "checkKey" to me in 0
  else
    pass keydown
  end if
end keydown

command checkKey
  if "102" is in keysdown() then -- 102 is the keycode for "f"
    send "checkKey" to me in 250 milliseconds -- adjust timing here
  else
    doTheFlipping
  end if
end checkKey


.......did have any effect on stopping the repeated keyDown.


Mic

How about:

   put the pendingmessages into tPendingMsgs
   repeat for each line tLine in tPendingMsgs
      cancel item 1 of tLine
   end repeat

Jim Hurley



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

Reply via email to