how can I wait for revCopyFolder execution?
m.schonewille at economy-x-talk.com
Thu Aug 11 07:10:38 EDT 2011
Here's a sample AppleScript.
tell application "Finder"
set myFile to POSIX file "~/desktop/file.txt"
set myNewFile to POSIX file "~/desktop/file2.txt"
copy myFile to myNewFile
on error myErr number myNr
set myScript to "answer error \"A problem occurred (" & myErr & ")\""
tell application "LiveCode 4.6.1" to do script myScript
Economy-x-Talk Consulting and Software Engineering
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:
> 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?
More information about the Use-livecode