Designer News
Where the design community meets.
7 years ago from J A, Design Lead at Gametime
Maybe contact the author to see if he can help?
Without knowing how your file is set up I can't be for sure but I use a variety of artboards and was able to get this to work by iterating through artboards, not slices (line 40).
This is my first foray into Sketch scripting so I need to dig into this a bit more. Ideally, for me, it would preview the current artboard but I'm not sure that's available in the API.
Fun stuff - glad I came across this.
EDIT: It was actually pretty trivial to get my current art board previewed. I'm going to fork this project and get to work.
FORKED: This version will simply preview the currently selected artboard and was tested against the latest Sketch and Skala apps.
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
Thanks for the link. Unfortunately this doesn't work...(think if might only work on sketch 2.2.4) know of anything else?