[softwarelist] Re: OPW - referencing pictures and drive path changes

David Pilling wrote:
In message <489C37D4.1030306@xxxxxxxx>, Clive Bonsall <cbonsall@xxxxxxx> writes

reasons I don't fully understand, Windows will occasionally decide to change the "letter" assigned to an external drive (F: > G:, for example).

Frustrating, but ISTR there is a way of renaming drives, and/or getting the letters to "stick".

When that happens, OPW can no longer find the pictures for a particular document ... and if <pictures> happens to be ticked in View>Options (and there is a picture on page 1 of the document) then View>
file cannot be opened or closes immediately after opening.

I thought what happens is that the window shrinks, but you can get at the view menu and turn off picture display.

Yes, I think you are right ... but (if it's technically possible) why not have OPW just turn off picture display automatically, since you can't do anything with the document until that is done?

Can anyone suggest ways of minimizing these problems?

The paths used are subject to macro expansion. This is why they can be of the form:

{filepath}\myfile.bmp

here filepath expands to the location of the document containing the picture, so that you can shift documents and pictures without changing the paths - making the paths document relative - all discussed in the manual.

Anyway, you could define a user macro in OP, lets call it "mypictures" as the path to where you keep your pictures and then for the paths in documents use:

{mypictures}\myfile.bmp

Then when Mr. Gates' demon changes all the drive letters all you have to do is change the definition of the macro.

Thanks. Will take a look at that.
--
C.B.
To unsubscribe or subscribe goto: http://www.freelists.org/list/davidpilling

Other related posts: