Re: Pendingmessages

2007-03-06 Thread Richard Miller
update a progress indicator or do other minor housekeeping. Would that help your situation? I haven't quite grasped Richard's problem of the pendingMessages. But I doubt it would make a difference whether using blocking or non-blocking url routines. The so-called blocking routines are only

Re: Pendingmessages

2007-03-06 Thread Brian Yennie
that help your situation? I haven't quite grasped Richard's problem of the pendingMessages. But I doubt it would make a difference whether using blocking or non-blocking url routines. The so-called blocking routines are only script-blocking. i.e. they block the currently executing handler

Re: Pendingmessages

2007-03-06 Thread Dave Cragg
transfer and one that has been called before the previous one completes?) it could get messy. I don't think using the pendingMessages queue to schedule blocking transfers is the best approach. Typically, you would wait until one transfer completes, and then start the next one. If you know

Re: Pendingmessages

2007-03-06 Thread Richard Miller
think using the pendingMessages queue to schedule blocking transfers is the best approach. Typically, you would wait until one transfer completes, and then start the next one. If you know the files to be transferred when you start the procedure, I would do something like this (error checking

Re: Pendingmessages

2007-03-06 Thread Alex Shaw
Hi Richard You could try retrieving the directory through a cgi process that also returns a meta info related to the event. regards alex Richard Miller wrote: Tied into this is that getting a directory from the server is obviously just as prone to failure as getting any file from the server

Re: Pendingmessages

2007-03-06 Thread Dave Cragg
On 6 Mar 2007, at 13:55, Richard Miller wrote: Can/should a directory ftp call be unloaded (i.e. via unload URL) before trying a second time? Only if it's obtained with a non-blocking call. (e.g. load url) There's no need to use unload with any blocking call (get url, put .. into url).

Re: Pendingmessages

2007-03-06 Thread Richard Miller
Great idea. Thanks Alex. Richard On Mar 6, 2007, at 7:40 AM, Alex Shaw wrote: Hi Richard You could try retrieving the directory through a cgi process that also returns a meta info related to the event. regards alex Richard Miller wrote: Tied into this is that getting a directory from

Re: Pendingmessages

2007-03-05 Thread Richard Miller
Richard, We discovered that the pending messages were the source of our file transferring problem. I don't know what the doc's say or when these messages are supposed to be sent, but I do know they greatly effected our file transferring routine, interrupting it at seemingly random times.

Re: Pendingmessages

2007-03-05 Thread Richard Gaskin
are off with regard to pendingMessages, since messages from libURL may easily become interleaved with your own. -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com

Re: Pendingmessages

2007-03-05 Thread Richard Miller
cause may lie with libURL, or with the way libURL is used. While some libURL calls are blocking, most are asynchronous. If you were using any of the non-blocking calls all bets are off with regard to pendingMessages, since messages from libURL may easily become interleaved with your own

Re: Pendingmessages

2007-03-05 Thread Richard Gaskin
some libURL calls are blocking, most are asynchronous. If you were using any of the non-blocking calls all bets are off with regard to pendingMessages, since messages from libURL may easily become interleaved with your own. Yes that was exactly it. We were using a non-blocking transfer

Re: Pendingmessages

2007-03-05 Thread Dave Cragg
haven't quite grasped Richard's problem of the pendingMessages. But I doubt it would make a difference whether using blocking or non- blocking url routines. The so-called blocking routines are only script-blocking. i.e. they block the currently executing handler, but will allow other asynchronous

Pendingmessages

2007-03-02 Thread Richard Miller
Will lock messages halt pending messages from occurring until an unlock messages command is sent? I need to have all pending messages that relate to file transfers to wait until a foreground file transfer is complete. I'm thinking that lock messages will do that. If not, is there another

Re: Pendingmessages

2007-03-02 Thread Richard Gaskin
Richard Miller wrote: Will lock messages halt pending messages from occurring until an unlock messages command is sent? Pending messages are only sent at idle, and lock messages no longer has effect once idle hits should there should be no conflict. -- Richard Gaskin Fourth World Media

Re: Pendingmessages

2007-03-02 Thread Ken Ray
the pendingMessages into tPending if (pMsg ) and (pMsg all) then filter tPending with *, pMsg ,* put tPending into gPendingMessages repeat for each line tMsg in tPending cancel item 1 of tMsg end repeat end PausePending on ResumePending pMsg global gPendingMessages put

Re: Pendingmessages

2007-03-02 Thread Richard Miller
complex messaging needs: on PausePending pMsg global gPendingMessages put the pendingMessages into tPending if (pMsg ) and (pMsg all) then filter tPending with *, pMsg ,* put tPending into gPendingMessages repeat for each line tMsg in tPending cancel item 1 of tMsg end repeat

Re: Pendingmessages

2007-03-02 Thread Brian Yennie
an approach I've used that works pretty well, so long as you don't have really complex messaging needs: on PausePending pMsg global gPendingMessages put the pendingMessages into tPending if (pMsg ) and (pMsg all) then filter tPending with *, pMsg ,* put tPending into gPendingMessages

Re: Pendingmessages

2007-03-02 Thread Peter T. Evensen
One problem here is that any parameters sent with the message will be lost, since pendingMessages does not contain parameter information. At 03:02 PM 3/2/2007, you wrote: On Fri, 2 Mar 2007 13:14:08 -0700, Richard Miller wrote: Will lock messages halt pending messages from occurring until

Re: Pendingmessages

2007-03-02 Thread Andre Garzia
) Cheers andre On Mar 2, 2007, at 7:11 PM, Peter T. Evensen wrote: One problem here is that any parameters sent with the message will be lost, since pendingMessages does not contain parameter information. At 03:02 PM 3/2/2007, you wrote: On Fri, 2 Mar 2007 13:14:08 -0700, Richard Miller wrote

