Hi Francis,

Keep in mind that *.app is not a file but a folder. The stack is somewhere inside that folder. The path returned by the (effective) filename is correct.

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz

Op 1-mrt-2009, om 12:47 heeft Francis Nugent Dixon het volgende geschreven:

Hi from Brittany (spring is coming and the mimosa will be out soon),

I'm running Revolution 3.0 on an Intel iMac.

I create a stack called Mainstack which I store in a folder.
You would guess correctly if you thought it was a splashstack.

In "openStack", when I execute the command "put the filename
of this stack into field MyStackName",
I read "/Revolution/RawStacks/MainStack.rev" which is perfectly
normal, because that is where the stack is. I can strip out the
stack name to get the path to the folder.

I compile this stack into a standalone on my desktop, with one
option "Intel Only". This standalone is now in a folder "MainStack"
containing a file "MainStack.app"

I move the file "MainStack.app" into another folder which contains all
my compiled standalone stacks.

When I execute the command  "put the filename of this stack into field
MyStackName", I expect to see "/Revolution/StandaloneStacks/ MainStack.app", because that is where the stack is. I need this path, because I want to be able to call one of the standalones from MainStack (choosing from a list)

Instead, I read "/Revolution/StandaloneStacks/MainStack.app/ Contents/MacOS/MainStack".

Where did this path come from ? Of course, I can always throw away the part of the path "/Contents/MacOS/MainStack", but this doesn't satisfy my curiosity ..... I imagine (haven't tested it yet) that this part of the path will be different
if I move to a PC. What rules govern the creation of this path ?

I see from the Rev Dictionary that the "filename of stack" is different for a standalone - "the filename of stack property reports the name and location of
the application". Why is "Name and location" different from "Path" ?

Thanks for any pointers.

-Francis

_______________________________________________
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