08-19-2008 10:32 AM
I'm looking to reference a file inside the OS X .app folder. I have a path constant inside a vi, and after building a .app, I would like this path to point inside the .app folder (kind of like the OS X @executable_path or @loader_path). Is this possible? In other words, I would like to pile everything (all outside references) into the .app folder, to make it drag and drop installable.
Thank you!!!
08-20-2008 07:58 AM
08-21-2008 01:47 PM
If I understand what you asking, I would take a look at the Current VI's Path VI located in the Functions palette under Programming >> File I/O >> File Constants. This would return the entire file path which should be something like "...somefolder:myapp.app:thisVI.vi" which you could then use to reference other files in the .app. This article shows another method that you may be able to use (note: it is geared towards Windows, but should still apply).
Cheers,
08-21-2008 03:37 PM
Yes! Perfect article for OS X people who like to bundle all they can.
Thank you!