Issue 65154 - Use Basic path and allow to share macro
Summary: Use Basic path and allow to share macro
Status: CLOSED WONT_FIX
Alias: None
Product: App Dev
Classification: Unclassified
Component: scripting (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P4 Trivial
Target Milestone: ---
Assignee: ab
QA Contact: Unknown
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-08 01:55 UTC by cbrunet
Modified: 2013-02-24 21:00 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description cbrunet 2006-05-08 01:55:43 UTC
Actually, it seems that OOo looks into the files script.xlc and dialog.xlc 
located in the second directory listed into the Basic path to know what 
StarBasic macros are available. Modifying Basic path does nothing, and can 
broke the usability of installed macros. All macros located into the $(INST) 
directory are listed as OOo macros, and the other ones as MyMacros.

There should be a way to specify macro libraries location shared among users­.

This is what I suggest:
1- For each directory listed into the Basic path
   1.1- If that directory contains script.xlc and dialog.xlc, add those 
libraries into the macro list
   1.2- If that directory doesn't contain script.xlc and dialog.xlc and is 
writable, build those two files by looking for all subfolders containing valid 
script.xlc and dialog.xlc
   1.3- In the macro list, list each location with a different name (OOo 
macros, my macros, shared macros, etc.)

2- When adding a new library to the list
   2.1- If the selected file isn't in a folder located into the Basic path, 
move it the the user basic folder (this is a similar behavior than with 
templates) So all macro libraries need to be in the Basic path.

That way, I could put some macro libraries on a shared directory in my network, 
and with the appropriate script.xlc file, all my computers having that location 
in their Basic path could see those macros. In a similar way, the 
OpenOffice.org macros wouldn't need to be listed in each user profile.
Comment 1 noel.power 2006-05-09 10:28:25 UTC
np->ab
Comment 2 ab 2006-05-09 10:45:58 UTC
No easy subject -> OOo Later for now
Comment 3 ab 2006-08-25 07:56:52 UTC
Probably this topic will be reworked anyway for one of the next 
releases. Keeping this task as reminder -> STARTED, OOo 2.x
Comment 4 Mathias_Bauer 2007-12-04 14:57:27 UTC
basic and scripting issues now should be assigned to component "scripting"
Comment 5 Martin Hollmichel 2007-12-07 12:13:26 UTC
set target to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
Comment 6 ab 2009-01-29 14:25:53 UTC
In the meantime the basic path cannot be modified any more and 
is not even displayed in Options / Path Settings -> WONTFIX
Comment 7 Mechtilde 2009-07-12 19:04:12 UTC
wontfix -> closed