Skip to content

Instantly share code, notes, and snippets.

@uhunkler
uhunkler / sketch-create-table-01.jstalk
Created May 21, 2014 15:15
A basic table creation plugin.
/*global JSTalk:false, NSApplication:false, NSAlert:false, print:true */
// Set the basic variables for an externally run script
// which are set by default when the script is run
// as a plugin from within Sketch. "doc" is defined when the script
// is called from within Sketch.
if (doc === undefined) {
var doc, selection;
}
var sketch = null;