Freemind Collaboration on Windows: Difference between revisions

From FreeMind
Jump to navigationJump to search
(Replica Rolex watches)
(-spam)
 
(25 intermediate revisions by 17 users not shown)
Line 1: Line 1:
== Introduction ==
''This page has been created by a FreeMind user. The FreeMind team has not tested the content of the page.''


Share your mindmaps and built them in collaboration. This simple batch file autorise collaboration on freemind maps via a fileserver. If you can access the same disk with your collegues in your organisation, you can now work together on your mindmaps : this script avoid multiple edition at the same time (lock the file for you and tell the others that YOU edit it for the moment) and make backups each time you open a mindmap (like 2006-04-02_myfilename.mm). Works only on windows.
The following batch file for Windows eases sharing your mindmaps and building them in collaboration, by authoring collaboration on FreeMind maps via a fileserver. If you can access the same disk with your collegues in your organisation, you can now work together on your mindmaps: this script avoid multiple edition at the same time (lock the file for you and tell the others that YOU are currently editing it) and make backups each time you open a mindmap (like 2006-04-02_myfilename.mm). Works only on Windows.


== Use ==
== Use ==
Line 66: Line 66:
</nowiki></pre>
</nowiki></pre>


<div id="nolabel" style="overflow:auto;height:1px;">
== Licence ==


