MACSCRPT Archives

May 2007

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Tue, 29 May 2007 10:22:41 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (53 lines)
On May 29, 2007, at 10:08 AM, John A.M. Darnell wrote:

> We are attempting to develop an automated backup process for our  
> projects
> and so far we have this code (built partly by recording our steps  
> and then
> by removing the intermediate tell-end tell statements):
>
>
with timeout of 20* minutes seconds--or hours or days
>         tell application "StuffIt Deluxe"
>                 activate
>                 make new archive with properties {location:file  
> "Macintosh
> HD:Users:PRG04:Desktop:backups:current backups:Data Mover.sitx"}
>                 stuff {alias "Macintosh HD:Source:Common Source:"}  
> into
> archive "Data Mover.sitx" compression level maximum
>                 stuff {alias "Macintosh HD:Source:Data Mover v3:"}  
> into
> archive "Data Mover.sitx" compression level maximum
>       ...
>                 close window "
>                 quit
>         end tell
>
end timeout

> Some of these projects are very, very large.  The problem is that  
> the very
> first archive command, which is acting on one of those large projects,
> looks like it is about to finish when Applescript displays a "timeout
> while waiting for Apple event."
>
> Is there any way around this dilemma?
>
> R,
>
> John A.M. Darnell
> Project Leader
> Internal Software Development
> Walsworth Publishing Company
> John may also be reached at johnamdarnell (at) gmail dot com
>
> Question:  In the hit movie, "Indiana Jones and the Temple of  
> Doom," the
> story begins with a marvelous tune sung by the leading female star  
> in a
> posh Shanghai night club.  What is the name of that nightclub?   
> Answer:
> the name of the nightclub is Club Obi Wan.
>

ATOM RSS1 RSS2