[libreoffice-users] Re: open files automatically (a Star Basic macro)

2015-05-31 Thread Andreas Säger
Am 31.05.2015 um 22:43 schrieb James E Lang: Hi Andreas, Your Star Basic macro looks very interesting. It is not super complex (initialization, a loop, and a super simple supporting function). Has anyone given it a test drive? As I read the macro, the while loop looks suspect. Isn't it

[libreoffice-users] Re: open files automatically

2015-05-31 Thread Andreas Säger
Am 31.05.2015 um 09:32 schrieb Pedro: 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

[libreoffice-users] Re: open files automatically

2015-05-31 Thread Pedro
Hi Andreas, all Andreas Säger wrote Feel free to do what you want with it. I won't elaborate any further since this is a feature I would not use by myself. I don't intend to use it either. I'm just trying to find a user friendly solution to the OPs problem. And you seem to be the right person

[libreoffice-users] Re: open files automatically

2015-05-31 Thread Pedro
Hi Luuk Luuk wrote There's no need to automate Calc (or LO) simply create a file name it something like 'autostartLibreoffice.bat' (or anything else, as long as the name ends in '.bat' That has been suggested before. The OPs request is that LibreOffice opens all files stored in a given

[libreoffice-users] Re: open files automatically

2015-05-31 Thread Andreas Säger
Am 31.05.2015 um 19:18 schrieb Pedro: Is there a way to make it autorun on start? ToolsCustomize... [Events] Save in: LibreOffice Event: Start Application Macro: MyMacros.Library.Module.onApplicationStart -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems?

Re: [libreoffice-users] Re: open files automatically

2015-05-31 Thread Luuk
On 31-5-2015 20:59, Pedro wrote: Hi Luuk Luuk wrote There's no need to automate Calc (or LO) simply create a file name it something like 'autostartLibreoffice.bat' (or anything else, as long as the name ends in '.bat' That has been suggested before. The OPs request is that LibreOffice

Re: [libreoffice-users] Re: open files automatically (a Star Basic macro)

2015-05-31 Thread James E Lang
extension. Just a thought. -- Jim -Original Message- From: Andreas Säger ville...@t-online.de To: users@global.libreoffice.org Sent: Thu, 28 May 2015 15:35 Subject: [libreoffice-users] Re: open files automatically 8 Sub onApplicationStart() oSrv = createUnoService

[libreoffice-users] Re: open files automatically (a Star Basic macro)

2015-05-31 Thread Andreas Säger
Am 01.06.2015 um 00:38 schrieb James E Lang: (I intend this reply to be off list) Thank you. It has probably been more than 20 years since I studied any flavor of Basic and I have not been able to find what dir(path/file.ext) or dir() are supposed to do. That is why I said that the

Re: [libreoffice-users] Re: open files automatically (a Star Basic macro)

2015-05-31 Thread James E Lang
in order to activate the Subroutine? -- Jim -Original Message- From: Andreas Säger ville...@t-online.de To: users@global.libreoffice.org Sent: Sun, 31 May 2015 13:54 Subject: [libreoffice-users] Re: open files automatically (a Star Basic macro) Am 31.05.2015 um 22:43 schrieb James E Lang

[libreoffice-users] Re: open files automatically

2015-05-31 Thread Pedro
Hi Andreas, all Andreas Säger wrote Am 31.05.2015 um 19:18 schrieb Pedro: Is there a way to make it autorun on start? ToolsCustomize... [Events] Save in: LibreOffice Event: Start Application Macro: MyMacros.Library.Module.onApplicationStart Brilliant! That worked perfectly. Thank

[libreoffice-users] Re: open files automatically (a Star Basic macro)

2015-05-31 Thread Andreas Säger
Am 31.05.2015 um 22:53 schrieb Andreas Säger: File name extensions are meaningless. LibreOffice tries to open any file regardless of its extension. Rename a file to .xyz and open with LibreOffice. My code should have an error handler for unsupported (possibly broken) files so the loop can

[libreoffice-users] Re: open files automatically

2015-05-31 Thread Pedro
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 =

[libreoffice-users] Re: open files automatically