[http://www.action-meds.com buy tramadol]
This code is released under GPL licence by [http://stephane.Rouilly.free.fr/ Starcrouz].  
[http://www.5stardrugs.com cheap butalbital]
Hope it could be usefull for you.
[http://www.24-7pills.net tramadol online]
[http://www.american-meds.net butalbital discount]
[http://www.amazing-pills.com butalbital cheap]


[http://20six.co.uk/cheaptramadol cheap tramadol]
== Who use it ? ==
[http://20six.co.uk/ordertramadol order tramadol]
[http://20six.co.uk/onlinetramadol1 online tramadol]
[http://20six.co.uk/tramadolonline tramadol online]
[http://20six.co.uk/tramadoldiscount tramadol discount]
[http://20six.co.uk/purchasetramadol purchase tramadol]
[http://20six.co.uk/ordersoma order soma]
[http://20six.co.uk/onlinesoma1 online soma]
[http://20six.co.uk/online-viagra online viagea]
[http://20six.co.uk/orderviagra order viagra]
[http://20six.co.uk/cheapviagraonline cheap viagra online]
[http://20six.co.uk/purchaseviagra purchase viagra]
[http://20six.co.uk/cheap-ultram cheap ultram]


[http://spaces.msn.com/cheap-tramadol/ cheap tramadol]
Us at [http://www.rd.edf.fr/ EDF R&D], France
[http://spaces.msn.com/buy-viagra/ buy viagra]


[http://www.si-on.co.il îðåòéí]


SEO: UndoneHeaven
== Generalization ==


[http://www.replicamaster.com buy fake swiss]
I've put the above idea to more general use, meaning the replacement of Freemind.exe in the windows registered filetypes. This means that the script mentioned below will be called instead and locks the mindmap for every opening through the explorer. Another difference of the script to the original is that the user doesn't need to press any keys in command shells anymore, as the script only continues after the freemind executable (actually java) has been closed by the user. There is still commandshells being opened, which I'm not too happy about.
[http://www.replicahours.com rolex replica]
[http://www.replicahours.com/index.php?cPath=51_25 fake rolex daydate]
[http://www.replicahours.com/index.php?cPath=29 replica swiss]
[http://www.google.com/search?sourceid=navclient&gfns=1&ie=UTF-8&q=replicahours
replicahours]
buy replica cheap best price rolex discounf fake. watches fake watch online store using paypal fedex rolex replicahours. order rolex replica now. cheap wholesale fake rolex online free shipping. 80% discount rolex replica and replicas watches. womanauthorized rolex dealer, rolex watches rolex dial rolex oyster perpetual date reloj panerai replica en usa rolex watches serial numbers rolex woman daytona daytona watch replica panerai watch rolex 50th anniversary rolex daytona paul newman replica rolex buy rolex watches. ladies rolex yachtmaster white dial faux. rolex daytona manual cellini rolex for sale pictures of rolex oyster perpetual datejust rolex rolex gmt-master ii buying rolex on line fake rolex daytona gold on silver how to tell fake tag rolex oyster perpetual new tell. Replica rolex? Swiss made replica
rolex watch! Cost does fake much rolex rolex presidential rolex. Rolex dials rolex sea dweller. Rolex  tudor fake rolex turkey datejust oyster perpetual rolex man rolex submariner cosmograph daytona oyster professional rolex? Datejust rolex rolex replica rolex fake rolexes for sale. Rolex submariner for sale, rolex yachtmaster! Explorer ii rolex preowned rolex watch? Cheap rolex watch, rolex daytona 116520 forum rolex. 18k gold replica ex part rolex daytona review rolex submariner 50 anniversary rolex cellini replica rolex watch fake rolex omega?


[http://www.customsoftwarenow.com custom software development]
== Use ==
Software Development, custom software development, offshore  software
 
development, outsourcing software development
"Install" the script + the windows registry changes and simply open your .mm files in the explorer
 
== Code ==
 
Copy the code below to a command script named startLockFreemind.cmd (for example) and put into your Freemind program folder.
Check if the configuration lines (first lines) fits your needs.
 
Copy the registry entries to a .reg file (e.g. FreemindLock.reg) and import into registry (doubleclicking). In case you changed the name of the command script then you have to modify the contents accordingly. Also you might need to change the path to the command script to reflect your Freemind program folder location.
 
<pre><nowiki>
@ECHO OFF
CLS
REM *** CONFIG : Edit here if necessary ***
(SET fPP=C:\Programme\Freemind\)
 
REM if you like the backuped file to be stored in their own dir. Don't forget the trailing slash
REM example : backupsdir=MMversions\
SET backupsdir=MMversions\
 
REM ******** Do not edit below ********
set fileFP=%~1%
set fileN=%~n1%
set fileP=%~p1%
 
IF EXIST "%fileFP%.lock" GOTO :LOCKEDFILE
 
ECHO STARTING FREEMIND on %computername%
 
REM ********** Backups ***************
set mytime=%time:~0,2%%time:~3,2%%time:~6,2%
 
REM You might need to change that to reflect your local date display...
set mydate=%date:~6,4%%date:~3,2%%date:~0,2%
 
IF NOT EXIST "%fileP%%backupsdir%" mkdir "%fileP%%backupsdir%"
copy "%fileFP%" "%fileP%%backupsdir%%mydate%_%mytime%_%fileN%.mm"
 
REM ********** lock file creation ***************
ECHO %computername% > "%fileFP%.lock"
start /wait java.exe -cp %fPP%lib\freemind.jar;%fPP%lib\ant\lib\jaxb-api.jar;%fPP%lib\ant\lib\jaxb-impl.jar;%fPP%lib\ant\lib\jaxb-libs.jar;%fPP%lib\ant\lib\namespace.jar;%fPP%lib\ant\lib\relaxngDatatype.jar;%fPP%lib\ant\lib\xsdlib.jar;%fPP%lib\ant\lib\jax-qname.jar;%fPP%lib\ant\lib\sax.jar;%fPP%lib\ant\lib\dom.jar freemind.main.FreeMind "%fileFP%"
DEL "%fileFP%.lock"
GOTO THEEND
 
:LOCKEDFILE
CLS
ECHO Sorry, the file is already edited by 
TYPE "%fileFP%.lock"
PAUSE
GOTO THEEND
 
:THEEND
</nowiki></pre>
 
== Registry Settings ==
 
<pre><nowiki>
Windows Registry Editor Version 5.00
 
[HKEY_CLASSES_ROOT\FreeMind Map\Shell\Open\Command]
@="\"C:\\Programme\\FreeMind\\startLockFreemind.cmd\" \"%1\""
</nowiki></pre>
 
== Licence ==
 
This code is released under GPL licence by [http://www.kapl.org/ Roland].
 
== Who uses it ? ==
 
Us at [http://www.oebfa.co.at/ Austrian Federal Financing Agency], Austria
 
== Big Fat Warning ==
 
It won't lock referenced files, if you open a mindmap from within another mindmap, or from the file-open Menu, it won't lock the files nor check if it is locked.


[http://www.thepublish.com press release]
[[Category:Documentation]]
press release, articles, business directory, ezines, classifieds, job
search,business free  b2b search advertising aerospace defense
agriculture airlines automotive chemicals computers electronics semiconductors
energy utilities
</div>

Latest revision as of 08:33, 11 March 2011

This page has been created by a FreeMind user. The FreeMind team has not tested the content of the page.

The following batch file for Windows eases sharing your mindmaps and building them in collaboration, by authoring collaboration on FreeMind maps via a fileserver. If you can access the same disk with your collegues in your organisation, you can now work together on your mindmaps: this script avoid multiple edition at the same time (lock the file for you and tell the others that YOU are currently editing it) and make backups each time you open a mindmap (like 2006-04-02_myfilename.mm). Works only on Windows.

Use

Call share.bat instead of the freemind file directly (ex : toto.mm) to lock and backup the map prior editing. Easy way to use it : put your freemind file + share.bat on your shared disk (ex : J://freemindFiles/share.bat and J://freemindFiles/toto.mm) and make a share.bat shortcut on your windows desk (right click on share.bat and select "send to" > "desk")

Code

Copy the code below to a text file (located in the same dir as your mindmap to share if possible) named share.bat (for example). Check if the configuration lines (first lines) fits your needs.

@ECHO OFF
CLS
REM *** CONFIG : Edit here if necessary ***

SET freemindProgramPath = "C:\Program files\FreeMind\Freemind.exe"

REM if this script is in the same dir as the file (.mm), just write : filepath=.\
SET filepath=.\

REM the name of the file to share
SET filename=toto.mm

REM if you like the backuped file to be stored in their own dir. Don't forget the trailing slash
REM example : backupsdir=versions\
SET backupsdir=

REM ******** Do not edit below ********

IF EXIST %filepath%lock.txt GOTO :LOCKEDFILE

ECHO STARTING FREEMIND on %computername% 
echo .

REM ********** Backups ***************
set mydate=%date:~11,4%%date:~8,2%%date:~5,2%
set mytime=%time:~0,2%%time:~3,2%%time:~6,2%
ECHO Saving preceding version of this file (good idea, is'nt it ?)
copy "%filepath%%filename%" "%filepath%%backupsdir%%mydate%_%mytime%_%filename%"
ECHO .
echo %filepath%%backupsdir%%mydate%_%mytime%_%filename%
echo %mydate%
echo %mytime%
REM ********** lock file creation ***************
ECHO %computername% > "%filepath%lock.txt"
%freemindProgramPath% "%filepath%%filename%"
ECHO You locked this mindmap file. You can free it later by pressing space bar in this window
echo .
PAUSE
CLS
ECHO That's it, your file is now free to be edited by others.
DEL "%filepath%lock.txt"
GOTO THEEND

:LOCKEDFILE
CLS
ECHO Sorry, the file is already edited by  
TYPE "%filepath%lock.txt"
GOTO THEEND

:THEEND
echo .
PAUSE

Licence

This code is released under GPL licence by Starcrouz. Hope it could be usefull for you.

Who use it ?

Us at EDF R&D, France


Generalization

I've put the above idea to more general use, meaning the replacement of Freemind.exe in the windows registered filetypes. This means that the script mentioned below will be called instead and locks the mindmap for every opening through the explorer. Another difference of the script to the original is that the user doesn't need to press any keys in command shells anymore, as the script only continues after the freemind executable (actually java) has been closed by the user. There is still commandshells being opened, which I'm not too happy about.

Use

"Install" the script + the windows registry changes and simply open your .mm files in the explorer

Code

Copy the code below to a command script named startLockFreemind.cmd (for example) and put into your Freemind program folder. Check if the configuration lines (first lines) fits your needs.

Copy the registry entries to a .reg file (e.g. FreemindLock.reg) and import into registry (doubleclicking). In case you changed the name of the command script then you have to modify the contents accordingly. Also you might need to change the path to the command script to reflect your Freemind program folder location.

@ECHO OFF
CLS
REM *** CONFIG : Edit here if necessary ***
(SET fPP=C:\Programme\Freemind\)

REM if you like the backuped file to be stored in their own dir. Don't forget the trailing slash
REM example : backupsdir=MMversions\
SET backupsdir=MMversions\

REM ******** Do not edit below ********
set fileFP=%~1%
set fileN=%~n1%
set fileP=%~p1%

IF EXIST "%fileFP%.lock" GOTO :LOCKEDFILE

ECHO STARTING FREEMIND on %computername%

REM ********** Backups ***************
set mytime=%time:~0,2%%time:~3,2%%time:~6,2%

REM You might need to change that to reflect your local date display...
set mydate=%date:~6,4%%date:~3,2%%date:~0,2%

IF NOT EXIST "%fileP%%backupsdir%" mkdir "%fileP%%backupsdir%"
copy "%fileFP%" "%fileP%%backupsdir%%mydate%_%mytime%_%fileN%.mm"

REM ********** lock file creation ***************
ECHO %computername% > "%fileFP%.lock"
start /wait java.exe -cp %fPP%lib\freemind.jar;%fPP%lib\ant\lib\jaxb-api.jar;%fPP%lib\ant\lib\jaxb-impl.jar;%fPP%lib\ant\lib\jaxb-libs.jar;%fPP%lib\ant\lib\namespace.jar;%fPP%lib\ant\lib\relaxngDatatype.jar;%fPP%lib\ant\lib\xsdlib.jar;%fPP%lib\ant\lib\jax-qname.jar;%fPP%lib\ant\lib\sax.jar;%fPP%lib\ant\lib\dom.jar freemind.main.FreeMind "%fileFP%"
DEL "%fileFP%.lock"
GOTO THEEND

:LOCKEDFILE
CLS
ECHO Sorry, the file is already edited by  
TYPE "%fileFP%.lock"
PAUSE
GOTO THEEND

:THEEND

Registry Settings

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\FreeMind Map\Shell\Open\Command]
@="\"C:\\Programme\\FreeMind\\startLockFreemind.cmd\" \"%1\""

Licence

This code is released under GPL licence by Roland.

Who uses it ?

Us at Austrian Federal Financing Agency, Austria

Big Fat Warning

It won't lock referenced files, if you open a mindmap from within another mindmap, or from the file-open Menu, it won't lock the files nor check if it is locked.