Application path problem in OS X standalone

Howard Bornstein bornstein at designeq.com
Thu May 15 00:06:01 EDT 2003


>The problem is that a bundle is actually a folder (the Finder just presents
>it as a file), so this is (as far as the filesystem is concerned) in fact
>the folder where your application resides.

The TD says: " The filename of stack property reports the location of the 
application inside the bundle, not the bundle¹s location. For example, if 
the bundle¹s file path is ³/Volumes/Disk/MyApp.app/², the filename of the 
application¹s main stack might be 
³/Volumes/Disk/MyApp.app/Contents/MacOS/MyApp²."

Under what circumstances would you want or need to know the internal 
structure of the bundle? IOW, why was the choice made to have the 
filename return the location inside the bundle rather than the location 
of the bundle itself? I'm just wondering what the justification was to 
create this cross-platform dissonance of the filename property.

Howard Bornstein
____________________
D E S I G N  E Q
www.designeq.com



More information about the use-livecode mailing list