thank you, Jacque and Richard... sqb ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev
2010/1/21 Richard Gaskin <ambassa...@fourthworld.com> > J. Landman Gay wrote: > > stephen barncard wrote: >> >>> Hi again everyone, >>> >>> How does one detect the 'bundle-ness' of an OSX folder in Rev (desktop) >>> script? >>> >>> I need to filter out apps and other bundle files in a drag and drop >>> operation. >>> >> >> I believe all bundles contain a file named "PkgInfo" at the top level of >> the bundle folder. You could check for that. >> > > If memory serves I've removed the Pkg.info file from standalones and they > continue to be see by the Finder as bundles. > > This ADC page describes the ways bundles are identified: > > -------------------------------------------------------------- > > How the System Identifies Bundles and Packages > > The Finder considers a directory to be a package if any of the following > conditions are true: > > * The directory has a known filename extension: .app, > .bundle, .framework, .plugin, .kext, and so on. > > * The directory has an extension that some other application > claims represents a package type; see “Document Packages.” > > * The directory has its package bit set. > > > < > http://developer.apple.com/mac/library/documentation/CoreFoundation/Conceptual/CFBundles/AboutBundles/AboutBundles.html#//apple_ref/doc/uid/10000123i-CH100-SW1 > > > > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > > _______________________________________________ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution