Hi Mark,
thanks for your quick answer, I will give it a try.

Because you have another approach I assume that it is a standard behavior
with rev commands, that they don't wait?
Up to know I presumed that every command is waiting up to it's end of
execution. Are there more commands, which are not waiting?

Thanks
Tiemo

> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:use-livecode-
> [email protected]] Im Auftrag von Mark Schonewille
> Gesendet: Donnerstag, 11. August 2011 13:11
> An: How to use LiveCode
> Betreff: Re: how can I wait for revCopyFolder execution?
> 
> Tiemo,
> 
> Here's a sample AppleScript.
> 
> try
>       tell application "Finder"
>               set myFile to POSIX file "~/desktop/file.txt"
>               set myNewFile to POSIX file "~/desktop/file2.txt"
>               copy myFile to myNewFile
>       end tell
> on error myErr number myNr
>       set myScript to "answer error \"A problem occurred (" & myErr &
")\""
>       tell application "LiveCode 4.6.1" to do script myScript
> end try
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> What does that error mean? Buy LiveCodeErrors for iPhone now
http://qery.us/v4
> A must-have for LiveCode programmers.
> 
> On 11 aug 2011, at 12:54, Tiemo Hollmann TB wrote:
> 
> > Hello,
> >
> > I want to copy a big folder by script and wait for the result to prompt
an
> > appropriate message.
> >
> > But after fireing revCopyFolder my script runs on without waiting for
the
> > execution of revCopyFolder.
> >
> > Is this a normal behavior? Anything I can do to wait for the finish?
> >
> > Thanks
> >
> > Tiemo
> >
> 
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your
subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to