Description: To add the menu item to quickly access the user profile directory (on Windows, it will be %AppData%\LibreOffice). File > Open user profile directory. Steps to Reproduce: - Actual Results: - Expected Results: - Reproducible: Always User Profile Reset: No Additional Info: -
Can already reach via Help -> Restart in SafeMode, 'Show user profile' on the Advanced tab--which is a more complete means to manipulate profiles. And, this certainly does not belong on a menu or toolbar entry by default. That said, for 'Eve' expert users--an UNO command to expose the GetUserProfileURL() from BackUpFileHelper and make it available for customization assignment to toolbar or menu button action could be useful/convenient (i.e. not having to run through the SafeMode restart dialog). Another option might be to display the User Profile stanza to the Tools -> Options -> Paths panel as default. With no internal action allowing path to open with os/DE default file handler for directory. @Samuel, what do you think?
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
Needinfo for Samuel
Two ways to achieve what the reporter requested - I don't see any value in adding a third way (special uno command) for this. Unless there is a real use case, I would close this as WORKSFORME.
>... would close this as WORKSFORME. +1