I have a Java application that opens WebDAV files on MS Word. This works successfully on Windows with the next code:
Runtime.getRuntime().exec("cmd /c start winword " + webdavUrl);
But on Mac OSX this is not possible. I tried this function, but it only opens a blank document:
Runtime.getRuntime().exec(new String[]{"open", "-a", "Microsoft Word", webdavUrl});
if I create a file from the URL, I can open the file but I lose its reference to the WebDav URL.
I have found a discussion about a javascript code that can do this process from the browser.
Any thoughts?