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

AppleScript.SetPropertyValue

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 )

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 Real Studio Plugins - Nachhilfe in Mendig