Hi there,
have tried to research the service needed for expanding a script URL to
its canonical path to no avail.
E.g. given the following infos from OOo, how would one be able to get at
the canonical path (fully qualified, but shortest operating system
dependent path, but the OOo-URL rendering of it would be fine as well)?
* parcelLocation
o
vnd.sun.star.expand:${$SYSBINDIR/bootstrap.ini::UserInstallation}/user/Scripts/oorexx/Library3-Tests
o
vnd.sun.star.expand:${$SYSBINDIR/bootstrap.ini::BaseInstallation}/share/Scripts/oorexx/Library1
* shortFormScriptURL
o
vnd.sun.star.script:Library3-Tests.metaDataInfosUser.rex?language=ooRexx&location=user
o
vnd.sun.star.script:Library1.metaDataInfosShare.rex?language=ooRexx&location=share
* scriptFullURL
o
vnd.sun.star.script:Library3-Tests.metaDataInfosUser.rex?language=ooRexx&location=vnd.sun.star.expand:${$SYSBINDIR/bootstrap.ini::UserInstallation}/user/Scripts/oorexx/Library3-Tests
o
vnd.sun.star.script:Library1.metaDataInfosShare.rex?language=ooRexx&location=vnd.sun.star.expand:${$SYSBINDIR/bootstrap.ini::BaseInstallation}/share/Scripts/oorexx/Library1
Or, alternatively: how can one reliably infer the canonical path to the
"user" and "share" root directory with the help of OOo services? Would
that solution work for 3.x as well?
TIA,
---rony