Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

AppleScript.SetPropertyValue

Sets property value with new text.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AppleScript 4.2 Yes No Yes, macOS only No No

MBS( "AppleScript.SetPropertyValue"; Script ID; Name; Value )

Parameters

Parameter Description Example value
Script ID The Id of the script you want to execute. This ID returned by the AppleScript.Compile function. 1
Name The name of the property. "MyValue"
Value The value of the property. "Hello"

Result

Returns OK or error.

Description

Sets property value with new text.
Lasterror is set.

Examples

Sets a property:

Set Variable [$r; Value:MBS( "AppleScript.SetPropertyValue"; $scriptID; "MySubject"; AppleScript Properties::Subject)]

See also


AppleScript.Run   -   Audit.Changed

Feedback: Report problem or ask question.




Links
MBS FileMaker blog