We are thrilled to announce that we are now beginning the full release of the Script Editor API!
This past summer, we released the beta for the Script Editor API. The team has since heard your feedback and has been hard at work to meet your needs!
We want to remind you that this is not the end of the API now that we have reached the start of full release and we highly encourage you to continue to send in any further API requests as a feature request!
Here are some of the functions which been released in the beta over the past few weeks which all developers will now have access to:
OpenScriptDocumentAsync(script: LuaSourceContainer): Tuple YIELDS
Requests that a Script Editor open the specified script. Returns (true, nil) if the request succeeds. Returns (false, string) if the request fails, with a string that describes the problem.
CloseAsync(): Tuple YIELDS
Requests that the editor associated with this document close. Yields the current thread until the editor responds to the request.
RegisterAutocompleteCallback(name: string, priority: number, callbackFunction: function): nil
Registers an Autocomplete callback
DeregisterAutocompleteCallback(name: string): nil
Removes a previously registered callback with the name name. Documentation:
For information on the rest of the APIs, please check out the following links:
The Script Editor API has begun rollout and is continuing to ramp up to 100% in the coming days. We will be paying close attention to any potential issues with the API throughout the rollout and beyond and deal with them accordingly. We are extremely excited to see what the community can build with these new tools!