Re: Wait with messages

2008-03-07 Thread Camm29
: "Mark Schonewille" <[EMAIL PROTECTED]> To: "How to use Revolution" Sent: Saturday, February 23, 2008 6:09 PM Subject: Re: Wait with messages > Oh... Camm, not Curry, so sorry for that. > > It is really friendly of you to thank me(?) in advance, but do you > ha

Re: Wait with messages

2008-02-23 Thread Mark Schonewille
stop button is pressed. Thanks in advance Camm - Original Message - From: "Mark Schonewille" <[EMAIL PROTECTED]> To: "How to use Revolution" Sent: Friday, February 22, 2008 1:37 PM Subject: Re: Wait with messages Hi Curry, There might be a problem caused

Re: Wait with messages

2008-02-23 Thread Camm29
TED]> To: "How to use Revolution" Sent: Friday, February 22, 2008 1:37 PM Subject: Re: Wait with messages > Hi Curry, > > There might be a problem caused by the fact that the script is > currently running, but since I don't see how you change x, I am not > sure about thi

Re: Wait with messages

2008-02-22 Thread Mark Schonewille
Hi Curry, There might be a problem caused by the fact that the script is currently running, but since I don't see how you change x, I am not sure about this. Usually, I use a custom property or the hilite of a button rather than a variable (which in your case seems to be set and read in t

Wait with messages

2008-02-22 Thread camm29
I have a loop with :- repeat . do something (takes about 250ms) wait 1 millisecond with messages if x=1 then exit repeat . do something (takes about 250ms) wait 1 millisecond with messages if x=1 then exit repeat end repeat I have a button that makes x =1 to exit 1 card and go to another

Re: canceling a "wait with messages" call...

2007-08-31 Thread Andre Garzia
Thanks all for the messages! What I am doing is mixing async and sync behaviors. I want the network access to go async so that it doesn't block the ui or the application but I want the handler that started the async call to be stopped while the transaction is happening. The script is a Bills of Ma

Re: canceling a "wait with messages" call...

2007-08-29 Thread Dave Cragg
I don't exactly follow the details of your problem, but I'm guessing this is a general gotcha when using libraries that use "wait ... with messages" or "wait for messages" to implement asynchronous behaviour. As you can imagine, libUrl is full of this stuff.

Re: canceling a "wait with messages" call...

2007-08-29 Thread Jim Ault
David gave you an answer that works for downloading, but there could be other events you want to "wait while" Suggestion: try a custom property wait while the cpBusyFlag of this stack is not empty --since it might trigger when a script local will not --seems like a bug to me Another though

Re: canceling a "wait with messages" call...

2007-08-29 Thread David Bovill
Andre - the way I've done this was by using the "libURLSetStatusCallback" command - you can then check for anything and do your download asynchronously. When the callback is "downloaded" then fetch the next item from your list? ___ use-revolution mailing

canceling a "wait with messages" call...

2007-08-29 Thread Andre Garzia
Hello Friends, tricky newbie question here. I have a handler which is a looper. It will loop downloading files from a queue. It uses a line: wait while lCurrentFileStatus is empty with messages to let the handler block (but not the application) till the download is complete or blocked. Tricky

Re: Problem with wait with messages

2007-07-09 Thread Jim Ault
On 7/9/07 5:57 PM, "David Bovill" <[EMAIL PROTECTED]> wrote: > Ken - what you suggest works... > > but does wait with messages or wait for messages actually work? I have never > got it working - nor have I seen any example scripts with it working - and > the

Re: Problem with wait with messages

2007-07-09 Thread J. Landman Gay
David Bovill wrote: Ken - what you suggest works... but does wait with messages or wait for messages actually work? I have never got it working - nor have I seen any example scripts with it working - and the docs etc all point to doing it "another way" :) I've used it with

Re: Problem with wait with messages

2007-07-09 Thread David Bovill
Ken - what you suggest works... but does wait with messages or wait for messages actually work? I have never got it working - nor have I seen any example scripts with it working - and the docs etc all point to doing it "another way" :) On 09/07/07, Ken Ray <[EMAIL PROTECTED]> wr

Re: Problem with wait with messages

