rogerguay at centurytel.net
Thu Nov 6 20:34:15 EST 2003
Thanks to all for your help on this. I think Tereza has given me what
I need to know to proceed, but need to digest it to make it work for
me. Please stand by and thanks again.
> Message: 10
> Date: Thu, 06 Nov 2003 14:48:54 -0600
> From: Tereza Snyder <tereza at attainmentcompany.com>
> Subject: Re: revGoURL help
> To: "use-revolution at lists.runrev.com"
> <use-revolution at lists.runrev.com>
> Message-ID: <BBD00FD6.CFC4%tereza at attainmentcompany.com>
> Content-Type: text/plain; charset="US-ASCII"
> on 11.06.03 2:22 PM, Roger Guay wrote:
>> I now understand what Klaus and others are saying about file path
>> problems, but how can I package my standalones (Mac and PC) with a
>> "GenHTML" and have them able to locate and open this file?
> I solve the problem of packaging files, resources, and auxiliary
> stacks with
> a RunRev/metaCard standalone by using a MacOS X bundle format for ALL
> platforms. Of course, it works AS A BUNDLE (that is, a folder that
> looks to
> the user like an application they can double-click) only on MacOS X
> Classic). I put auxiliary stacks, graphics files, sound files, etc. in
> appropriate folders inside the "resources" folder, which is inside the
> "contents" folder, which is inside the bundle.
> In Windows, the bundle looks like a folder named "MyApp.app". I
> install a
> shortcut for the user to click somewhere outside the bundle (maybe in
> "programs" folder). The shortcut points to the application which lives
> inside the bundle folder, in a "Win32" folder inside the "Contents"
> What this gets me is a straightforward and consistent way to calculate
> to everything I need, on all platforms, AND a way to put the
> application on
> a mixed Mac/Windows LAN or dual-platform CD without duplicating
> While I'm developing, I keep all the resources that will go into the
> in a folder named "resources" next to my to-be-made-into-a-standalone
> When that stack opens - in development or as a standalone - it checks
> to see
> whether it's in a bundle (by looking for a "contents" folder) then
> sets its
> path variables appropriately.
> + Tereza Snyder
> + Senior Software Developer
> + Attainment Company, Inc.
> + <www.attainmentcompany.com>
> + 800.327.4269
> Message: 11
> Date: Thu, 6 Nov 2003 15:52:33 -0500
> From: Roger.E.Eller at sealedair.com
> Subject: RE: revGoURL help
> To: How to use Revolution <use-revolution at lists.runrev.com>
> Message-ID: <OF26AFFC88.BDFF9259-ON85256DD6.0071541A at sealedair.com>
> Content-Type: text/plain; charset="us-ascii"
>> on mouseUp
>> set the itemDelimiter to "/"
>> put (item 1 to -2 of the effective fileName of this stack)&"/" into
>> get "file:"&myFolderName&"gen.html"
>> revGoURL it --- This works in Runtime but not in standalone
>> end mouseUp
> on mouseUp
> set the itemDelimiter to "/"
> put (item 1 to -2 of the effective fileName of this stack) & "/"
> put QUOTE & "file://" & myFolderName & "gen.html" & QUOTE into tUrl
> revGoURL tUrl --- Try it this way
> end mouseUp
> Roger Eller
> roger.e.eller at sealedair.com
More information about the Use-livecode