On Tuesday, June 10, 2003, at 03:26 PM, Edward Cawley wrote:
Hi all
I'm trying to build standalones for mac and windows and I have a problem.
I am developing in MacOSX.
I have a large number of images which I access by filepaths. I don't need to specify the hard drive in MacOSX just the file name on the hard drive (/river?).but when I access them in OS8&9 I need to indicate the hard drive name (ie /Macinosh/.......as well. I'm not sure what I need to do for Windows? I can see that I could use an if then to change the filepaths to fit the operating systems. But how can I find out the operating systems for the scripts?
Ed, are the images are being distributed with your stack? and do you have control over their location on the CD or in the distribution directory? i.e if your directory structure can look something this.
Folder: Fantastic Image Archive/
file: TheGreatestPix.rev
sub-folder: images/
files: lots of images
the you have a ready made solution in this syntax
"put the effective filename of this stack into gPath_Where_I_Live"
and get the path for the sub directories by parsing that string. Can give you the full script if you need it.
then the issue of determining platform-OS disappears.
hth
A second question is an odd behavior I see when I change the image by changing the source filename. Sometimes there is a blank area which isn't drawn, not the whole image but just the bottom 10%. If I go to another card and return the image is complete. It isn't a empty field or any other object. No big deal, but it is a puzzle. Any ideas?
Thanks
Ed
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
