use-revolution Digest, Vol 79, Issue 28
Richard Gaskin
ambassador at fourthworld.com
Thu Apr 15 12:13:43 EDT 2010
John Vokey wrote:
> It drives me nuts that in the IDE associated file references, for
> example, are different from that in the standalone, depending on
> the OS.
That one's not Rev, it's Apple: With OS X Apple has decided to lie to
the user, in the sense that they use a folder ("bundle") for what used
to be a single executable file.
Given the convenience of being able to store libraries and such in the
bundle I don't mind, but it was a hassle until I started using this
AppPath function:
<http://lists.runrev.com/pipermail/metacard/2002-September/002553.html>
With that function I can refer to files relative to the mainstack of my
app regardless of whether it's a standalone or a stack file, or whether
it's a standalone on Win, Linux, or OS X.
--
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
More information about the use-livecode
mailing list