[Libreoffice-ux-advise] [Bug 131656] UNO action to open user profile directory

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Mar 29 17:01:58 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=131656

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel at t-online.de

--- Comment #2 from Regina Henschel <rb.henschel at t-online.de> ---
You need not run through the SafeMode restart dialog to get the user path. You
can use a macro like:

sub ShowUserPath
dim aService as variant
aService = createUnoService("com.sun.star.util.PathSubstitution")
dim sPath as string
sPath = aService.getSubstituteVariableValue("$(user)")
sPath = ConvertFromURL(sPath)
msgbox (sPath)
end sub

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list