Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Handle URL Example

  • The action HandleURL will be triggeredd when it is opened with the url sketch://plugin/my.plugin.identifier/my.command.identifier

  • The action context for this action contains three keys:

    • url: the NSURL that triggered this action
    • path: path: a string containing everything after sketch://plugin (eg. /my.plugin.identifier/my.command.identifier).
    • query: an object containing the query of the URL (eg. for sketch://plugin/my.plugin.identifier/my.command.identifier?foo=bar&baz=qux, query will be { foo: 'bar', baz: 'quz' }).
  • Note that to run the plugin you will need to have a document open

You can’t perform that action at this time.