LNS Home
Script Debugger
Download & Buy
x Explore
x Edit
x Run & Debug
x Deploy
What's New In 4.5
bullet Documentation
bullet Blog Posts
My SD Story
Software Updates
 
4.0.9 Update
3.0.9 Update
bullet 2.0.5 Update
x Free Downloads
 
XML Tools
XSLT Tools
x Property List Tools
x List & Record Tools
Register Your Copy of Script Debugger
Join the Script Debugger Mailing List
x AppleScript/ Scripting Links
Products
x Script Debugger 4.5
Site Contents
bullet Mark’s Blog
Product Registration
Bug Reporting
x Freeware
Contacting Us

SD4 Headling


image

Glossary: Bundle

image

A bundle (or package) is a file system entity in Mac OS X whose key characteristic is that although it is a folder, it is portrayed in the Finder as a file. Bundles are useful because they can contain files and folders inside them which the user doesn’t see or even know about. In fact, the user is generally unconscious of the fact that a bundle is a bundle. Just to give a simple example, a Mac OS X-native application is a bundle.

Opening a bundle in the Finder by double-clicking it is like opening an application or document - not like opening a folder. If you want to open a bundle as a folder, control-click the bundle in the Finder, and choose Show Package Contents from the contextual menu.

Inside a bundled compiled script or bundled application, when you Show Package Contents, is a Contents folder. Inside that is a Resources folder. That is where you can keep files that need to travel with the bundle.

Do not touch any of the other files and folders inside the Resources folder, or disturb anything else in the bundle. Doing so can destroy the viability of the bundle. Do not modify the bundle contents while editing the script, as this may prevent saving of the script or have other unwanted consequences.

A bundled compiled script or a bundled application can refer to a file inside its Resources folder using the path to resource scripting addition command.

Every time you save a bundled compiled script or bundled application, the contents of the Resources folder are duplicated and saved anew, as a safety measure. This will alter the modified date of your resource files.



Explore | Edit | Run & Debug | Deploy | What's New In 4.5 | My SD Story


Copyright © 1998-2009 Late Night Software Ltd. - All Rights Reserved.