• 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: Problems Creating a .zip file with Stuffit 7
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems Creating a .zip file with Stuffit 7


  • Subject: Re: Problems Creating a .zip file with Stuffit 7
  • From: Rob Jorgensen <email@hidden>
  • Date: Mon, 31 Mar 2003 19:36:10 -0500

At 3:22 PM -0600 3/31/03, Young, Rich A. wrote:
Hi,
I'm having problems creating a zip file using Stuffit 7. I can't get seem to
get the 'convert" or "save" routines to take the "into" or "to" parameters
where a location for the new file is to be specified. When I tried recording
a script, for the location of the zip archive I got a long string shown
below that begins with "data furl669C..... ". I am unable to change that to
any directory on my hard drive or desktop.
Because the script I will be using this routine in also needs to create
regular Stuffit archives I can't set the default file to be a zip.

tell application "StuffIt Deluxe"
activate
make new archive with properties {location:file "TurboTEditMac3:Desktop
Folder:aaa.sit"}
stuff {alias "TurboTEditMac3:*work*:file1.pdf", alias
"TurboTEditMac3:*work*:file2.pdf"} into archive "aaa.sit" compression level
medium
save archive "aaa.sit" to +data
furl66696C653A2F2F6C6F63616C686F73742F547572626F54456469744D6163332F4465736B
746F70253230466F6C6465722F6161612E7A6970; format zip compression fast
encryption none self extracting none without recoverability
quit
end tell
Can someone help me make the conversion to zip with Stuffit 7?

I don't think you need the save. This should be close to what you need.

-- uncompiled/untested --

tell application "StuffIt Deluxe"
make new archive with properties {location:file "TurboTEditMac3:Desktop Folder:aaa.zip"}
stuff {alias "TurboTEditMac3:*work*:file1.pdf", alias "TurboTEditMac3:*work*:file2.pdf"} into archive "aaa.zip" compression level maximum
quit
end tell
--
--

Rob Jorgensen
Ohio, USA
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Scripting QT player on X...
  • Next by Date: Re: Mail.app selection of front window
  • Previous by thread: Problems Creating a .zip file with Stuffit 7
  • Next by thread: [ANN] Enhanced Version of Script Timer Released
  • Index(es):
    • Date
    • Thread