Thanks, Andrew. I'll download and study it. I've written in MS VB. I haven't done much in OOo Basic.

I was hoping to be able to direct the file open dialog to start in the dir where I store the type of file I want; calc or writer for example. Or, direct the file save dialog in the same way. What I'm thinking of is an array of buttons, one for each file type. Could be icons on the desktop. If I last opened a writer file and now want a calc file the dialog currently starts in the writer dir.

Is there a way to pass a path on the command line, say "soffice.exe .uno:Open c:\data\spreadsheets"? Could OOo set the start path for the file open dialog from a macro? If so, will soffice.exe run a macro from the command line? Just thought I'd ask, I know I should read the docs.

Thanks,
Alex Janssen


Andrew Brown wrote:

Alex <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:



I like to segregate my document files in directories for each type of file. Been doing it for more than 20 years. I think storing a default path for each file type; Text, spreadsheet, drawing, presentation,...; in the options file would be a worthy enhancement. This could be augmented with a check box to always use this directory or use the last one opened or save in.




well, you can set this up in a macro if you want to, with about an hour's work. I have a macro (available from the sig) which stores files in different directories depending on the template that is used for them (and, in the case of letters, the addressee). You could extend this n any way you liked, but the basic technique is clear enough, I think.








--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to