{"action":"created","issue":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/1621","labels_url":"https://api.github.com/repos/supercollider/supercollider/issues/1621/labels{/name}","comments_url":"https://api.github.com/repos/supercollider/supercollider/issues/1621/comments","events_url":"https://api.github.com/repos/supercollider/supercollider/issues/1621/events","html_url":"https://github.com/supercollider/supercollider/issues/1621","id":97499822,"number":1621,"title":"Feature Request: Platform.applicationDir (was \".load changed\")","user":{"login":"thormagnusson","id":720548,"avatar_url":"https://avatars.githubusercontent.com/u/720548?v=3","gravatar_id":"","url":"https://api.github.com/users/thormagnusson","html_url":"https://github.com/thormagnusson","followers_url":"https://api.github.com/users/thormagnusson/followers","following_url":"https://api.github.com/users/thormagnusson/following{/other_user}","gists_url":"https://api.github.com/users/thormagnusson/gists{/gist_id}","starred_url":"https://api.github.com/users/thormagnusson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thormagnusson/subscriptions","organizations_url":"https://api.github.com/users/thormagnusson/orgs","repos_url":"https://api.github.com/users/thormagnusson/repos","events_url":"https://api.github.com/users/thormagnusson/events{/privacy}","received_events_url":"https://api.github.com/users/thormagnusson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-07-27T16:14:29Z","updated_at":"2015-08-03T20:12:30Z","closed_at":null,"body":"On OSX <3.6, the String:load would look up a file next to the SuperCollider.app, as in:\r\n\"test.scd\".load\r\nNow, the cwd is: /\r\nThis is probably a changed behaviour in File:getcwd which should? return the application location.\r\n\r\nIf not, we need a method in Platform called\r\nPlatform.applicationDir\r\nas we don't have this functionality in SuperCollider now, as far as I can see.\r\nFor backwards compatibility it's probably better to change the current behaviour of File:getcwd."},"comment":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/comments/127393723","html_url":"https://github.com/supercollider/supercollider/issues/1621#issuecomment-127393723","issue_url":"https://api.github.com/repos/supercollider/supercollider/issues/1621","id":127393723,"user":{"login":"thormagnusson","id":720548,"avatar_url":"https://avatars.githubusercontent.com/u/720548?v=3","gravatar_id":"","url":"https://api.github.com/users/thormagnusson","html_url":"https://github.com/thormagnusson","followers_url":"https://api.github.com/users/thormagnusson/followers","following_url":"https://api.github.com/users/thormagnusson/following{/other_user}","gists_url":"https://api.github.com/users/thormagnusson/gists{/gist_id}","starred_url":"https://api.github.com/users/thormagnusson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thormagnusson/subscriptions","organizations_url":"https://api.github.com/users/thormagnusson/orgs","repos_url":"https://api.github.com/users/thormagnusson/repos","events_url":"https://api.github.com/users/thormagnusson/events{/privacy}","received_events_url":"https://api.github.com/users/thormagnusson/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T20:12:30Z","updated_at":"2015-08-03T20:12:30Z","body":"@scztt \"What's are your uses cases for needed to actually browse / play around in userAppSupportDir?\" \r\n\r\nI've tried to discuss this a little on sc-dev, but in short I'm making software for kids, usable for workshops. They need to place samples somewhere, and find SuperCollider's recordings somewhere. Out of many places, I thought it would be best to have a folder next to the .app/.exe called \"projects\" where they put different samples related the project they're working on.\r\n\r\nI don't want to waste time in a workshop (or written tutorials) talking about hidden folders or trying to explain in a help file: \"you put your recorded sound samples into a folder that Apple has decided to hide (and it's hidden on Linux too), but you can go into the terminal and ...\" - for 12 year olds; this is a killer. \r\n\r\nSo I need to be able to tell users where to put stuff and ideally not in hidden folders (where samples are placed in ~/.Library/Application Support/SuperCollider/blah, and recordings are found in ~/Music/SuperCollider Recordings). That's all good, the problem is that I can't be sure where the user has placed their executables (Desktop? Applications?) and it would be nice if SuperCollider would be able to know its location, as it did earlier. \r\n\r\nI see a solution, but it's a time consuming solution where I write platform specific code. So for me it would be handy to have a method like: applicationDir. \r\n\r\nBTW. I'm not using the IDE, but will start sclang from another process."}}