I'm trying to use CocoaScript to get the user's Application Support directory. I've seen a bunch of snippets referencing NSSearchPathForDirectoriesInDomains, but if I simply log it, I get:
Can't find variable: NSSearchPathForDirectoriesInDomains
Is this something that isn't available in Sketch? For a broad look at what I'm trying to do, I'm trying to read/write to a file in the Application Support/MyExtension/ folder.