Total effort performed during this assignment.Ĭalendar Class Properties var buddhist → Calendar read-only var chinese → Calendar read-only var coptic → Calendar read-only var current → Calendar read-only When the assigned resource is to a resource group, the specific resources within that group who are actually assigned to do the work. Var specificAssignments → Array of Assignment read-only A non-local assignment comes from sharing resource loads from a server project repository. Whether this assignment is part of this project or not. Instance Properties var isLocal → Boolean read-only The built-in JavaScript Array constructor.Ĭall to delete this assignment, removing it from it’s task and resource. We recommend using either the user-visible userVersion or the internal buildVersion instead, which are more clear about which version they’re returning and provide their results as Version objects which can be semantically compared with other Version objects. See also buildVersion.ĭeprecated: Recommend using either userVersion or buildVersion.įor backwards compatibility with existing scripts, this returns the same result as buildVersion.versionString. The user-visible version number for the app. Returns a string describing the current platform, currently "iOS" or "macOS". Whether the Option key is currently down. Whether the Control key is currently down.
Whether the Command key is currently down. The internal build version number for the app. Instance Properties var buildVersion → Version read-only On success, the second argument is a Boolean specifying whether the document was already open. The first will be either either the Document or an Error. The passed in function will be passed two argument. The document, if any, that is associated with the calling script can be passed along to help grant permission to open the new document. Note that due to platform sandboxing restrictions, opening the document may fail if the application doesn’t have currently permission to access the given URL. If the document is already open, the reference is passed along. A Promise is returned as well, which may also be used to collect the result of the Alert.Īpplication Instance Functions function openDocument(from: Document or null, url: URL, completed: Function)Īttempts to open the specified document and return a reference to it asynchronously. If a callback function was supplied, it is invoked with the zero-based index of the selected option as its argument. Once the user selects an option, the alert is dismissed. If no options have yet been added, a default “OK” option is added. Instance Functions function show(callback: Function or null) → Promise of Numberĭisplays the alert.
OmniPlan JavaScript API ☰ OmniPlan Classes (v4.2.4)Īn alert interface for displaying information to the user, blocking further interaction until the alert is dismissed.Ĭonstructors new Alert(title: String, message: String) → AlertĬreate a new alert panel with the given title and text contents.