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. Cloud outliner pro 2 5 2. The first was to open a particular document with
sketch://path/to/file.sketch
.Download The Easy Photo Sketcher Lite/Pro 1.65 and start sketching yourself (cartoonizing yourself) with easy. Convert photo to sketch (photo to cartoon) like a professional. When you read the element, you calculate each of d hashes of this element and update the corresponding values in the sketch. This part is the same for Count Sketch and Count-min Sketch. Insomniac nicely explained the idea (calculating expected value) for Count Sketch, so I will just note that with Count-min Sketch everything is even simpler.
The action
HandleURL
will be triggerend when it is opened with the URL scheme above, including an action context containing three keys:url
The
NSURL
that triggered this action.path
A string containing everything after
sketch://plugin
, e.g. /my.plugin.identifier/my.command.identifier
.query
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:
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 55 11th Street
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.
Old
New
Some better logging of the prototype of wrapped objects
Ssh copy 17 03 1 – intuitive sftp client. 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
Sketch 55 11th St
See something wrong or incomplete? Improve this page.
Home > Iowa State University Digital Press > Journals > Sketch > Vol. 55 > No. 1 (1990)
Sketch
Sketch 55 11th Ave
Recommended Citation
Cherry, Lara (1990) 'Glowing Geomorphic,' Sketch: Vol. 55 : No. 1 , Article 11.
Available at: https://lib.dr.iastate.edu/sketch/vol55/iss1/11
Available at: https://lib.dr.iastate.edu/sketch/vol55/iss1/11
Included in
COinS
Sketch 55
To view the content in your browser, please download Adobe Reader or, alternately,
you may Download the file to your hard drive.
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.