folder
For every folder that exists in the file system, you can create a folder object. These inspectors allow you to examine dozens of properties of folder objects. On the Macintosh, there are dozens of specialized folders; access to them depends on the domain. If the domain is not specified, it defaults to the system domain.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Creation
Returns all ancestor folders (recursive parent folders) of the given filesystem object.
- Q: ancestors of file "/var/www/api/relevance/evaluate/bin/qna"
- A: /var/www/api/relevance/evaluate/bin
- A: /var/www/api/relevance/evaluate
- A: /var/www/api/relevance
- A: /var/www/api
- A: /var/www
- A: /var
- A: /
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the color sync folder of the specified OS X domain, typically /System/Library/ColorSync. If the domain is not specified, it defaults to the system domain.Example: color sync folder of system domain - Returns /System/Library/ColorSync.Example: color sync folder of local domain - Returns /Library/ColorSync.
Version | Platforms |
---|---|
8.0.584.0 | Mac |
Returns the CSIDL folder corresponding to the specified integer. The SHGetSpecialFolderLocation function is used to look up paths to special folders, which are identified by passing the specified integer as the second argument of the API call. These values and their meaning are described in the Windows ShlObj.h
file found in the development SDK.
Note that some of these folders do not exist in the Local System context.
- Q: csidl folder 35
- A: C:\ProgramData
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns the documentation folder for the given OS X domain, typically found at /Library/Documentation. If the domain is not specified, it defaults to the system domain.Example: application support folder of user domain - Returns /var/root/Library/Application Support.
Version | Platforms |
---|---|
8.0.584.0 | Mac |
This inspector is available in relevance subsitution action processing. When the action is active, this inspector returns a folder object for __Download
, otherwise it returns a folder object for __Global\sitename\actionid\named
. This inspector is designed for the prefetch process of action execution.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
This is equivalent to folder <binary_string> inspector, but this returns a folder object which is associated with the specified encoding. File objects created by deriving the folder object will be read in the specified encoding.
Version | Platforms |
---|---|
9.5.7.90 | AIX, Debian, Red Hat, SUSE, Solaris, Ubuntu, Windows |
9.5.13.130 | Raspbian |
Returns a folder object for the name provided in <string>, associated with the specified encoding. File objects created by deriving the folder object will be read in the specified encoding.
Version | Platforms |
---|---|
9.5.5.193 | AIX, Debian, Mac, Red Hat, SUSE, Solaris, Ubuntu, Windows |
9.5.13.130 | Raspbian |
Returns a folder of the form "/System/Library/Frameworks/<string>.framework".Note: This inspector appends .framework for you, so don't provide it. The framework inspector needs a domain, and without it defaults to the system domain.Example: framework "MyPrivate" of local domain - Returns /Library/Frameworks/MyPrivate.framework.
Version | Platforms |
---|---|
8.0.584.0 | Mac |
This is equivalent to native folder <string>
inspector, but this returns a folder object which is associated with the specified encoding. File objects created by deriving the folder object will be read in the specified encoding.
Version | Platforms |
---|---|
9.5.5.193 | Windows |
Windows systems, returns the 32 bit "System32" folder. eg: C:\Windows\System32 or C:\Windows\SysWow64. Platforms other than Windows this is a synonym for <root folder>.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns a filesystem object corresponding to a "Windows On Windows 64" system folder, which does not exist on 32-bit Windows. You can find out more about the WOW64 system folder at the Microsoft site: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/getsystemwow64directory.asp.
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns a filesystem object corresponding to a 64-bit system folder. This is the same as the system folder, but with file system redirection disabled. For more information about file redirection, see the Microsoft site http://msdn.microsoft.com/library/default.asp?url=/library/en-us/win64/win64/file_system_redirector.asp.
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns a filesystem object corresponding to a 64-bit folder with the given pathname. On a 32-bit computer, this is equivalent to a normal folder inspector, but on a 64-bit machine, this inspector returns an object that has filesystem redirection disabled. This action is transitive: any resulting filesystem objects will also have redirection disabled. For example, "pathnames of files of x64 folder <path>" will disable redirection when locating the folder, iterating over the files in the folder and calculating pathnames.
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Properties
Returns an application object for the named file located in the folder. See application.Example: exists application "notepad.exe" of the windows folder - Using the application of folder creation method, this example locates the notepad application provided it exists in the Windows folder.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Recursively finds executables in the supplied folder, returning a list of "application" objects, which are basically filesystem_objects.Example: applications of folder "/Users/fizzle/bin" - Returns a list of applications in the specified directory, such as /Users/fizzle/bin/p4, /Users/fizzle/bin/mylocaltool.
This Inspector was replaced by another Inspector returning an application type.
Version | Platforms |
---|---|
8.0.584.0 | Mac |
Iterates through the folders of a folder returning folder objects.
On Unix operating system, this is similar to "folder of
On other operating systems, same as "folder of
Version | Platforms |
---|---|
9.5.5.193 | Mac |
9.5.7.90 | AIX, Debian, Red Hat, SUSE, Solaris, Ubuntu, Windows |
9.5.13.130 | Raspbian |
Returns the drive associated with the specified folder.On Macintosh computers, this returns a <volume> object.On *nix computers, this returns a <filesystem> object.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Red Hat, SUSE, Solaris |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns a file object for the named file located in the folder.Example: exists file whose (name of it contains ".pdf") of folder "name" - Returns True
if some file in the folder has a name including the string ".pdf".
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns a list of files ending in "xxxx". Typically used to identify a dotted extension. Equivalent to a wildcard search for "*xxxx".Example: files ending in ".a" of folder "/usr/lib" - Returns a list of files with the specified ending, such as: /usr/lib/libcpp_kext.a, /usr/lib/libfl.a, /usr/lib/libioabc.a, and others.
Version | Platforms |
---|---|
8.0.584.0 | Mac |
Iterates through the files of a folder returning file objects. When combined with a whose clause you can select files with specific properties. See file.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Iterates through the files of a folder returning file objects whose name matches the wildcard string provided in the name parameter. A wildcard string uses an asterisk to stand for any number of characters (incuding zero), and a question mark to stand for exactly one character. Thus A??.txt would match All.txt and AXE.txt but not all.txt or a.txt. See example below.Example: Number of find files "siteico.bmp" of client folder of current site = 3 - Returns True
if there are 3 files matching the wildcard pattern siteico.bmp.Example: names of find files "*.exe" of windows folder - Returns a list of the names of all the executable programs in the Windows folder.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Finds the folder with the given wildcard name inside another folder. A wildcard string uses an asterisk to stand for any number of characters (incuding zero), and a question mark to stand for exactly one character. Thus A??.txt would match All.txt and AXE.txt but not all.txt or a.txt.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the filesystem objects matching the item wildcard string of the given folder. Macintosh 'items' are analogous to files and folders on other systems. A wildcard string uses an asterisk to stand for any number of characters (incuding zero), and a question mark to stand for exactly one character. Thus A??.txt would match All.txt and AXE.txt but not all.txt or a.txt.
Version | Platforms |
---|---|
8.0.584.0 | Mac |
Iterates through the folders of a folder returning folder objects. When combined with a whose clause, you can select folders with specific properties.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns a filesystem object with the given wildcard name from the specified folder, using HFS format. A wildcard string uses an asterisk to stand for any number of characters (incuding zero), and a question mark to stand for exactly one character. Thus A??.txt would match All.txt and AXE.txt but not all.txt or a.txt.
Version | Platforms |
---|---|
8.0.584.0 | Mac |
Returns a list of the items (file or folder) in the specified folder.Example: names of items of applications folder - Returns a list of applications, such as DS_Store, .localized, AddressBook.app, AppleScript, Calculator.app, Chess.app, DVD Player.app, etc....
Version | Platforms |
---|---|
8.0.584.0 | Mac |
Returns the file with the path specified by <string> relative to the given <folder>. For example: relative file "Safari.app/Contents/MacOS/Safari" of applications folder - Returns the concatenation of the specified folder and the given path, /Applications/Safari.app/Contents/MacOS/Safari.
Version | Platforms |
---|---|
8.0.584.0 | Mac |
Iterates through the folders of a folder returning folder objects.
On Unix operating system, this is similar to "folder of
On other operating systems, same as "folder of
Version | Platforms |
---|---|
9.5.5.193 | Mac |
9.5.7.90 | AIX, Debian, Red Hat, SUSE, Solaris, Ubuntu, Windows |
9.5.13.130 | Raspbian |
Returns the symlink(s) in the specified folder, whether or not they are broken. Note: This behavior differs from looking for files in a folder. Although that returns links along with the files, it doesn't return broken links.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Red Hat, SUSE, Solaris |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |