I have a Sketch plugin that generates three different files based on the user's selection within an artboard. I want to allow the user to select which of the three files they actually want to have generated via checkboxes (instead of always generating all three).
I'm looking for any reference/help with the Cocoascript function (if one exists) on how to build checkboxes in an alert message so when the plugin is trigger, the alert will pop up and offer the three options for the user to select from.
Ok this might not be exactly what you want, but I managed to get what I want by using a selection input from the user.
Try using this snippet:
And yeah I know, ugly as hell. But this is all I could came up with right now, I'll be happy when a real checkbox is made.