Access Resource Files

Klaus major-k klaus at
Fri Sep 20 04:46:12 EDT 2019

Hi JB,

> Am 20.09.2019 um 10:34 schrieb JB via use-livecode <use-livecode at>:
> Does anyone know of a way to access resource files
> in the StandAlone .app bundle?
> Let’s say I want to include a jpg file in my .app bundle
> & then copy that file to the desktop at various times.
> From what I understand if you write a external to copy
> source file to destination file it will work unless they
> are in the .app bundle.
> I do not want to include a file saved in a different url.
> This will be a file located in the .app bundle and then
> saved to the desktop or a user chosen location that
> is not in a bundle.
> My guess is it cannot be done but I would love it if
> someone proved me wrong.
> JB

everything you add to your standalone via:
Standalone Application Settings -> Copy files
can be found in the standalone in:
specialfolderpath("resources") & "/your wonderful pic.jpg"

If that is what you mean.

That specialfolderpath() does also work in the IDE!
In that case it returns the path to the folder containing the current stack.



Klaus Major
klaus at

More information about the use-livecode mailing list