----boundary-LibPST-iamunique-1631816430_-_-
Content-type: text/plain
On Thu, 4 May 2006 16:25:14 +0200, you wrote:
>Dear BlackBox Users,
>
>here is a Cookbook questions about "Delay", "WaitUntil" and "Let's see actions"
>Please use Tools -> Decode and read the document Xy/Docu/Boss.odc
>Thank you.
>
>Regards
>
>Helmut Zinn
Hello Helmut,
I have attached a possible solution for this problem. It is pure WinApi, however...
Set global var 'done' to False
Set up a windows timer that triggers after the requested delay
Take over the BlackBox messageloop, until 'done' is true
After 'delay", Timerproc sets 'done' to TRUE
It works smoothly, but there is room for improvement: keyboard accelerators like F1 and MDI
shortcuts like Ctrl-Tab to switch windows don't work during 'delay'. I know how to solve this, but
have to look it up.
Brgds,
Koen.
StdCoder.Decode ..,, ..oo....3Qw7uP5PRPPNR9Rbf9b8R79FTvMf1GomCrlAy2xhX,Cb2x
hXhC6FU1xhiZiVBhihgmRiioedhgrZcZRiXFfaqmSrtuGfa4700zdGrr8rmCLLCJuyKtYcZRiX
7.2.s,MiN.,k,5TWyql.bnayKmKKqGomC5XzET1.PuP.MHT9N9ntumaU2,CJuyKtQC98P9PP7O
NbXmb.2.wUAk2kzj.0E.cUGpmWLuOpoKqvCbHZiYpedhA704TeKKw.bHfEWUmL.6..D6.Ap9U.
2U18J99SqorGqmQCbWBxhYFWUl1UnNHEWUmr.6.Qq7k5kJb.,6.,.9O,cU.ktAcoZimBhWhioh
gnZcZRCY.2.Q42U.EBU.U,U.I3l6w1.0E65.I06.sy1720pd8U0CyHZiYReoBgh3inpZHFf.k,
U.kF5.2.fQ.E,aVQJflrjRUKgZ9sisJ3eMt722UJgZ9MX5UWSmyAdCUIgZ9sw5UNKs4Bg22.Cl
KiUTT.CKfWP68.8lKiUHg.6...................................................
...J.1cUZT1E.MAE.s56.,.16.sF9fP9fR1HA0z.U.2Gk5UVU0Ikmj,2U.kRU.EBE.0.4.I3.0
ES9.Y.2UbV0Y.2UZU,Q,QU0KyBU.2.m00.y,0E.m80.S2.U.YLE1E08Mtr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UIggBgWZhVJA0mmGrl0ml4Kqmqtqk2aU7obyYhjxhfhik3YdpBVONdf
ST9P796JN8PU7AVmVu.UIJiVpBUZRinVcghnN8rN1HU7IC..7OOb9Q19R59OPONb142M1aU3Zd
HhcBAV7M071,,d0U7Ad4,qHE0HEG30GIeGESpaypcKpYGJE8rmCqmaKvKKmmGEKKwaKu0Gqyqr
0LE4KrGKE8rm0rrCLu0GJ.HkfaKr42R7ITvQdPIfPOdPH912ZkAZBAV7M090,76Fd8,tQTPP99
69fQZvPZ96TvM5PRZPN7vC,NNlPO.emI0m4ak2AV3p7PM0.geCZe7ZdUYgjphZhV7gcC767ONN
XvgVB6I.6J9vQdf8rN1HcE.HsId9NNWiwdkhgiRbBAV7Q8UHZimBhixgcwYsBjUIcjRin3Yn2Y
nZiVJio7NDN8r76b8R71mIrin4aU2hggBAFNAV7AV7AHtC,78J76jPMHXl2aUQiZRgjphYRiUI
Zdg,C3kd.gciZgUwha3YsBjUI6kHamR00ELmYBAV3p7GpmCbvgVBgcCZ6lPS30fd9PM1366lPS
30YeZRiohV0CyIhACoruKu8rrmKqKKtCLLCZYRcoJigZcZRiX3Ulb8..umVyKrG5EWQiX3.501
1Z1cQ...sQR,.G20EtH.0.GF.2U.U72U.6.,..1cUXDJcIf9P9fQbf9bWGhigFWE.4Te.sQRdI
f9P9HWE.8z,E.0.LB.wU.kF1.,6.C6W5ktumdsIaLqKKWKqtCK.4D.o3aLq.,cwDE.0U..2V.2
.p0,6.IE.EL4IuG5MNGomQg.6,6..UYU.AU.U.UUQoOF.2UlSw,sbTX,U,U.2.8Mtr.2..c4E.
k.Ue.E.0t.U..61lbAUgQnPt0lLU8ssHorMP91Cor..s20E.2..606.k22.0sfCbUwYX8Utj00
MyfU.Qfc7cJ7a.G01...
--- end of encoding ---
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-1631816430_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Dispos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