Hi,

to save CPH from doing his usual work. ;-)

Hi whoever (I don't expect "wakeupcallca2005-web" to be a name),

because you are not subscribed to the list you might have missed the
following answer:

[EMAIL PROTECTED] wrote:
> For years now, I've had trouble saving a  copy of a file to a second
> location, such as a floppy drive or a memory  stick. If you use file,
> save as, that becomes your master file. The  recent file list will go
> to that location if it's there. (I could save  as again) I usually go
> to explore and use the send to, copy/paste or drag and drop. I just
> found a way to do it in ms office but it's confusing and slow. What
> we need is a File, "Copy to" command. I remember years ago, you could
> add this feature to your file menu, but now I don't see it.   Jordan

OOo can do this but it's not in the menu. It's more or less what happens
when you use the "Export" functions, but there the necessary filters are
not in the listbox.

You can get what you want by using the following macro:

Sub StoreCopy

  document   = ThisComponent.CurrentController.Frame
  dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
  dim args(0) as new com.sun.star.beans.PropertyValue
  args(0).Name = "SaveTo"
  args(0).Value = true
  Thisdispatcher.executeDispatch(document, ".uno:SaveAs", "", 0, args())

End sub

This will store your document to another place without making the new
location what you called "master file".

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

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

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

Reply via email to