I want to develop a tool that would allows user to drag'n'drop patterns to Sketch.
Yes, I mean, repeating patterns, so you don't have to browse and manually download them.
My app would sit in OSX menu bar as a standalone app, so not related to Sketch.
I need a way to issue Sketch to create a rectangle with the fill set to a given image path. So I though scripting would be the best option.
But I need to run the script the user drops it inside Sketch.
So my request is simple: when user drops a .js file into Sketch, sketch should run this script