Finder - Compressing a Folder

Does anyone know how to compress a folder through applescript using the OS X built in BOMarchive application?

A. Zipping folder
1. Zip the following folder ~/Desktop/folder1

Try this thread - http://bbs.applescript.net/viewtopic.php?id=17022

j

thanks j for the direction

here is the working version


do shell script "zip -r ~/Desktop/filename" & " " & "~/Desktop/foldername"