Created
January 15, 2019 00:58
-
-
Save ccgus/d5ab15c9d7c87dff7c89333b73816340 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
How to install this plugin: | |
1) Choose Acorn's Help ▸ Open Acorn's App Support Folder menu item. | |
2) Place this script in the Plug-Ins folder (and make sure it ends with .jstalk) | |
3) Restart Acorn. The plugin will now show up in the Filter menu. | |
*/ | |
function main(image, doc, layer) { | |
[[[[NSCursor currentSystemCursor] image] TIFFRepresentation] writeToFile:"/tmp/foo.tiff" atomically:true]; | |
[[doc baseGroup] insertImageWithPath:"/tmp/foo.tiff" atIndex:0 withName:"Cursor"]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment