Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c080014c15
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (17 sloc) 0.472 kb
// this script requires the use of jstalk-sketch, in the extras folder.
var sketch = JSTalk.application_("Sketch");
var doc = sketch.orderedDocuments()[0]
var rectangle = doc.makeNewBox();
rectangle.setSize_(NSMakeSize(100, 100));
tell application "Sketch" tell document 1 set o to make new box set width of o to 100 set height of o to 100 set stroke thickness of o to 10 end tell end tell
Jump to Line
Something went wrong with that request. Please try again.