Keeping clean versions - (was: RE: BlackBox source code 'improvements')

From: Treutwein Bernhard <"Treutwein>
Date: Wed, 12 Jan 2005 11:11:22 +0100

----boundary-LibPST-iamunique-344555438_-_-
Content-type: text/plain

there is an easy way to keep a clean version of BlackBox
by using the "network" feature. Doing some self-citation:

> -----Original Message-----
> From: Treutwein Bernhard
> Sent: Wednesday, April 28, 2004 1:42 PM
> To: blackbox{([at]})nowhere.xy
> Subject: Tip: Projects & BlackBox
>
>
> Dear BlackBox users,
>
> A little known feature of BlackBox is the ability to use the
> installation directory in read-only mode and have different
> projects under different directories. This allows for
> project specific configuration of the global menus etc.
> This feature is hidden under "Server installation (Windows only)"
> in "System/Docu/User-Man.odc". The only drawback is that you
> have to modify the way you call BlackBox for different projects.
>
> Enclosed is a little Visual-Basic script, which allows all
> projects to be stored under some root path (H:\BlackBox in
> my case) and to choose from this menu a project folder.
> It then switches the current directory to this path (with
> the result that File->Open offers you your project path)
> and appends the /use path to the BlackBox command line.
>
> For those of you, who have disabled the automatic (double
> click) execution of VBS for security reasons, a tiny
> BlackBox.cmd is included.
>
> regards
> --
> Bernhard Treutwein
> Bernhard.Treutwein(at)verwaltung uni-muenchen de (work)
> BdT(at)wildwein de (home)
--
	Bernhard Treutwein, IuK, Ref. III A 3
	Bernhard.Treutwein(at)verwaltung uni-muenchen de
------------------------------------------------------------ browse.vbs ----
' Author: Bernhard Treutwein BdT(at)wildwein de
' based on a hotline answer of the german computer 
' magazin c't, issue 9/2004, p. 184
' original script and copyright available at:
' ftp://ftp.heise.de/pub/ct/listings/0409-184.zip
' modified with help of the original author Hajo Schulz
[hajo.schulz{([at]})nowhere.xy' Last change: 28-Apr-2004
' mdified script published in c't, issue 12/2004, p. 204
' source available at:
' ftp://ftp.heise.de/pub/ct/listings/0411-204.zip
' Documentation for BrowseForFolder:
'
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/obje
cts/shell/browseforfolder.asp
Option Explicit
Dim sh, app, fldr
Dim prg, arg, mypath, root
Dim i
Set sh = WScript.CreateObject("WScript.Shell")
Set app = Wscript.CreateObject("Shell.Application")
prg = "D:\Programme\BlackBox\BlackBox.exe"   ' Define prg as the full path
name of your BlackBox installation
root = "H:\BlackBox\"                        ' Define root as the full path
name of the root directory of your BlackBox Projects
set fldr = app.BrowseForFolder(0, "Please choose project folder" & CHR(10) &
CHR(10) & "Cancel uses Blackbox Program directory", 65, root)
If fldr Is nothing then ' Cancel pushed, use default
  mypath = ""
 Else
  mypath = fldr.Self.Path
End If
If mypath = "" Then
  sh.Run prg, 1, false
 Else
  sh.CurrentDirectory = mypath
  sh.Run prg & " " & "/use " & mypath, 1, false
End If
---------------------------------------------------------- blackbox.cmd ----
C:\WINDOWS\System32\WScript.exe "d:\Programme\blackbox\browse.vbs"
----------------------------------------------------------------------------
--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xyTo get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xyCurrent posting policy:
a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
----boundary-LibPST-iamunique-344555438_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxib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