At 09:15 27/05/2015 -0400, Gary Dale wrote:
At 10:22 27/05/2015 +0900, Thomas Noname wrote:
Is there a trick to tell LibreOffice, in particular Calc, to open files automatically? Lotus 123 allows to specify a folder and then opens the files therein automatically whenever the software is started. For those administrative tasks, a set of 2-3 files, this is VERY convenient. I would like to convert those 123-files into Calc format and have Calc open them *automatically* whenever I start Calc.

I have no problem starting Calc nor opening several spreadsheets "automatically". I select the sheets I open in Dolphin (or any other file manager) and right-click on the selection then select "Open with". Calc is the default program to open .ods documents so they all open.

It's easy to solve a problem by changing the problem! This isn't what the questioner means by "automatically". He no doubt understands the idea of file association that you describe here (when you surely don't need "open with" anyway?). Instead, he wants a specific set of files to open without their being selected each time: that's his meaning of "automatic".

Since the OP wants a job to run at startup, simply use the command-line to do the job:
   libreoffice --calc -o <file1> -o <file2> ...

Put that into a script or a link to a script in your "Autostart" folder (.kde/Autostart on my KDE system).

To open all the files in a folder, just use a loop like this:
  for f in *; do; libreoffice --calc -o $f; done

No, he doesn't want it at start-up, it seems, but instead when he starts LibreOffice. But something like this as a desktop shortcut or menu item (not in the start-up folder) is no doubt ideal.

Brian Barker

--
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

Reply via email to