sketch://path/to/file.sketch
.HandleURL
will be triggerend when it is opened with the URL scheme above, including an action context containing three keys:url
NSURL
that triggered this action.path
sketch://plugin
, e.g. /my.plugin.identifier/my.command.identifier
.query
sketch://plugin/my.plugin.identifier/my.command.identifier?foo=bar&baz=qux
, query will be:HandleURL
Action:sketch://plugin/com.sketchapp.examples.log-message/log-message?foo=Hello%20World
a message will appear in the app with the text Hello World.isSelected
method on a CurvePoint
curvePoint.isSelected()
method.getSelectedDocument()
previously threw an error without an open document, now returns undefined
instead[nativeDocument] = NSApplication.sharedApplication().orderedDocuments()
assuming that it’s a proper array but it’s not, it’s an NSArray
so it would throw an error.Fill.fill
in favor of Fill.fillType
Border.fileType
and other types.util.inspect
algorithm (which console uses) that makes it think the prototype of a wrapped object is a wrapped object and uses the code path for wrapped object. This has been fixed for better logging output.