I need help with AppleScript
Here is a simple script to zip and unzip files:
on zip(fileList, folderSpec)
tell application "ZipIt"
New window
Add fileList
Compress to folderSpec
Close window
end tell
end zip
on unzip(zipFile, toFolder)
tell application "ZipIt"
open zipFile
Select All
Extract into toFolder
Close window
end tell
end unzip
ZipIt now supports the Apple Object Model for AppleEvents, so it is possible
to zip and unzip files using only standard events (e.g., "copy myFile to
after last file of window 1" to add a file to an archive).
If you can't
figure out why your AppleScript isn't doing what you expect with regard to ZipIt,
and you think it's a bug, you can send me email.
Back to Frequently Asked Questions
I've tried this, but I'm still stuck
|