• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tar/gzip is messing up icons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >RE: Tar/gzip is messing up icons (From: "Jan-Bultereys" <email@hidden>)

  • Prev by Date: Re: what does this error mean? How can I fix it?
  • Next by Date: Re: resize artboard in Illustrator CS
  • Previous by thread: RE: Tar/gzip is messing up icons
  • Next by thread: Re: Tar/gzip is messing up icons
  • Index(es):
    • Date
    • Thread