Ken, Thanks for the explanation. How would you use:
wait for messages and wait with messages ?? Would it be something like: wait for 4 seconds with messages ?or: wait for messages (pauses handler until *any* message is received? and why would I ever use this?) I have a feeling there's some great power here, I just want to understand how to use it! YIH (yep it helps) Chipp > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Ken Ray > Sent: Saturday, January 31, 2004 11:34 PM > To: 'How to use Revolution' > Subject: RE: wait with messages... > > > Chipp, > > I usually use the form: > > wait until <something> with messages > > which allows for normal idle-time message processing while Rev waits. > For example, one thing that has been bugged in Bugzilla is that opening > up a popup menu remotely: > > popup (long id of btn "ContextPop" of card 1 of stack "MyStack") at > the mouseLoc > > is modal on MacOS (i.e. it waits until you pick something from the menu > before it goes to the next script line), but on Windows, it's not (it > pops up the menu and immediately goes to the next script line). > > So to get around it, I have added right after it: > > if the platform is "Win32" then > wait until the mouse is up with messages > end if > > This causes the script to pause, but allows other things to happen > (pendingMessages get sent, etc.). > > HTH, > > Ken Ray > Sons of Thunder Software > Email: [EMAIL PROTECTED] > Web Site: http://www.sonsothunder.com/ > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Chipp Walters > > Sent: Saturday, January 31, 2004 1:58 AM > > To: How to use Revolution > > Subject: wait with messages... > > > > > > Scott, (and anyone else who) > > > > I use send "fred" to this cd in 30 milliseconds all the time, but I'm > > really not sure what > > > > wait with messages > > and > > wait for messages > > > > do > > > > The docs don't explain it very clearly...at least not to me:-( > > > > Does it: > > > > wait until any message whatsoever fires and then continue? > > > > Which means the RR IDE would fire it as it's sending > > messages all over > > the place. > > > > Can you provide an example where you would use one and not > > the other or > > not 'send'? > > > > tia, > > Chipp > > > > _______________________________________________ > > use-revolution mailing list > > [EMAIL PROTECTED] > > http://lists.runrev.com/mailman/listinfo/use-> revolution > > > > > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution