file.setBundle

Syntax file.setBundle (path, setting)

Params path is a path name to the file whose "bundle bit" you wish to set or clear.

setting is a boolean value indicating whether the "bundle bit" should be set or not.

Action Sets the status of the specified file's "bundle bit".

Returns True if the file's "bundle bit" is set, false otherwise.

Examples file.setBundle ("System:TestApp", true)

   » true

file.setBundle ("System:", true)

   » false

Folders don't have a "bundle bit".

Platform Notes This verb is only implemented in the Mac OS version of Frontier.

Notes The "bundle bit" indicates whether or not a file contains a bundle. Bundles allow the Finder to associate icons with applications and documents, and to associate documents with the applications that created them.

Typically, only applications have bundles, but this is not strictly the case. Folders cannot have bundles.

See Also file.hasBundle

Discuss