: "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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
***
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
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
--- 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
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
***
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
:
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
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
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
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
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
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
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
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
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
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
--- 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/
__
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
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.
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
> 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
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
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)
>
>
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
44 matches
Mail list logo