EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificaciones Pagina 53

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 304
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 52
CHAPTER 3: File System Access File object 53
openDlg()
fileObj.OpenDlg ([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 the user can select an existing file
or files, and creates new
File objects to represent the selected files. Differs from the class method
openDialog() in that it presets the current folder to this File objects parent folder and the current
file to this objects associated file.
If the user clicks OK, returns a
File or Folder object for the selected file or folder, or an array of
objects. If the user cancels, returns
null.
read()
fileObj.read ([chars])
chars
Optional. An integer specifying the number of characters to read. By default, reads
from the current position to the end of the file. If the file is encoded, multiple bytes
might be read to create single Unicode characters.
Reads the contents of the file starting at the current position.
Returns a string that contains up to the specified number of characters.
readch()
fileObj.readch ()
Reads a single text character from the file at the current position. Line feeds are recognized as CR, LF,
CRLF, or LFCR pairs. If the file is encoded, multiple bytes might be read to create single Unicode
characters.
Returns a string that contains the character.
readln()
fileObj.readln ()
Reads a single line of text from the file at the current position, and returns it in a string. Line feeds
are recognized as
CR, LF, CRLF, or LFCR pairs. If the file is encoded, multiple bytes might be read to
create single Unicode characters.
Returns a string that contains the text.
Vista de pagina 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 303 304

Comentarios a estos manuales

Sin comentarios