2015-05-28 Thread Andreas Säger
Am 28.05.2015 um 21:56 schrieb Andreas Säger: Am 28.05.2015 um 20:27 schrieb toki: On 28/05/2015 16:38, James Knott wrote: That was possible in OS/2, but I haven't seen it anywhere else. With OS/2, you could create a Work Area folder and whenever that folder was opened, whatever was in it

Re: [libreoffice-users] Re: open files automatically

2015-05-28 Thread James Knott
On 05/28/2015 01:12 PM, Andreas Säger wrote: Am 28.05.2015 um 18:57 schrieb James Knott: On 05/28/2015 12:38 PM, James Knott wrote: On 05/28/2015 12:21 PM, Andreas Säger wrote: I don't understand why any application should do this. Put your files into your assumed auto-start folder. I would

Re: [libreoffice-users] Re: open files automatically

2015-05-28 Thread Cley Faye
Something I'm not getting there... To launch LibreOffice, you either use a shortcut of some sort, or directly run a command in a run dialog. That's true for any OS. There where solution proposed for either cases, on different OS. You can either create a new shortcut to open documents to your

[libreoffice-users] Re: open files automatically

2015-05-28 Thread Andreas Säger
Am 28.05.2015 um 20:27 schrieb toki: On 28/05/2015 16:38, James Knott wrote: That was possible in OS/2, but I haven't seen it anywhere else. With OS/2, you could create a Work Area folder and whenever that folder was opened, whatever was in it would also open. Write a utility that

[libreoffice-users] Re: open files automatically

2015-05-28 Thread Andreas Säger
Am 28.05.2015 um 18:57 schrieb James Knott: On 05/28/2015 12:38 PM, James Knott wrote: On 05/28/2015 12:21 PM, Andreas Säger wrote: I don't understand why any application should do this. Put your files into your assumed auto-start folder. I would use links instead of the real files. Open

Re: [libreoffice-users] Re: open files automatically

2015-05-28 Thread James Knott
On 05/28/2015 01:08 PM, Cley Faye wrote: To launch LibreOffice, you either use a shortcut of some sort, or directly run a command in a run dialog. That's true for any OS. No, as I mentioned, it's not true with OS/2 and work area folders. If you had a document in that folder opened, then closed

Re: [libreoffice-users] Re: open files automatically

2015-05-28 Thread Steve Edmonds
On 2015-05-29 05:23, James Knott wrote: On 05/28/2015 01:12 PM, Andreas Säger wrote: Am 28.05.2015 um 18:57 schrieb James Knott: On 05/28/2015 12:38 PM, James Knott wrote: On 05/28/2015 12:21 PM, Andreas Säger wrote: I don't understand why any application should do this. Put your files

[libreoffice-users] Re: open files automatically

2015-05-28 Thread Pedro
Hi Thomas Thomas Blasejewicz-3 wrote In case there is a stand-alone spreadsheet program (NOT Excel!) that can do this trick .. I would love to learn its name. Interesting feature. That wasn't available in the Lotus DOS days probably because you could only open one file at a time :) The

[libreoffice-users] Re: open files automatically

2015-05-28 Thread Andreas Säger
Am 28.05.2015 um 11:29 schrieb Thomas Blasejewicz: In case there is a stand-alone spreadsheet program (NOT Excel!) that can do this trick .. I would love to learn its name. I don't understand why any application should do this. Put your files into your assumed auto-start folder. I would

Re: [libreoffice-users] Re: open files automatically

2015-05-28 Thread James Knott
On 05/28/2015 12:21 PM, Andreas Säger wrote: I don't understand why any application should do this. Put your files into your assumed auto-start folder. I would use links instead of the real files. Open that folder, hit Ctrl+A and Enter to open all the files with the default application. That

Re: [libreoffice-users] Re: open files automatically

2015-05-28 Thread James Knott
On 05/28/2015 12:38 PM, James Knott wrote: On 05/28/2015 12:21 PM, Andreas Säger wrote: I don't understand why any application should do this. Put your files into your assumed auto-start folder. I would use links instead of the real files. Open that folder, hit Ctrl+A and Enter to open all