On 11/28/05 6:51 AM, "David Burgun" <[EMAIL PROTECTED]> wrote:

> The path I get returned from "filename of this stack", in the
> openStack (or preOpenStack) script of Card 1 of  StackA.rev is:
> 
> path/MacOSX/myApp.app  <-- bundle
> 
> Bu according to the documentation, the path returned should be the
> path to the real application, e.g.
> 
> MacOSX/myApp.app/Contents/MacOS/Runtime/Stacks/StackA.rev
> 
> Or perhaps:
> 
> MacOSX/myApp.app/Contents/MacOS/MyApp (real applicaiton)
> 
> Have I got this wrong? I would be really grateful if someone could
> just let me know if:
> 
> a) The documentation is correct.
> b) If no, how I acheive this!
> c) if yes, why doesn't it work!

Well, I get (for my app "testapp.app"):

  /users/kenray/Desktop/testapp.app/Contents/MacOS/testapp

This is latest Rev, under Tiger.

My guess would be that you could test to see if the filename contains ".app"
and then adjust your paths accordingly.

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

_______________________________________________
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