Return to site

Sketch 54 15

broken image


Sketch

Sleek, smooth and ravenous its times to sketch the deep water beasts! Alt theme: Fruit Cup. Theme posted by DefStar411 Tomorrow: Draw some pool noodles. Free graphing calculator instantly graphs your math problems.

Released 21 May, 2019 – read release notes

Changes

URL Scheme to launch a plugin to a specific command

You can use the new URL scheme to target a particular command of your plugin:

You can also pass in params. Note that this is the second URL scheme. The first was to open a particular document with sketch://path/to/file.sketch.

The action HandleURL will be triggerend when it is opened with the URL scheme above, including an action context containing three keys: Pcdj dex 3 9 0 10 – dj software pc.

url

The NSURL that triggered this action.

Sketch 52.6

Sleek, smooth and ravenous its times to sketch the deep water beasts! Alt theme: Fruit Cup. Theme posted by DefStar411 Tomorrow: Draw some pool noodles. Free graphing calculator instantly graphs your math problems.

Released 21 May, 2019 – read release notes

Changes

URL Scheme to launch a plugin to a specific command

You can use the new URL scheme to target a particular command of your plugin:

You can also pass in params. Note that this is the second URL scheme. The first was to open a particular document with sketch://path/to/file.sketch.

The action HandleURL will be triggerend when it is opened with the URL scheme above, including an action context containing three keys: Pcdj dex 3 9 0 10 – dj software pc.

url

The NSURL that triggered this action.

path

A string containing everything after sketch://plugin, e.g. /my.plugin.identifier/my.command.identifier.

query

Sketch 54 15 18

An object containing the query of the URL, e.g. for sketch://plugin/my.plugin.identifier/my.command.identifier?foo=bar&baz=qux, query will be:

Usage

You'll need to have manifest file setup properly to be able to trigger a function on the HandleURL Action:

In JavaScript, implement the action handler as follows so that when the user navigates to the url sketch://plugin/com.sketchapp.examples.log-message/log-message?foo=Hello%20World a message will appear in the app with the text Hello World.

Note that the user in this case will need to have the plugin installed and a document already open. You can also make a new document for the user like this:

The full plugin example can be found here.

Add isSelected method on a CurvePoint

In case the user is currently editing a path, you can check if a curve point is selected using the curvePoint.isSelected() method.

Usage

If the user is selecting a point of a shape you can check it with:

Egis 1 0 7 – manage your network connection. Here is an example for how you might use it in practice. Create and select a rectangle in your Sketch document.

getSelectedDocument() previously threw an error without an open document, now returns undefined instead

Sketch 52.6

Babel would tranform [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.

This is a great addition with the URL example from earlier. We can confidently check if there is a current document open or not.

Usage

Improve consistency by deprecating Fill.fill in favor of Fill.fillType

This was done to match Border.fileType and other types.

Usage

Setting a fill is more consistent to setting a border. Graphicriver square business brochure 18514018 download free.

Old

Sketch 54 150

New

Some better logging of the prototype of wrapped objects

There was a bug in the 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.

Related resources

See something wrong or incomplete? Improve this page.

Home > Iowa State University Digital Press > Journals > Sketch > Vol. 54 > No. 2 (1989)

Sketch

Recommended Citation

Hauser, Sylvia (1989) 'Eating at Joe's,' Sketch: Vol. 54 : No. 2 , Article 15.
Available at: https://lib.dr.iastate.edu/sketch/vol54/iss2/15

Included in

COinS

To view the content in your browser, please download Adobe Reader or, alternately,
you may Download the file to your hard drive.

NOTE: The latest versions of Adobe Reader do not support viewing PDF files within Firefox on Mac OS and if you are using a modern (Intel) Mac, there is no official plugin for viewing PDF files within the browser window.





broken image