Re: Pendingmessages

2007-03-02 Thread Ken Ray
On Fri, 2 Mar 2007 13:55:49 -0800, Brian Yennie wrote: Ken, Very clever... one question: how do you deal with the actual timing of those messages, or do these scripts assume that everything pending should be processed ASAP? Or am I confused (entirely possible!)? It assumes that

Re: Pendingmessages

2007-03-02 Thread Peter T. Evensen
What I did was make a function that would cache a parameter for a message. When I suspended messages, I calculated the renaming time, and when I resumed the messages, I used that as an offset from the current time to resend the messages, along with the parameter that I cached, if any, based

Re: Pendingmessages

2007-03-02 Thread Dick Kriesel
On 3/2/07 2:32 PM, Andre Garzia [EMAIL PROTECTED] wrote: In case we had some nifty function, a cousin of the functiona 'variableNames' that could access all the current variables in memory and their context, we could then freeze the engine state to some container and restore it or bits of it

Re: Pendingmessages

2007-03-02 Thread Chipp Walters
! Thanks Ken. on CancelPending pWhat if pWhat = then put all into pWhat switch pWhat case all repeat with x = (the number of lines of the pendingmessages) down to 1 cancel (item 1 of line x of the pendingMessages) end repeat break default repeat with x = (the number of lines

Re: Pendingmessages

2007-03-02 Thread Ken Ray
no 'backlog' which can create quite a confusion when debugging! Thanks Ken. on CancelPending pWhat if pWhat = then put all into pWhat switch pWhat case all repeat with x = (the number of lines of the pendingmessages) down to 1 cancel (item 1 of line x of the pendingMessages

Re: capsLockKey Message? -- bitesize pendingMessages tutorial

2006-03-25 Thread Erik Hansen
a great bitesize tutorial on pendingMessages. thanks. Erik Hansen Set up a loop like this: on checkCaps if the capsLockKey = down then put Capslock ON else put Capslock OFF if the pendingMessages contains checkCaps is false then send checkCaps to me in 10 ticks

Re: pendingmessages

2003-06-19 Thread Terry Vogelaar
Puzzle for Revolutionaries: Watch messages in realtime. There is one message you can't ever see, even though it is almost always in the pendingMessages. What message is that? idle? Terry ___ use-revolution mailing list [EMAIL PROTECTED] http

pendingMessages Puzzle (was pendingmessages)

2003-06-19 Thread Dar Scott
On Thursday, June 19, 2003, at 02:08 AM, Terry Vogelaar wrote: Puzzle for Revolutionaries: Watch messages in realtime. There is one message you can't ever see, even though it is almost always in the pendingMessages. What message is that? idle? I don't know how that is implemented, but I don't

Re: pendingMessages Puzzle (was pendingmessages)

2003-06-19 Thread Dar Scott
On Thursday, June 19, 2003, at 07:56 AM, Dar Scott wrote: On Thursday, June 19, 2003, at 02:08 AM, Terry Vogelaar wrote: Puzzle for Revolutionaries: Watch messages in realtime. There is one message you can't ever see, even though it is almost always in the pendingMessages. What message

Re: pendingMessages Puzzle (was pendingmessages)

2003-06-19 Thread Scott Slaugh
Puzzle for Revolutionaries: Watch messages in realtime. There is one message you can't ever see, even though it is almost always in the pendingMessages. What message is that? idle? I don't know how that is implemented, but I don't think it is ever in pendingMessages(). Nope

Re: pendingMessages Puzzle (was pendingmessages) -- Bingo!! (spoiler)

2003-06-19 Thread Dar Scott
On Thursday, June 19, 2003, at 03:06 PM, Scott Slaugh wrote: Puzzle for Revolutionaries: Watch messages in realtime. There is one message you can't ever see, even though it is almost always in the pendingMessages. What message is that? idle? I don't know how that is implemented, but I don't

Re: pendingmessages

2003-06-18 Thread Dar Scott
see these in real time and even see the Revolution messages. I have never seen messages like mouseUp in pendingMessages. However, messages like moveStopped and socketClosed will show up there. This also can help you learn the format of the value returned from pendingMessages. That value

Re: pendingmessages

2003-06-18 Thread Richard Gaskin
. By checking the right box, you can see these in real time and even see the Revolution messages. I have never seen messages like mouseUp in pendingMessages. However, messages like moveStopped and socketClosed will show up there. This also can help you learn the format of the value returned from

Re: pendingmessages

2003-06-18 Thread Richard Gaskin
Dar Scott wrote: On Wednesday, June 18, 2003, at 10:00 AM, Dar Scott wrote: repeat for each line msgLine in the pendingMessages if char 1 to 3 of item 3 of msgLine != rev then cancel item 1 of msgLine end repeat Whoops, sorry. I just got back from a universe in which Scott added

Re: mouseUp and ?? not in pendingMessages

2002-04-17 Thread Jeanne A. E. DeVoto
At 6:45 PM -0700 4/16/2002, Dar Scott wrote: There's no reason it should. It's not in the pendingMessages at that point, since you haven't used send in time to send a mouseUp message. OK. I guess pendingMessages is only for pending messages sent by send in time. Right. If, during my

Re: mouseUp and ?? not in pendingMessages

2002-04-17 Thread Dar Scott
On Tuesday, April 16, 2002, at 09:11 PM, Jeanne A. E. DeVoto wrote: It looks like in this situation, queued messages are sent before any events are processed - I'll check on this to be sure. That is the impression I have gotten. And I'm learning the lingo: queued messages are sent events

Re: mouseUp and ?? not in pendingMessages

2002-04-16 Thread Scott Rossi
Recently, Dar Scott wrote: I noticed that mouseUp does not show up in pendingMessages. What other pending messages do not show up in pendingMessages? I believe the only pending messages returned are those explicitly sent by you: send myMsg to me in 10 seconds Regards, Scott Rossi

Re: mouseUp and ?? not in pendingMessages

2002-04-16 Thread Jeanne A. E. DeVoto
At 3:20 PM -0700 4/16/2002, Dar Scott wrote: I noticed that mouseUp does not show up in pendingMessages. It does for me. -- Jeanne A. E. DeVoto ~ [EMAIL PROTECTED] Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com

Re: mouseUp and ?? not in pendingMessages

2002-04-16 Thread Dar Scott
On Tuesday, April 16, 2002, at 06:12 PM, Jeanne A. E. DeVoto wrote: At 3:20 PM -0700 4/16/2002, Dar Scott wrote: I noticed that mouseUp does not show up in pendingMessages. It does for me. on mouseUp wait for 2 seconds -- I click a couple times here. put linefeed

Re: mouseUp and ?? not in pendingMessages

2002-04-16 Thread Jeanne A. E. DeVoto
At 6:24 PM -0700 4/16/2002, Dar Scott wrote: on mouseUp wait for 2 seconds -- I click a couple times here. put linefeed = linefeed the pendingMessages after field Report end mouseUp A couple rev messages show up, but no mouse messages for the two clicks. There's no reason

Re: mouseUp and ?? not in pendingMessages

2002-04-16 Thread Dar Scott
On Tuesday, April 16, 2002, at 07:29 PM, Jeanne A. E. DeVoto wrote: There's no reason it should. It's not in the pendingMessages at that point, since you haven't used send in time to send a mouseUp message. OK. I guess pendingMessages is only for pending messages sent by send in time