Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

onRun and onSetup handlers not found #5

Closed
jasonbirchler opened this issue Mar 6, 2018 · 3 comments
Closed

onRun and onSetup handlers not found #5

jasonbirchler opened this issue Mar 6, 2018 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@jasonbirchler
Copy link

I am running Sketch 49 and when i run Show Handy Menu and Setup Handy Menu, I see the following errors in the Sketch console:

Error in command script Script at path /Users//Library/Application Support/com.bohemiancoding.sketch3/Plugins/HandyMenu.sketchplugin/Contents/Sketch/script.js does not contain a handler function named: onStart.

Error in command Show Handy Menu Script at path /Users//Library/Application Support/com.bohemiancoding.sketch3/Plugins/HandyMenu.sketchplugin/Contents/Sketch/script.js does not contain a handler function named: onRun.

Error in command Setup Handy Menu Script at path /Users//Library/Application Support/com.bohemiancoding.sketch3/Plugins/HandyMenu.sketchplugin/Contents/Sketch/script.js does not contain a handler function named: onSetup.

I checked script.js and all methods are defined.

@sergeishere
Copy link
Owner

@jasonbirchler Thanks for feedback! I will try to explore this behaviour and will make a fix.

@sergeishere sergeishere self-assigned this Mar 6, 2018
@sergeishere sergeishere added the bug Something isn't working label Mar 6, 2018
@bwalowitz
Copy link

I don't understand how to make the menu run? I can drag and drop the plugin actions, but then what?

@sergeishere
Copy link
Owner

@bwalowitz Choose commands you need and click Save. Then, press a shortcut for showing the menu (cmd+4).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants