Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  


Sets property value with new text.

Component: AppleScript
Version: 4.2
Mac OS X: Yes
Windows: No
Server: Yes
FileMaker Cloud: No

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


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"


Returns OK or error.


Sets property value with new text.
Lasterror is set.


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.

MBS REALbasic Plugins - Förderverein St. Arnulf Nickenich