Represents a file on disk.
Instance Properties
name |
type |
description |
absoluteURI |
String |
(read only)
The full path name for the file in URI notation.
|
alias |
Boolean |
(read only)
Is the file a file system alias?
|
created |
Date |
(read only)
Creation date for the file.
|
creator |
String |
(read only)
The Macintosh file creator as a four-character string.
|
encoding |
String |
The encoding of the file for read/write operations.
|
eof |
Boolean |
(read only)
Is the file pointer at the end of the File?
|
error |
String |
The last file system error.
|
exists |
Boolean |
(read only)
Returns true if the path of this File refers to an existing file on disk.
|
fsName |
String |
(read only)
The file-system-specific name of this File as a full path name.
|
hidden |
Boolean |
Is the File invisible?
|
length |
Number |
The size of the File in bytes.
|
lineFeed |
String |
The line feed character(s) used.
|
name |
String |
(read only)
The name of the File without the path specification.
|
parent |
Folder |
(read only)
The Folder containing this File.
|
path |
String |
(read only)
The path portion of the absoluteURI .
|
readonly |
Boolean |
May the file be altered?
|
relativeURI |
String |
(read only)
The path name for the File in URI notation, relative to the current folder.
|
type |
String |
(read only)
The Macintosh file type as a four-character string.
|
Properties that are a File
Methods that return a File
Arguments that are a File
name |
in method |
of object |
description |
displacementMapFile |
applyDisplace(horizontalScale,verticalScale,displacementType,…) |
ArtLayer
|
|
doc |
open(doc,[as]) |
Application
|
|
exportIn |
exportDocument(exportIn,[exportAs],[options]) |
Document
|
|
file |
importAnnotations(file) |
Document
|
|
saveIn |
saveAs(saveIn,[options],[asCopy],…) |
Document
|
|
target |
copy(target) |
File
|
The target location. May also< |
textureFile |
applyTextureFill(textureFile) |
ArtLayer
|
|
textureFile |
applyGlassEffect(distortion,smoothness,scaling,…) |
ArtLayer
|
|
value |
putPath(value) |
ActionList
|
|
value |
putPath(key,value) |
ActionDescriptor
|
|