Posted on 05-19-2014 03:52 AM
Hi all,
I have searched high and low without too many results.
Basically I'm trying to set the file association for .swf files to the Adobe Flash Viewer application, rather than Safari.
Duti seems to be the go, but I'm unsure of the Bundle ID and UTI for the Adobe Flash Viewer application.
I was hoping someone out there had already achieved this.
Cheers,
Gav
Posted on 05-19-2014 07:23 AM
You can get the BundleIdentifier of any application using the following syntax-
defaults read /path/to/application/appname.app/Contents/Info CFBundleIdentifier
For the UTI, use mdls (command line Spotlight metadata listing) to read the list back from the SWF file.
mdls /path/to/file/file.swf -name kMDItemContentTypeTree
Posted on 05-19-2014 07:39 AM
Thanks for the reply - I'll try this out in the morning.
Cheers,
Gav