EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificações Página 60

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 59
CHAPTER 3: File System Access Folder object 60
create()
folderObj.create ()
Creates a folder at the location given by this objects path property.
Returns true if the folder was created successfully.
execute()
folderObj.execute ()
Opens this folder in the platform-specific file browser (as if it had been double-clicked in the file
browser).
Returns true immediately if the folder was opened successfully.
getFiles()
folderObj.getFiles ([mask])
mask
Optional. A search mask for file names. A string that can contain question mark (?) and
asterisk (
*) wild cards. Default is "*", which matches all file names.
Can also be the name of a function that takes a
File or Folder object as its argument.
It is called for each file or folder found in the search; if it returns true, the object is added
to the return array.
N
OTE: In Windows, all aliases end with the extension .lnk; ExtendScript strips this from
the file name when found, in order to preserve compatibility with other operating
systems. You can search for all aliases by supplying the search mask
"*.lnk", but note
that such code is not portable.
Retrieves the contents of this folder, filtered by the supplied
mask.
Returns an array of
File and Folder objects, or null if this objects referenced folder does not exist.
getRelativeURI()
folderObj.getRelativeURI ([basePath])
basePath
Optional. A string containing the base path for the relative URI. Default is the current
folder.
Retrieves the path for this folder relative to the specified base path or the current folder, in URI
notation.
Returns a string containing the relative URI.
remove()
folderObj.remove ()
Deletes the empty folder associated with this object from disk, immediately, without moving it to
the system trash. Folders must be empty before they can be deleted. Does not resolve aliases;
instead, deletes the referenced alias or shortcut file itself.
N
OTE: Cannot be undone. It is recommended that you prompt the user for permission before
deleting.
Returns true if the folder is deleted successfully.
Vista de página 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 303 304

Comentários a estes Manuais

Sem comentários