Kee....

No clue what might be going on here. IWOMM (It Works On My Machine). I can't get that property to return empty no matter what I do EXCEPT if I run it before I've saved the stack. Then, of course, it has no filename property (or, more accurately, that property is empty).

And, yes, you do need to be aware of pathing issues when you create an OS X bundle standalone. Check the docs for filename of stack property; there's a cross-platform note there that outlines the issue.

Dan

On Jul 4, 2005, at 6:12 PM, kee nethery wrote:

I'm trying to create a text file that will be the prefs file for a standalone. I'm running this script on a development stack under rev 2.6 on Mac OS X 10.4.x and getting nothing back:

put the filename of this stack into thePath

thePath stays empty after that runs.

My plan was to take this absolute path, replace the name of the stack with the name of my prefs file, and then store the prefs file in the same directory as the stack so that under all platforms it would be stored in a known location. This script above is almost exactly taken word for word from the example in the documentation shown below.

put the filename of stack "My Main" into thePath

1. Why isn't this working?
2. Does anyone have a sample script for putting a prefs file in a known location that does work that I could use? 3. Will I need to watch out for a path that is inside the package contents for the standalone (if I get that far in my coding)?

Thanks in advance
Kee Nethery


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to