Packages (was: copy large files in Rev on Mac)

Stephen Barncard stephenREVOLUTION2 at barncard.com
Fri Dec 7 11:19:56 EST 2007


Observations about bundles:

If one needs to obfuscate a file - a bundle is surely a way to do it. 
Files inside a bundle are not searched by Spotlight.

Need to hide a password cheat sheet?   Create a bundle that has the 
name of a popular app you don't  use by creating a folder, then add 
an .app suffix. The finder will think you are an idiot and will ask 
if you want to do this (I think there's an option to lose this in 
Leopard). Do it anyway. Put it into your Applications folder.

Voila! you have created an app package with your stuff in it. Option 
click on it to see the contents.

When one double clicks on it, an error message appears that the 'app' 
is damaged. Just a 'no-good' file to a would-be snoop.

By the way, an .rtfd 'file' does not need any more files to identify 
what's inside. The map to where the photo is positioned is imbedded 
in the RTF text, and the system recognizes any folder with the .rtfd 
suffix as a package.

One can create an .rtfd package as well, just add the .rtfd suffix to 
a folder name. This opens up the idea of a rev app creating or 
modifying the contents of a package that can be 'played' in Apple's 
Textedit, by extending rev's RTFText, and using this folder/suffix 
business.

There is probably a list somewhere of standard packages that are 
instantly recognized by OSX without a .plist.
-- 


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -






More information about the use-livecode mailing list