2007-07-09 Thread Ken Ray
On Mon, 9 Jul 2007 21:41:45 +0100, Dave wrote: > Hi All, > > I have a handler that gets called on a regular basis via the "send > xxx in N seconds" command. > > The handler then does some processing, but but wait for a task to > complete, to do the wait I use: > > if TaskNotDone = true then

Re: Problem with wait with messages

2007-07-09 Thread Jim Ault
s a positive integer. Comments: The wait with messages form of the wait command , when used in a handler, pauses that handler while allowing Revolution to execute other handlers while waiting. The waitDepth function indicates how many such statements are currently executing--that is, how many handlers

Re: Problem with wait with messages

2007-07-09 Thread David
I am not clear what you need to do: but it sounds like you want to use the wait with messages form: http://handlers.rev-co.de/wiki/wait On the other hand I have never had the need to use it - and I cannot get "wait for messages" to work properly. Does anyone have an example of how y

Re: Problem with wait with messages

2007-07-09 Thread Mark Smith
Assuming the handler is called "doProcess" : on doProcess if taskNotDone then send "doProcess" to me in 1 second end doProcess Best, Mark On 9 Jul 2007, at 21:41, Dave wrote: Hi All, I have a handler that gets called on a regular basis via the "send xxx in N seconds" command. The han

Problem with wait with messages

2007-07-09 Thread Dave
Hi All, I have a handler that gets called on a regular basis via the "send xxx in N seconds" command. The handler then does some processing, but but wait for a task to complete, to do the wait I use: if TaskNotDone = true then wait 1 second with messages end if I thought that this wo

"wait with messages" tutorial ?

2005-06-01 Thread jbv
Hi list, Is there a (detailed) stack / tutorial about the "wait with messages" command ? especially when associated with a POST, and a script waiting for the server to respond ? Thanks, JB (waiting for messages) ___ use-revolution mailin

Re: wait with messages revisited.

