Scripting Additions Guide
Table Of Contents
CHAPTER 2
Scripting Addition Commands
30 Command Definitions
locked Indicates whether the file or folder is locked (true) or unlocked
(false).
Class: Boolean
Modifiable? No
file creator
Four-character creator code of the file. Returned for files only.
Class: String
Modifiable? No
file type Four-character code for the file type of the file. Returned for files
only.
Class: String
Modifiable? No
short version
The file’s short version, if any. Returned for files only.
Class: String
Modifiable? No
long version
The file’s long version, if any. Returned for files only.
Class: String
Modifiable? No
default application
The default application for a nonapplication file (for example,
TeachText). Used with nonapplication files only.
Class: Alias
Modifiable? No
EXAMPLES
This example returns the entire File Info record for Scriptable Text Editor.
info for file "Hard Disk:Scriptable Text Editor"
--result: {name:"Scriptable Text Editor", creation
date:date "Tuesday, April 6, 1993 11:30:00 AM",
modification date:date "Tuesday, April 6, 1993 11:30:00
AM", icon position:{20, 349}, visible:true, size:88988,
folder:false, alias:false, locked:false, file
creator:"quil", file type:"APPL", short version:"1.1",
long version:"1.1, Copyright © Apple Computer, Inc.
1991-93"}