Class |
File | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Represents a file in the local file system in a platform-independent manner. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
QuickLinks |
File, changePath, close, copy, createAlias, decode, encode, execute, getRelativeURI, isEncodingAvailable, open, openDialog, openDlg, read, readch, readln, remove, rename, resolve, saveDialog, saveDlg, seek, tell, toSource, toString, write, writeln | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hierarchy | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Properties |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Class |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Methods | ConstructorFile File ([path:
string])
Classstring decode (uri:
string)
string encode (name:
string)
bool isEncodingAvailable (name:
string)
File openDialog (prompt:
string[, filter:
any=null][, multiSelect:
bool=false])
File saveDialog (prompt:
string[, filter:
any=null])
Instancesbool changePath (path:
string)
bool close ()
bool copy (target:
string | File)
void createAlias (path:
string)
bool execute () string getRelativeURI (basePath:
string)
bool open (mode:
string[, type:
string][, creator:
string])
File openDlg (prompt:
string[, filter:
any=null][, multiSelect:
bool=false])
string read ([chars:
number])
string readch ()
string readln ()
bool remove () bool rename (newName:
string)
File resolve () File saveDlg (prompt:
string[, filter:
any=null])
bool seek (pos:
number[, mode:
number=0])
number tell ()
string toSource () string toString () bool write (text:
string)
bool writeln (text:
string)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Element of |
Application.activeScript Application.filePath Application.fullName AssignedStory.filePath Assignment.documentPath Assignment.filePath Book.filePath Book.fullName BookContent.filePath BookContent.fullName ColorSetting.cmsSettingsPath Document.filePath Document.fullName DocumentEvent.fullName EventListener.handler GeneralPreference.temporaryFolder GotoAnchorBehavior.filePath HyperlinkExternalPageDestination.documentPath ImportExportEvent.fullName Library.filePath Library.fullName Link.filePath Movie.filePath OpenFileBehavior.filePath PDFExportPreset.fullName PrintBookletPrintPreference.printFile PrintPreference.printFile PrinterPreset.printFile Reflection.sampleFile ReflectionInfo.sampleFile ScriptPreference.scriptsFolder ServerSetting.iorFile ServerSetting.pluginPaths Sound.filePath XMLExportPreference.preferredBrowser XMLExportPreference.transformFilename XMLImportPreference.transformFilename | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Used in: | any $.evalFile (file: File[, timeout: number=10000]) void AnimationSetting.saveACopy (to: File) void Application.exportPresets (format: ExportPresetFormat, to: File[, versionComments: string][, forceSave: bool=false]) void Application.exportStrokeStyles (to: File, strokeStyleList: Array of StrokeStyle[, versionComments: string][, forceSave: bool=false]) void Application.generateIDMLSchema (to: File[, packageFormat: bool]) void Application.importFile (format: ExportPresetFormat, from: File) void Application.importStyles (format: ImportFormat, from: File[, globalStrategy: GlobalClashResolutionStrategy=GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE]) void Application.loadConditions (from: File[, loadConditionSets: bool]) MotionPreset Application.loadMotionPreset (from: File) PreflightProfile Application.loadPreflightProfile (from: File) void Application.loadSwatches (from: File) void Application.loadXMLTags (from: File) void Application.packageUCF (sourceFolder: File, ucfFile: File[, mimeMediaType: string=application/vnd.adobe.indesign-idml-package]) void Application.saveSwatches (to: File, swatchList: Array of Swatch[, versionComments: string][, forceSave: bool=false]) void Application.saveXMLTags (to: File[, versionComments: string][, forceSave: bool=false]) void Application.unpackageUCF (ucfFile: File, destinationFolder: File) File Assignment.createPackage (filePath: File[, submit: bool=true][, withProperties: Object]) Assignment Assignments.add (filePath: File[, versionComments: string][, forceSave: bool=false][, withProperties: Object]) void Book.close ([saving: SaveOptions=SaveOptions.NO][, savingIn: File][, versionComments: string][, forceSave: bool=false]) void Book.exportFile (format: varies[, to: File][, showingOptions: bool=false][, using: PDFExportPreset][, whichDocuments: Array of BookContent][, versionComments: string][, forceSave: bool=false]) bool Book.packageForPrint (to: File, copyingFonts: bool, copyingLinkedGraphics: bool, copyingProfiles: bool, updatingGraphics: bool, includingHiddenLayers: bool, ignorePreflightErrors: bool, creatingReport: bool[, versionComments: string][, forceSave: bool=false]) void Book.preflight ([to: File][, autoOpen: bool=false]) void Book.save ([to: File][, versionComments: string][, forceSave: bool=false]) void BookContent.preflight ([to: File][, autoOpen: bool=false]) BookContent BookContent.replace (using: File) BookContent BookContents.add (fullName: File[, at: number=-1][, withProperties: Object]) Book Books.add (fullName: File[, withProperties: Object]) void Button.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) void Character.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any Character.place (fileName: File[, withProperties: Object]) void CheckBox.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) void ComboBox.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) void DataMerge.exportFile (to: File[, using: PDFExportPreset][, outputOversetReportFile: File]) void DataMerge.mergeRecords ([outputOversetReportFile: File]) void DataMerge.selectDataSource (dataSourceFile: File) bool DataMergePreference.alertMissingImages (outputMissingImagesReportFile: File) void Document.close ([saving: SaveOptions=SaveOptions.NO][, savingIn: File][, versionComments: string][, forceSave: bool=false]) void Document.exportFile (format: varies, to: File[, using: PDFExportPreset][, withGrids: bool=false][, versionComments: string][, forceSave: bool=false]) void Document.exportStrokeStyles (to: File, strokeStyleList: Array of StrokeStyle[, versionComments: string][, forceSave: bool=false]) void Document.importDtd (from: File) void Document.importFormats (from: File) void Document.importStyles (format: ImportFormat, from: File[, globalStrategy: GlobalClashResolutionStrategy=GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE]) void Document.importXML (from: File) void Document.loadConditions (from: File[, loadConditionSets: bool]) void Document.loadMasters (from: File[, globalStrategyForMasterPage: GlobalClashResolutionStrategyForMasterPage=GlobalClashResolutionStrategyForMasterPage.LOAD_ALL_WITH_OVERWRITE]) void Document.loadSwatches (from: File) void Document.loadXMLTags (from: File) bool Document.packageForPrint (to: File, copyingFonts: bool, copyingLinkedGraphics: bool, copyingProfiles: bool, updatingGraphics: bool, includingHiddenLayers: bool, ignorePreflightErrors: bool, creatingReport: bool[, versionComments: string][, forceSave: bool=false]) Document Document.save ([to: File][, stationery: bool=false][, versionComments: string][, forceSave: bool=false]) void Document.saveACopy ([to: File][, stationery: bool=false]) void Document.saveSwatches (to: File, swatchList: Array of Swatch[, versionComments: string][, forceSave: bool=false]) void Document.saveXMLTags (to: File[, versionComments: string][, forceSave: bool=false]) void EPS.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of string EPS.exportForWeb (to: File) array of varies=any EPS.place (fileName: File[, withProperties: Object]) void EPSText.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any EPSText.place (fileName: File[, withProperties: Object]) bool File.copy (target: string | File) void Font.createSubsetFont (charactersForSubset: string, fontDestination: File) void FormField.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) void Graphic.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of string Graphic.exportForWeb (to: File) array of varies=any Graphic.place (fileName: File[, withProperties: Object]) void GraphicLine.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any GraphicLine.place (fileName: File[, withProperties: Object]) void Group.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) void HtmlItem.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any HtmlItem.place (fileName: File[, withProperties: Object]) void Image.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of string Image.exportForWeb (to: File) array of varies=any Image.place (fileName: File[, withProperties: Object]) void ImportedPage.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of string ImportedPage.exportForWeb (to: File) array of varies=any ImportedPage.place (fileName: File[, withProperties: Object]) void Index.importTopics (from: File) void InsertionPoint.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any InsertionPoint.place (fileName: File[, withProperties: Object]) Library Libraries.add (fullName: File[, withProperties: Object]) void Line.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any Line.place (fileName: File[, withProperties: Object]) void Link.copyLink (to: File[, versionComments: string][, forceSave: bool=false]) void Link.unembed ([to: File][, versionComments: string][, forceSave: bool=false]) void ListBox.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any MasterSpread.place (fileName: File[, placePoint: Array of Measurement Unit (Number or String)][, destinationLayer: Layer][, autoflowing: bool=false][, withProperties: Object]) void MediaItem.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any MediaItem.place (fileName: File[, withProperties: Object]) void MetadataPreference.append (from: File[, affectAll: bool=false]) void MetadataPreference.replace (using: File[, affectAll: bool=false]) void MetadataPreference.save (to: File) void MotionPreset.saveACopy (to: File) void Movie.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any Movie.place (fileName: File[, withProperties: Object]) void MultiStateObject.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) void Oval.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any Oval.place (fileName: File[, withProperties: Object]) void PDF.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of string PDF.exportForWeb (to: File) array of varies=any PDF.place (fileName: File[, withProperties: Object]) void PICT.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of string PICT.exportForWeb (to: File) array of varies=any PICT.place (fileName: File[, withProperties: Object]) array of varies=any Page.place (fileName: File[, placePoint: Array of Measurement Unit (Number or String)][, destinationLayer: Layer][, autoflowing: bool=false][, withProperties: Object]) void PageItem.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any PageItem.place (fileName: File[, withProperties: Object]) void Paragraph.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any Paragraph.place (fileName: File[, withProperties: Object]) void Polygon.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any Polygon.place (fileName: File[, withProperties: Object]) void PreflightProcess.saveReport (to: File[, autoOpen: bool=false]) void PreflightProfile.save (to: File) void RadioButton.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) void Rectangle.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any Rectangle.place (fileName: File[, withProperties: Object]) void SignatureField.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) void Sound.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any Sound.place (fileName: File[, withProperties: Object]) void SplineItem.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any SplineItem.place (fileName: File[, withProperties: Object]) array of varies=any Spread.place (fileName: File[, placePoint: Array of Measurement Unit (Number or String)][, destinationLayer: Layer][, autoflowing: bool=false][, withProperties: Object]) void Story.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) void Text.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any Text.place (fileName: File[, withProperties: Object]) void TextBox.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) void TextColumn.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any TextColumn.place (fileName: File[, withProperties: Object]) void TextFrame.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any TextFrame.place (fileName: File[, withProperties: Object]) void TextStyleRange.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any TextStyleRange.place (fileName: File[, withProperties: Object]) void WMF.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of string WMF.exportForWeb (to: File) array of varies=any WMF.place (fileName: File[, withProperties: Object]) void Word.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) array of varies=any Word.place (fileName: File[, withProperties: Object]) void XMLElement.exportFile (format: varies, to: File[, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false]) void XMLElement.importXML (from: File) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Return |
File Assignment.createPackage (filePath: File[, submit: bool=true][, withProperties: Object]) File File.File ([path: string]) File File.openDialog (prompt: string[, filter: any=null][, multiSelect: bool=false]) File File.openDlg (prompt: string[, filter: any=null][, multiSelect: bool=false]) File File.resolve () File File.saveDialog (prompt: string[, filter: any=null]) File File.saveDlg (prompt: string[, filter: any=null]) |
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |