Double Click Project
The goal of the Double Click Project is simply to make Double Clicking (in windows explorer) edit a .br file.
Once you have established the connection, you can double click on a .br file to launch BR! from it's regular location and then issue an EDIT command to launch your favorite editor for the corresponding BR source work file. The BR! session will wait in "Edit" mode for you to press Enter, where it will then proc in your changes. You will then be able to decide if you should Replace, do further modification or simply test the changes.
Requirements
- an Editor specified in brConfig.sys
- BR! 4.17 or higher
Instructions for Windows XP
Here is all you need to do.
- double click on a .wb file
This will cause it fail in opening
If working with a file on and F: drive this will (as of 4.18a) delete*** the .wb file, so be careful which file you choose to do this step on.
The vital part of this step is to perform the Association - Windows will ask what program you'd like to use to open the file
- choose the br.exe you usually use
Tell it that the type of file is Business Rules! program - make sure there is a check-mark next to always use this program to open files of this type
- WB will launch and fail.
deleting the file you double clicked on if it is located on an F: drive. This should be fixed in version greater than 4.20. - Click on Tools>Folder Options>File Types
- find .WB on the list
you'll notice it says Business Rules! program next to it
Click on it to highlite it - Click the Advanced Button
- Select Open > Modify
- Change the Action name to Edit
- Change the "%1" part of the command to Edit %1
if you use a non-standard brConfig.sys file, than you should specify it here, also any other necessary command line parameters. - click several ok and/or save buttons.
Enjoy!
Instructions for Windows Vista
The difference from the above instructions is where you go to get to File Types.
- double click on a .wb file
This will cause it to fail in opening
If working with a file on and F: drive this will (as of 4.18a) delete*** the .wb file, so be careful which file you choose to do this step on.
The vital part of this step is to perform the Association - Windows will ask what program you'd like to use to open the file
- Choose the br.exe you usually use
Tell it that the type of file is Business Rules! program - Make sure there is a check-mark next to always use this program to open files of this type
- WB will launch and fail.
Deleting the file you double clicked on if it is located on an F: drive. This should be fixed in version greater than 4.20. - Click the Windows Start button (), and then click Control Panel.
- Click Programs, Default Programs, and then Associate a file type or protocol with a specific program.
- Find .WB on the list
you'll notice it says Business Rules! program next to it.
Click on it to highlite it - Click the Change Program Button Create a new file in the same directory as br32.exe with the name of brEdit.cmd. editit with notepad. It should contain the following: [path]br32.exe edit '"%*"' This is a standard batch file. You will need to replace [path] with your actual path to br32.exe. Select the brEdit.cmd file you just made as the program to open .wb files with.
- Select Open > Modify
- Change the Action name to Edit
- Change the "%1" part of the command to Edit %1
if you use a non-standard brConfig.sys file, than you should specify it here, also any other necessary command line parameters. - click several ok and/or save buttons.
Enjoy!
*** It will delete if your first drive statement is mapped to F: and you are using a version prior to 4.2... The very first releases of 4.2 may also exhibit this glitch. If you do not use F: as your default drive you should not encounter this.
Never Ending Fun Section
The Shared Project's purpose is to make the ultimate double click action (or set of actions) for BR Developers
Key Points:
- Edit files easily
- This is fully functioning and illustrated above.
- But if you think you may have a better way, than please share!
- Load Files
- different working directory habits
- This can be done, just like the one above, only substitute the word EDIT appropriately.
- Run Files
- different running directory habits
- This can be done, just like the one above, only substitute the word EDIT appropriately.