メインコンテンツまでスキップ
バージョン:25.2

result

  • function
  • returns the result (if any) set by the previous command
  • may be a list of results
  • The following commands and functions may set a result value:
    • pop command
    • pull command
    • shell function
    • databaseIdentifier function
    • open application or open document command
    • folder function
    • accept connections command
    • post command
    • hostName function
    • machine function
    • platform function
    • processor function
    • systemInfo function
    • replace command
    • convert command
    • answer command
    • answer file/folder command
    • ask command
    • ask file/folder command
    • open database command (or implicit opening of database)
    • setting head or tail property of a tree node
    • accessing a node of a tree
    • creating a tree
    • accessing the contents of a file
    • accessing the contents of a URL
    • executing a command that does a "recompile"
    • calling Objective-C methods with unrecognized return type
    • send command
    • do command
    • any user command that returns a value
    • read command (timeout, eof, incomplete)
    • reading an RTF string
  • The following set the result to an exception (will throw if the throwExceptionResults is set):
    • loadModule command
    • doAppleScript command
    • makeNewDatabase function
    • close file command
    • close socket command
    • close process command
    • open application
    • open process
    • read from file command
    • read from socket command
    • read from process command
    • read from input command
    • seek command
    • write to file command
    • write to socket command
    • write to process command
    • create file command
    • create folder command
    • create symbolic link command
    • delete file command
    • copy file command
    • move file command
    • rename file command
    • accessing a database with a type that isn't registered
    • accessing a file contents (failed read, wrong encoding)
    • setting a file's contents
    • open file command
    • read command (encoding error)
    • accessing a URL (encoding error)