Double Click Project: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "The goal of the '''Double Click Project''' is simply to make Double Clicking (in windows explorer) edit a .br file. Double click on a .wb file and have it launch your...")
 
No edit summary
Line 1: Line 1:
The goal of the '''Double Click Project''' is simply to make Double Clicking (in windows explorer) [[edit]] a [[.br file]].
The goal of the '''Double Click Project''' is simply to make Double Clicking (in windows explorer) [[edit]] a [[.br file]].


Double click on a .wb file and have it launch your regular copy of BR! from it's regular location and for it to then launch your favorite editor for the appropriate .wb-[WSID].brs file.  The BR! session will wait in "Edit" mode for you to press Enter, where it will then do it's best to proc in your changes.  You will then be able to decide if you should Replace, or do further modification or what ever.
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==
==Requirements==

Revision as of 03:18, 11 October 2014

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 XP

Here is all you need to do.

  1. 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
    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.
    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.
  3. Click on Tools>Folder Options>File Types
  4. find .WB on the list
    you'll notice it says Business Rules! program next to it
    Click on it to highlite it
  5. Click the Advanced Button
  6. Select Open > Modify
  7. Change the Action name to Edit
  8. 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.
  9. 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.

  1. 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
    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.
    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.
  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.