Hi Andreas, all
Andreas Säger wrote >>> On 28/05/2015 16:38, James Knott wrote: > <snip> >>> Write a utility that creates a "Work Area" folder, regardless of the >>> platform one uses. >>> An interesting challenge for somebody who is good at PERL or Python >>> coding. > <snip> > Sub onApplicationStart() > oSrv = createUnoService("com.sun.star.util.PathSettings") > sPath = PathConcat(oSrv.Work, "AutoStart") > sDir = PathConcat(sPath, "*.*") > s = dir(sDir) > while len(s) > sPathName = PathConcat(sPath,s) > StarDesktop.loadComponentFromURL(sPathName, "_blank", 0, Array()) > s = dir() > wend > End Sub > > Function PathConcat(s1, s2) > if right(s1,1) <> "/" then s1 = s1 & "/" > PathConcat = s1 & s2 > End Function I can't test if this script does what the OP asked for. Where should the AutoStart folder be placed when using a Windows OS or in a Linux OS? Would it be possible to take this effort further and evolve this script into an extension with a point-and-click interface to select the Autostart folder? Maybe some other people would find this feature useful and it is probably more likely that this can be added as an extension rather than as a new feature... Just my 2 cents -- View this message in context: http://nabble.documentfoundation.org/open-files-automatically-tp4149584p4150066.html Sent from the Users mailing list archive at Nabble.com. -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted