Home » Products » UEStudio » UES Tour » User tools

UEStudio integrated development environment tour: user tools

The UEStudio tour is intended to guide you through some of the advanced IDE features of the application. UEStudio includes all of the features of UltraEdit, the world's best text editor, which are not covered here.

UEStudio tour: user tools

Most UltraEdit users are familiar with the power of user-configurable tools. These are available in UEStudio as well and allow you to configure up to ten menu items to commands of your choice using the tool configuration menu item. Additionally up to ten tools may be configured for the active project by selecting the project tool configuration menu item.

These commands may be any DOS or Windows commands, and when set up appear in the lower portion of the advanced menu.

When the tool configuration menu item is selected, a dialog is presented allowing you to specify the command line and action for each of your choices.

User tool configuration dialog

Visit our "Creating user and project tools" power tip to learn more about this dialog.


The following commands may be used to pass a portion of the full qualified filename:

CommandMeaning
%PPath only ("C:\project\test\")
%Nfile Name only ("test")
%EExtension only (".c")

%P%N%E is equal to %F which is ("C:\project\test\test.c") in the example above.

NOTE: If the %f, %p, %n, %e are lower case the filenames are passed as long filenames and should be put in quotes, i.e. "%f" or "%p%n" etc. If the %F, %P, %N, %E are in upper case the filename and path will converted and passed as the "8.3" short filename specification for maximum compatibility with DOS programs.

Additionally the following commands are available:

Command   Meaning
%RThis may be used for the full path/name of the project (%r for long name, %R for short name)
%RPThis may be used for the full project path (%rp for long name, %RP for short name)
%RNThis may be used for the project name only (%rn for long name, %RN for short name)
%modify%In some cases it may be necessary to modify the command line parameters each time the tool is run. To do this, add %modify% in the command line and when the tool is run a dialog box will be shown allowing the user to modify the command line or cancel and run without modification.
%sel%This instructs UEStudio to add the highlighted/selected text from the active document into the command line in place of the %sel%.
%EnvThis allows the user to use an environment variable in the command. The environment variable immediately follows the %Env: and UEStudio replaces this with the contents of the matching environment variable.
%line%This instructs UEStudio to add the line number of the cursor into the command line in place of the %line% - 1 is the first line.
%col%This instructs UEStudio to add the column number of the cursor into the command line in place of the %col% - 1 is the first column.

UEStudio tour topics

Back to top