Re: Tar/gzip is messing up icons
Re: Tar/gzip is messing up icons
- Subject: Re: Tar/gzip is messing up icons
- From: "Adam K. Wuellner" <email@hidden>
- Date: Thu, 13 Jan 2005 13:35:30 -0600
On Jan 13, 2005, at 11:20 AM, Jan-Bultereys wrote:
Yes emmanuel,
My first script/option I used the 'dropstuff application'
but I ran into the problem that I wasn't able to close the
terminal window "after" the compression was done.....
[SNIP]
Any reason you can't just script DropStuff directly, rather than using
the CLI?
tell application "DropStuff"
stuff alias "PATHNAME:STUFFED_FILES:" extracting Windows into alias
"PATHNAME:ARCHIVE.sit"
end tell
(above not tested)
You might have to generate separate archives for Mac and Windows
clients.
If anyone knows how to quit/close the Terminal after the compression
is done that would also solve my problem.
This is what I had:
tell application "Finder"
set file_list to every item of folder "PATHNAME:STUFFED_FILES:"
repeat with temp_file in file_list
set temp_name to name of temp_file
set stuff_name to quoted form of temp_name
set stuffcom to "cd /PATHNAME/STUFFED_FILES;stuff -D " & stuff_name
& ""
tell application "Terminal"
activate
do script stuffcom
quit -- would this not work?
end tell
end repeat
end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden