SketchAPI
SketchAPI copied to clipboard
The JavaScript plugin library embedded in Sketch
- know when a document is a cloud document - know its cloud id, revision, etc. - perhaps expose some info about the current cloud user (id, name, avatar, etc.)
I have a remote Library with an appcast URL that I've added to sketch. I'd like to get the local file path (not the appcast URL). Right now getDocument().path returns...
When filling text to Text Layer, if the Text Layer's status is editing, the fill value will fail. So, how to cancel Text Layer's editing status?
Is there any way to know whether a library has an update or not ? If the library has an update, how can I know whether the new library has...
Hello! I have some troubles epxporting images. The layer structure is the following: group1 |_ group2 |_ bitmap layer |_ mask The masked bitmap layer contains **no** shadows, but 'group1'...
https://sketchplugins.com/d/1460-find-and-replace-color-from-plugin Would be pretty helpful to not have to implement our own find and replace algo and just use the one in sketch. Aby shared some helpful code in the...
# Summary **Is it possible to get the unlink information in the layer data after the layer was unlinked from the library?** # Relevant Information We have a design library...
Hey there 👋! I would be awesome to open the color picker via the API. I'm not really interested in the full color picker with the gradient but only about...
There is a symbol A from library B which has another symbol C from library D. I can get library B by A.getLibrary(). So how can I get library D?
For those that are trying to target old versions of sketch it's incredibly useful to know when I have to drop down to some sketch headers / appkit methods. For...