EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificaciones Pagina 49

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 304
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 48
CHAPTER 3: File System Access File object 49
File object properties
These properties are available for File objects.
openDialog()
File.openDialog ([prompt, filter, multiSelect])
prompt
Optional. A string containing the prompt text, if the dialog allows a prompt.
filter
Optional. A filter that limits the types of files displayed in the dialog.
X In Windows, a filter expression, such as "JavaScript:*.jsx;All files:*.*"
X
In Mac OS, a filter function that takes a File instance and returns true if the file
should be included in the display, false if it should not.
multiSelect
Optional. Boolean. When true, the user can select multiple files and the return
value is an array. Default is false.
Opens the built-in platform-specific file-browsing dialog in which a user can select an existing file or
multiple files, and creates new
File objects to represent the selected files.
If the user clicks OK, returns a
File object for the selected file, or an array of objects if multiple files
are selected. If the user cancels, returns
null.
saveDialog()
File.saveDialog (prompt[, preset])
prompt
A string containing the prompt text, if the dialog allows a prompt.
filter
Optional, in Windows only. A filter that limits the types of files displayed in the
dialog. A filter expression, such as
"JavaScript:*.jsx;All files:*.*"
Not used in Mac OS.
Opens the built-in platform-specific file-browsing dialog in which a user can select an existing file
location to which to save information, and creates a new
File object to represent the selected file
location.
If the user clicks OK, returns a
File object for the selected file location. If the user cancels, returns
null.
absoluteURI
String The full path name for the referenced file in URI notation. Read only.
alias
Boolean When true, the object refers to a file system alias or shortcut. Read only.
created
Date The creation date of the referenced file, or null if the object does not
refer to a file on disk. Read only.
creator
String In Mac OS, the file creator as a four-character string. In Windows or UNIX,
value is
"????". Read only.
displayName
String The localized name of the referenced file, without the path. Read only.
Vista de pagina 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 303 304

Comentarios a estos manuales

Sin comentarios