----- Original Message -----
From: "Richard Gaskin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 21, 2001 1:23 PM
Subject: Re: dynamic image paths


> Doh!  Of course, the directory property will take care of
this.  For some
> reason I recall discussion here about why this was
problematic, which is why
> I hadn't gone down this path initially.
>
> Other than "set the directory to...", what other commands
change the
> directory property?
>

When you use "answer file" to locate a file, and you don't
cancel out of it but select a file, MC sets 'the directory'
to the one where your selected file resides.

Based on that, I would guess it's a good idea to look at
directory settings before and after other file-related
commands like:
    ask file
    save as

To me, the following are less suspect because they don't
support run-time user navigation via a GUI (if that makes
any sense). But maybe they're worth testing:
    go url "file:<path to a stack>"
    toplevel <path to a stack>

Phil Davis


>
> > I'm building a CD in which I have stacks referencing
images stored outside the
> > stacks in folders in the CD.
> >
> > The engine that drives them is an application that will
need to be installed
> > on the user's system, so a relative path will not work
for those images.
> >
> > But since the drive letter on Windows cannot be known in
advance, absolute
> > paths cannot work either.
> >
> > Ideally, I would like to be able to write a function
which would return the
> > equivalent of HTML's base URL, so that I could use
partial paths to reference
> > images but can change the location of the engine.
> >
> > Is there a way to kludge something like this in MC
2.3.2?  2.4?
>
> --
>  Richard Gaskin
>  Fourth World Media Corporation
>  Multimedia Design and Development for Mac, Windows, UNIX,
and the Web
>
____________________________________________________________
_________
>  [EMAIL PROTECTED]
http://www.FourthWorld.com
>  Tel: 323-225-3717           ICQ#60248349            Fax:
323-225-0716
>
>
>
> Archives:
http://www.mail-archive.com/[email protected]/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this
list.
>
>


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to