This toolbar button is setup to use a BAT file to copy your Datacad Clipboard contents to your co-workers clipboards. It's very handy to help aid in projects where multiple people need to work in the same file and need to swap data between the main file and copies of the file.
First you will need network access to their C:\Datacad 12\Clipbooks
Once you have network access to each others clipboard folders I suggest setting the following DCADWIN.INI value to maximze the number of clipboards you can use.
Next, create a BAT file for each user. I named ours Send2JoshH.BAT
etc. You can create the BAT files where ever you like but I keep mine in the Datacad 12\Support Files\Toolbars
folder since they are part of the toolbar "stuff".
As for the contents of the BAT file you will need to add and adjust the following line to match your user names and paths.
Code: Select all
copy "C:\Datacad 12\Clipbooks\%USERNAME%00.clipbook" "\\Josh\Datacad 12\Clipbooks\BryanC14.clipbook"
The first part of this line copies your latest clipboard (00) using the %USERNAME% environment variable that Datacad uses to create the clipboards since this will be unique for each user using the toolbar, and copies it to the path of the user you want to send the clipboard to, in this case BryanC, and names it BryanC14.clipbook. The reason we name it BryanC14 is so the clipboard contents are sent to last clipbook in Bryan's list (14) so he always know what position the sent clip is at and so we are replacing the oldest clipbook the user has. You will need to verify the path to your users folders as they can be different depending how your shares are setup.
Once you have a BAT file setup for each user, it time to add buttons to a toolbar to run the BAT files which will copy the clipboard contents over. For this we use the P code to lauch the BAt files for each user
Code: Select all
Icon=Users - Folders
Hint00=Send My Clipboard to Ben
Icon00=Users - Ben
P00="C:\Datacad 12\Support Files\Toolbars\Send2Ben.bat"
Hint01=Send My Clipboard to Bryan
Icon01=Users - Bryan
P01="C:\Datacad 12\Support Files\Toolbars\Send2Bryan.bat"
Hint02=Send My Clipboard to Jim
Icon02=Users - Jim
P02="C:\Datacad 12\Support Files\Toolbars\Send2Jim.bat"
Hint03=Send My Clipboard to Josh
Icon03=Users - Josh
P03="C:\Datacad 12\Support Files\Toolbars\Send2Josh.bat"
Hint04=Send My Clipboard to Paula
Icon04=Users - Paula
P04="C:\Datacad 12\Support Files\Toolbars\Send2Paula.bat"
Hint05=Send My Clipboard to Scott
Icon05=Users - Scott
P05="C:\Datacad 12\Support Files\Toolbars\Send2Scott.bat"
Hint06=Send My Clipboard to Terry
Icon06=Users - Terry
P06="C:\Datacad 12\Support Files\Toolbars\Send2Terry.bat"
Once it's all setup, you just copy something to your clipboard (remember the insertion point or absolute zero), then click the Send My Clipboard to User icon , tell the user you sent them the data, and then they go to their Clipboards, pick the #14 clipboard and paste the data in any drawing they want. One thing to remember is that as soon as they copy something to their clipboard after you send them yours, they will loose the data you sent them. So remember to communicate with the user you are send the data to and make sure the paste it where it needs to go before you move on.
(Clipboard buttons are in the lower section)