Skip to main content
Version: 25.4

folder

Global Property, Function, Type for is a Operator, Property of a fileDescription Object, Keyword

  • Synonym: directory

Global Property

The global property the folder specifies the current working folder. Any file or file system operations that don’t specify the full path to a file will assume the file is within this folder. This includes reading or writing a file, accessing its properties, and file system operations such as creating, deleting, moving, or copying a file or folder.

Example:

set the folder to "~/Documents"

Function

Returns the parent folder of a given file or folder.

Example:

put the folder of "/tmp/logs/artemis.log" —> "/tmp/logs/"

Related terms in the SenseTalk Dictionary.

Type for is a Operator

Example:

put "/tmp" is a folder —> True

Property of a fileDescription Object

Keyword

  • the home folder, the documents folder, etc.
  • copy folder ... to folder
  • create folder ... in folder
  • delete folder
  • move folder ... to folder
  • rename folder ... as folder
  • answer file in folder
  • answer folder ... in folder
  • ask folder ... in folder

Related terms in the SenseTalk Dictionary.