Re: Detecting pending messages

2012-12-23 Thread Robert Sneidar
Yes, it only will show you developer initiated messages. Not much use to you 
for your purposes. I imagine being able to intercept and view the many engine 
messages that are flying around would severely limit the performance of the 
engine. Also, I imagine simply requesting a list of pending engine messages 
would ITSELF generate a slew of new messages. :-)

Bob


On Dec 23, 2012, at 10:01 AM, Peter Haworth wrote:

 When in a handler for a standard LC message (specifically keyDown), is it
 possible to check if there are any other keyDown messages in the message
 queue?  I see the pendingMessages property but the dictionary says it only
 lists messages scheduled with the Send command.
 Pete
 lcSQL Software http://www.lcsql.com
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Detecting pending messages

2012-12-23 Thread Peter Haworth
Hi Mike,
I have that, never thought of looking in there.  Thanks.
Pete
lcSQL Software http://www.lcsql.com


On Sun, Dec 23, 2012 at 10:56 AM, Mike Bonner bonnm...@gmail.com wrote:

 You should take a look at 4w's flight recorder (its in the revnet user
 stuff)
 Works really well and you can grok the code and roll your own custom
 message watcher.


 On Sun, Dec 23, 2012 at 11:41 AM, Robert Sneidar slylab...@me.com wrote:

  Yes, it only will show you developer initiated messages. Not much use to
  you for your purposes. I imagine being able to intercept and view the
 many
  engine messages that are flying around would severely limit the
 performance
  of the engine. Also, I imagine simply requesting a list of pending engine
  messages would ITSELF generate a slew of new messages. :-)
 
  Bob
 
 
  On Dec 23, 2012, at 10:01 AM, Peter Haworth wrote:
 
   When in a handler for a standard LC message (specifically keyDown), is
 it
   possible to check if there are any other keyDown messages in the
 message
   queue?  I see the pendingMessages property but the dictionary says it
  only
   lists messages scheduled with the Send command.
   Pete
   lcSQL Software http://www.lcsql.com
   ___
   use-livecode mailing list
   use-livecode@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Detecting pending messages

2012-12-23 Thread Peter Haworth
So it seems that flight recorder uses the undocumented messageHandled
message.  Browsing through the list, it seems that this can cause
significant performance issues.  I'd say it's OK to use for debugging
purposes but not for normal usage.

Oh well, I guess I'll have to come up with another way to do this.

Pete
lcSQL Software http://www.lcsql.com


On Sun, Dec 23, 2012 at 10:56 AM, Mike Bonner bonnm...@gmail.com wrote:

 You should take a look at 4w's flight recorder (its in the revnet user
 stuff)
 Works really well and you can grok the code and roll your own custom
 message watcher.


 On Sun, Dec 23, 2012 at 11:41 AM, Robert Sneidar slylab...@me.com wrote:

  Yes, it only will show you developer initiated messages. Not much use to
  you for your purposes. I imagine being able to intercept and view the
 many
  engine messages that are flying around would severely limit the
 performance
  of the engine. Also, I imagine simply requesting a list of pending engine
  messages would ITSELF generate a slew of new messages. :-)
 
  Bob
 
 
  On Dec 23, 2012, at 10:01 AM, Peter Haworth wrote:
 
   When in a handler for a standard LC message (specifically keyDown), is
 it
   possible to check if there are any other keyDown messages in the
 message
   queue?  I see the pendingMessages property but the dictionary says it
  only
   lists messages scheduled with the Send command.
   Pete
   lcSQL Software http://www.lcsql.com
   ___
   use-livecode mailing list
   use-livecode@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

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