Macro Save to Relative Path
I am new to OpenOffice and OOMacros.
I am trying to save a file to a relative path on my thumb drive.
The Macro I recorded works fine and saves as designed (saves as same file name in both html and odt formats)but I must have the drive letter "H:/" for it to save correctly.
Macro snippet:
rem ----------------------------------------------------------------------
dim args1(2) as new com.sun.star.beans.PropertyValue
args1(0).Name = "URL"
args1(0).Value = "file:///H:/OpenOfficePortable/Data/ER/test.odt"
args1(1).Name = "FilterName"
args1(1).Value = "writer8"
args1(2).Name = "SelectionOnly"