Double Click Project

From BR Wiki
Jump to navigation Jump to search

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

Instructions for Windows Vista and Later

  1. Double click on a .BR file.
    This will cause it to fail opening.
    The vital part of this step is to perform the file Association with BR.EXE
    1. Windows will ask what program you'd like to use to open the file
    2. Choose the br.exe you usually use
      Tell it that the type of file is Business Rules! program
    3. Make sure there is a check-mark next to always use this program to open files of this type
  2. WB will launch and fail.
  3. Click the Windows Start button (), and then click Control Panel.
  4. Click Programs, Default Programs, and then Associate a file type or protocol with a specific program.
  5. Find .WB on the list
    you'll notice it says Business Rules! program next to it.
    Click on it to highlite it
  6. Click the Change Program Button
  7. 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.
  8. Select Open > Modify
  9. Change the Action name to Edit
  10. 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.
  11. 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.