2004-11-02 Thread K
From: Dar Scott [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon, 1 Nov 2004 14:59:58 -0700 Subject: Re: wait with messages revisited. On Nov 1, 2004, at 9:24 AM, K wrote:>if gblA is true then return trueAre you actually doing this?Or this? if gblA t

Re: wait with messages revisited.

2004-11-01 Thread Dar Scott
On Nov 1, 2004, at 9:24 AM, K wrote: if gblA is true then return true Are you actually doing this? Or this? if gblA then exit repeat Dar Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ***

Re: wait with messages revisited.

2004-11-01 Thread K
A completed This is not the case on Win32 is different. How is this supposed to work? The documentation does not refer to any dependency for "wait with messages" or even "wait until x with messages". I am confused!!! >Okay, some time ago everyone assisted me with

wait with messages revisited.

2004-10-28 Thread K
Okay, some time ago everyone assisted me with understanding how "wait with messages" functions. I am still a bit confused. In my testing I found the following. Example code: [Button A] global evtA on mouseUp put "Waiting on event (A)" & cr into field edtStatu

Re: wait with messages

2004-08-13 Thread Erik Hansen
--- Dar Scott <[EMAIL PROTECTED]> wrote: > > On Aug 12, 2004, at 6:16 PM, Erik Hansen wrote: > > > if you had your website URL as part of your > > signoff then it would be easier to find > > your stacks! > > Like this? > > Dar > > > Dar Scott Cons

Re: wait with messages

2004-08-12 Thread Dar Scott
On Aug 12, 2004, at 6:16 PM, Erik Hansen wrote: if you had your website URL as part of your signoff then it would be easier to find your stacks! Like this? Dar Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ***

Re: wait with messages

2004-08-12 Thread Erik Hansen
if you had your website URL as part of your signoff then it would be easier to find your stacks! Thanks for the advice, Erik Hansen = [EMAIL PROTECTED]http://www.erikhansen.org __ Do you Yahoo!? Yahoo! Mail is new and improved - Check i

Re: wait with messages

2004-08-11 Thread K
: From: Dar Scott [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Wed, 11 Aug 2004 10:29:34 -0600 Subject: Re: wait with messages On Aug 11, 2004, at 9:55 AM, Dar Scott wrote:>> Without polling what is the best way to wait (while messages continue >> processing) for a viriabl

Re: wait with messages

2004-08-11 Thread Dar Scott
On Aug 11, 2004, at 9:55 AM, Dar Scott wrote: Without polling what is the best way to wait (while messages continue processing) for a viriable state to change? Since wait with messages is presenting several anomalies I cannot explain. One way would be to use a custom command (hander) to set the

Re: wait with messages

2004-08-11 Thread Dar Scott
On Aug 10, 2004, at 2:06 PM, K wrote: I seems that when I execute a wait with messages for a specific contition and another event execute a wait with messages on a different condition the seconds wait cancels the first. In other mail: Task aka event '1' is executing code but needs to

Re: wait with messages

2004-08-10 Thread Troy Rollins
On Aug 11, 2004, at 1:12 AM, Richard Gaskin wrote: The Primer on Message Mechanics might give you some ideas, too. Find it here: http://www.swcp.com/dsc/revstacks.html That's a wonderful tutorial Dar. The animated message path simulation is great! Thanks for posting that. Yup. Should be r

Re: wait with messages

2004-08-10 Thread Richard Gaskin
Dar Scott wrote: The Primer on Message Mechanics might give you some ideas, too. Find it here: http://www.swcp.com/dsc/revstacks.html That's a wonderful tutorial Dar. The animated message path simulation is great! Thanks for posting that. -- Richard Gaskin Fourth World Media Corporatio

Re: wait with messages

2004-08-10 Thread Dar Scott
On Aug 10, 2004, at 2:06 PM, K wrote: Sorry, I did not explaine the situation well enough. I seems that when I execute a wait with messages for a specific contition and another event execute a wait with messages on a different condition the seconds wait cancels the first. The waits will nest

RE: wait with messages

2004-08-10 Thread K
Sorry, I did not explaine the situation well enough. I seems that when I execute a wait with messages for a specific contition and another event execute a wait with messages on a different condition the seconds wait cancels the first. Kevin

wait with messages

2004-08-10 Thread K
I cannot wait with messages on more than a single condition! I this the intended behavior? Why can't I wait on more than one condition? Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, o

Re: wait with messages...

2004-02-04 Thread Scott Rossi
Recently, "Chipp Walters" <[EMAIL PROTECTED]> wrote: > Can you provide an example where you would use one and not the other or > not 'send'? Chipp -- I didn't see too many other responses here so I'll chime in... One thing I recently started using &q

Re: OT wait with messages...

2004-02-01 Thread Chipp Walters
I reckon. --- Chipp Walters <[EMAIL PROTECTED]> wrote: YIH (yep it helps) you talkin Tex ageein. = [EMAIL PROTECTED]http://www.erikhansen.org ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolut

RE: wait with messages...

2004-02-01 Thread erik hansen
--- Chipp Walters <[EMAIL PROTECTED]> wrote: > YIH (yep it helps) you talkin Tex ageein. = [EMAIL PROTECTED]http://www.erikhansen.org __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ __

Re: wait with messages...

2004-02-01 Thread Dar Scott
On Sunday, February 1, 2004, at 02:47 AM, Dave Cragg wrote: repeat until wait for messages end repeat It seemed the same as this: wait until with messages. I think I get it. Use the first for testing something that will be set by a callback. Use the second if there is no callback as in poll

RE: wait with messages...

2004-02-01 Thread Dave Cragg
At 12:14 am -0600 1/2/04, Chipp Walters wrote: Would it be something like: wait for 4 seconds with messages I'm not sure if that will work. The old Metacard docs only show the "with messages" option being valid with the "wait until" or "wait while" variations of wait. I.e. it needs a condition.

RE: wait with messages...

2004-02-01 Thread Martin Baxter
Regarding remote popups, I'd like to add the esoteric information that you need to use this wait with messages conditional in standalones that run under mac system 7 as well as windows. 68k standalones tested under emulation on a PPC don't need this, but when run under system 7 they

RE: wait with messages...

2004-02-01 Thread Ken Ray
> 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 Right, allowing processing to continue while it waits. > wait for messages

RE: wait with messages...

2004-01-31 Thread Chipp Walters
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

RE: wait with messages...

2004-01-31 Thread Ken Ray
nder.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) > >

wait with messages...

2004-01-31 Thread Chipp Walters
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 whats