Newbie query: Windows10, LO 7.0.3.1
I am using loadComponentFromUrl(Url, "__blank", 0, arg())
in Calc to open a spreadsheet. I would like to open this spreadsheet ‘minimised’ to the taskbar. I have looked though Andrew P’s files and the Basic guide and cannot see how to do this.
If I open the file with arg()=“hidden”/True that achieves the required ‘invisibilty’, but it then seems to give me problems in closing the file (doc.close(True
) and I finish up with a ‘file open’ warning on next run, but with no visible lockfile in the directory (nor in the taskbar) and I am having to reboot the PC to clear the lockfile.
Is there an ‘open minimised’ function to avoid this problem?