distributing data files with builds

Thomas McGrath III 3mcgrath at adelphia.net
Wed Feb 11 22:42:48 EST 2004


Doug,

I use the :
if the environment is "Development" then
	....effective.......
else -- we are in standalone
	....fix the default folder...
end if

This way id doesn't matter where I'm at.

Tom

On Feb 11, 2004, at 9:31 PM, Doug Lerner wrote:

> Say I wanted to include a text file, like a version "history", with my
> standalone apps.
>
> 1. Is there an automatic way of having the file copied into all the 
> builds'
> folders, or do I have to place them there manually? If so, I'll just 
> keep
> the version history in a field or something...
>
> 2. When in the IDE I use the "effective filepath of this stack" to 
> locate
> the external text file. For the standalone app, this didn't work. I 
> guess I
> have to use the "defaultFolder" instead. Is there something I can use 
> that
> will work for both the IDE and standalone app?
>
> Thanks,
>
> doug
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541



More information about the use-livecode mailing list