Hi William,
The wait command in your script just adds another delay, because
RunRev is completely blocked while waiting. If you add "with messages"
to the command, you'll give the engine a chance to do its thing while
your script waits. I don't think this will make much of a difference,
except that going to the next card will always take more than 7 seconds.
I have had the same problem several times, too. I wonder whether it
has something to do with QuickTime. Getting the QTVersion in the
preOpenStack handler will load QT before the first card shows. Maybe
this moves the delay to the startup time of your programme/stack.
Setting the dontUseQT to true doesn't load QT at all, which might take
away the delay completely. I might be all wrong about this, but I'm
curious whether it makes any difference.
Do any scripts run when cd "start_2x2" opens?
P.S. There's also http://runrev.info/rrforum
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
Economy-x-Talk is always looking for new projects. Contact me for a
quote http://economy-x-talk.com/contact.html
Download Clipboard Link http://clipboardlink.economy-x-talk.com and
share the clipboard of your computer over the local network.
On 2 jun 2010, at 11:00, William de Smet wrote:
Hi there,
I notice quite some delay in opening cards in my new app on Win 7.
On OSX
all is fine (I asked before on the list).
I click a button and nothing happens (so it seems). After some time
the next
card is shown.
It is just a button with the most simple script: go cd "start_2x2".
In the end it will be an app with about 100 cards in it I think so
the delay
can take a while?
For now I came up with the following, so the user has some visual
feedback.
*on* mouseUp
*unlock* cursor
*set* cursor to watch
*lock* cursor
*wait* 7 sec
*go* cd "start_2x2"
*end* mouseUp
The 7 sec is just my idea and it can take much longer.
Is there another way to do this? I want the 'wait' to be an exact time
(after the wait the next card opens).
Thanks in advance.
greetings,
William
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution