Re: Using the 'Create Archive' - File Menu Command
Re: Using the 'Create Archive' - File Menu Command
- Subject: Re: Using the 'Create Archive' - File Menu Command
- From: Philip Aker <email@hidden>
- Date: Tue, 24 Apr 2007 08:24:07 -0700
On 2007-04-24, at 08:16:37, John McKenzie wrote:
This is the thread you want:
http://lists.apple.com/archives/applescript-users/2006/Oct/
msg00106.html
"Scripting BOMArchiveHelper possible? of 5 October 2006.
hope this helps
jmck
Use:
set fold to (characters 1 thru -2 of (POSIX path of (choose folder)))
as text
do shell script "ditto -ck " & quoted form of fold & space & quoted
form of (fold & ".zip")
to attain the "Create Archive of …" behavior.
Philip Aker
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden