When running ebase in a multi-user environment, it is critical that the host computer have all of the ebase files open before another user tries to access them.  Most folks accomplish this by remembering to run the "Set to Multi-user" script each time they start up ebase on the host machine.

Here's a modification that you can make to one script that will accomplish this for you .  What it does is check to see how many users are in the names_.10x file right now.  If the number is 1, then you must be the host and all files need to be opened.  Otherwise, the minimal set of files gets opened.  I make this a standard modification for every conversion I perform.

The original script named "800a - Open ebase a Files" looks like this:

Open [ Filename: "custom_.103" ]
[ Open minimized ]
Open [ Filename: "help_.103" ]
[ Open minimized ]
Open [ Filename: "notes_.103" ]
[ Open minimized ]
Open [ Filename: "paymnts_.103" ]
[ Open minimized ]
Open [ Filename: "profile_.103" ]
[ Open minimized ]
Open [ Filename: "setup_.103" ]
[ Open minimized ]
Open [ Filename: "summary_.103" ]
[ Open minimized ]
Open [ Filename: "zip_.103" ]
[ Open minimized ]
If [ Status(CurrentPlatform) = 2 ]
Toggle Window
[ Maximize ]
End If
Refresh Window
[ Bring to front ]
Perform Script [ "HOME" ]
[ Sub-scripts ]


I change it to this:

If [ Status( CurrentUserCount) = 1 ]
Perform Script [ "820 - Open All" ]
[ Sub-scripts ]
Else
Open
[ Filename: "custom_.103" (63.11.255.12) ]
[ Open minimized ]
Open [ Filename: "help_.103" ]
[ Open minimized ]
Open [ Filename: "notes_.103" (63.11.255.12) ]
[ Open minimized ]
Open [ Filename: "paymnts_.103" (63.11.255.12) ]
[ Open minimized ]
Open [ Filename: "profile_.103" (63.11.255.12) ]
[ Open minimized ]
Open [ Filename: "setup_.103" (63.11.255.12) ]
[ Open minimized ]
Open [ Filename: "summary_.103" (63.11.255.12) ]
[ Open minimized ]
Open [ Filename: "zip_.103" (63.11.255.12) ]
[ Open minimized ]
End If
If
[ Status(CurrentPlatform) = 2 ]
Toggle Window
[ Maximize ]
End If
Refresh Window
[ Bring to front ]
Perform Script [ "HOME" ]
[ Sub-scripts ]

---------------------------------------------------------------------
Jack Noll - ebase consultant and wildlife advocate

Check out a *great* program at www.beardogs.org
---------------------------------------------------------------------
------------------
Reminder to each recipient: To change your list account preferences, go to
http://email.sparklist.com/scripts/lyris.pl?enter=support and enter the email address you used to subscribe to the ebase support list:: [email protected]

To unsubscribe send a blank email to [EMAIL PROTECTED]
---------------------------------------------------------------------
ebase - Relationship Management for Nonprofits, http://www.ebase.org
---------------------------------------------------------------------

Reply via email to