Double Click Project: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 7: Line 7:
*BR! [[4.17]] or higher
*BR! [[4.17]] or higher


==Instructions for Windows XP==
==Instructions for Windows Vista and Later==
Here is all you need to do.
<ol>
<li>double click on a .wb file
<br>This will cause it fail in opening
<br>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.
<br>The vital part of this step is to perform the Association</li>
<ol><li>Windows will ask what program you'd like to use to open the file</li>
<li>choose the br.exe you usually use
<br>Tell it that the type of file is [[Business Rules! program]]</li>
<li>make sure there is a check-mark next to <b>always use this program to open files of this type</b>
</ol>
<li>WB  will launch and fail.
<br>'''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.
<li> Click on Tools>Folder Options>File Types</li>
<li> find .WB on the list<br>you'll notice it says Business Rules! program next to it
<br>Click on it to highlite it</li>
<li>Click the Advanced Button</li>
<li>Select Open > Modify</li>
<li> Change the Action name to Edit</li>
<li>Change the "%1" part of the command to Edit %1
<br>if you use a non-standard brConfig.sys file, than you should specify it here, also any other necessary command line parameters.</li>
<li>click several ok and/or save buttons.
</ol>
Enjoy!
 
==Instructions for Windows Vista==
The difference from the above instructions is where you go to get to File Types.


<ol>
<ol>
<li>double click on a .wb file
<li>Double click on a .BR file.
<br>This will cause it to fail in opening
<br>This will cause it to fail opening.
<br>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.
<br>The vital part of this step is to perform the file Association with BR.EXE</li>
<br>The vital part of this step is to perform the Association</li>
<ol><li>Windows will ask what program you'd like to use to open the file</li>
<ol><li>Windows will ask what program you'd like to use to open the file</li>
<li>Choose the br.exe you usually use
<li>Choose the br.exe you usually use
Line 47: Line 19:
</ol>
</ol>
<li>WB  will launch and fail.
<li>WB  will launch and fail.
<br>'''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.
<li>Click the Windows Start button (), and then click Control Panel.</li>
<li>Click the Windows Start button (), and then click Control Panel.</li>



Latest revision as of 03:32, 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 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.