-
src/my-command.js
```javascript
var writeTextToFile = function(text, filePath) {
var t = [NSString stringWithFormat: @ "%@", text],
f = [NSString stringWithFormat: @ "%@", filePath];
…
-
What exactly does forget about cocoascript if you use Skpm? These are words from your skpm.io webpage
There is a very import function that cocoascript has for events like button click or text view c…
ghost updated
5 years ago
-
Hey, I have a scenario in which I need to close the browser window from different script (and scope) that it was created in. But unfortunately, when I try to fire `.close` method of `BrowserWindow` cl…
-
This may not be deemed high priority, but it feels like there is unnecessary friction in managing both the eslint globals and flow definitions. I have a few questions that I believe would need to be a…
-
In sketch 56.2 the latest version of plugin pay version 5.0.2 does not work
this is the log. thankyou
TypeError: null is not an object (evaluating 'context.plugin.urlForResourceNamed("icon.png").p…
-
Hello, I have found a problem; but I don't know why.
from MacOS10.15Beta,
SketchApp Run Script:
```
const r = NSUTF8StringEncoding
console.log(r)
```
The result always 0, no matter what Ob…
ghost updated
5 years ago
-
Steps to reproduce:
1. Create a project via `skpm create my-plugin-name --template=skpm/with-webview`
2. Open `package.json` and update the `start` command to include the `--run` flag. E.g. `"start"…
-
Good Morning / Afternoon / Night (depending on your timezone :)!
As you probably know, Sketch will switch its scripting backend from JSTalk to CocoaScript in the upcoming version 3.0.2.
As a result …
-
After updating from `3.0.1` -> `3.0.7` I'm getting an error when calling executeJavascript. Looks like the issue disappears if I roll back to `3.0.2`. `3.0.3+` doesn't work.
Here is how I'm calling…
-
Experimenting with the latest version of Sketch (55.2) no longer seems to work. Possibly patched out?