Hi,
Ennio-Sr wrote:
Hi all,
I'm trying to set up a macro to change the default _MyDocuments_ dir.
Found a good example in Andrew Pitonyak macro.sxc (sublisting 5.76 by
Paolo Mantovani) but cannot fully understand what happens:
I open a .sxc file in ~/OO_files/dir1 and save in it a macro which
simply calls the two functions found in Andrew's sublisting 5.76 after
defining sNewDir="file:///~/OO_files/dir2".
After running the macro I can see that _MyDocuments_ dir (as seen with
Tools -> Options -> OO.org/Paths) correctly shows dir2 as _MyDocuments_
directory. However, if I do: File/Open, the old dir1 is shown in the
selection box: I would expect this to be now positioned on 'dir2' (as I
think to have read in the relative Help).
See the SDK example
<sdk>\examples\DevelopersGuide\OfficeDev\PathSettigns\PathSettings.java
Ok, its Java but you can probably see how the service works in general.
Juergen
Could somebody explain why?
Thanks for your attention.
Ennio.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]