Im a Mac user. This is just what I was looking for! Thank you.
If your apps are in the /Applications directory it simply finds them. Escaping space was not needed either.
[code]
{“id”: “side-bar-files-open-with”,
“children”:
//application 1
{
“caption”: “Safari”,
“id”: “side-bar-files-open-with-safari”,
"command": "side_bar_files_open_with",
"args": {
"paths": ],
"application": "Safari.app", // OSX
"extensions":"html" //any file with these extensions
}
},
{“caption”:"-"},
//application 1
{
“caption”: “Photoshop”,
“id”: “side-bar-files-open-with-photoshop”,
"command": "side_bar_files_open_with",
"args": {
"paths": ],
"application": "Adobe Photoshop CS6.app", // OSX
"extensions":"psd|png|jpg|jpeg" //any file with these extensions
}
},
//application 1
{
“caption”: “ImageAlpha”,
“id”: “side-bar-files-open-with-imagealpha”,
"command": "side_bar_files_open_with",
"args": {
"paths": "assets"],
"application": "ImageOptim.app", // OSX
"extensions":"" //any file with these extensions
}
},
//application 1
{
“caption”: “ImageOptim”,
“id”: “side-bar-files-open-with-imageoptim”,
"command": "side_bar_files_open_with",
"args": {
"paths": "assets"],
"application": "ImageOptim.app", // OSX
"extensions":"" //any file with these extensions
}
}
]
}
][/code]