How to open an XML file within an OSX bundle?
keith.clarke at clarkeandclarke.co.uk
Wed Jun 20 15:27:11 CDT 2012
Sorry, poor proof-reading. Penultimate sentence should have read...
Unfortunately, whilst a 'Bundle bit' can be set in the file's properties, it doesn't seem to override these application-level bundle/package flags to unlock a single file and I wouldn't trust my Terminal skills to even attempt to go hacking into the Launch.Services database (or rebuild it after hacking the associated plists).
On 20 Jun 2012, at 21:22, Keith Clarke wrote:
> Further digging reveals that the OSX feature 'Show Package Contents' is available for all packages - not just applications. Visibility seems to be controlled by bundle flags set on the file extension in the Launch.Services database, such as this entry for a coda plugin
> uti: com.panic.coda.plugin
> description: Coda Plug-in
> flags: imported inactive untrusted
> icon: Contents/Resources/plug-ins.icns
> conforms to: com.apple.bundle , com.apple.package
> tags: .codaplugin
> The MindManager 9 for Mac entries lack these flags and so, no package behaviour.
> Unfortunately, these flags at file level to unlock a single file and I wouldn't trust my Terminal skills to even attempt to go hacking into the Launch.Services database (or rebuild it after hacking the associated plists).
> So, I think for now, the first step of my utility is a mandraulic copy & paste of the XML file's content into a LiveCode source file dump field for post-processing - where the fun stuff begins ;-)
> On 20 Jun 2012, at 20:12, Keith Clarke wrote:
More information about the use-livecode