The tools menu may be fully customized for the user needs; initially it comes empty.
Some documents may be added automatically by the device characteristics viewer (datasheets).
Note that for the "Add" functionality the new data is pre-filled with the data of the tool line currently selected, for easy duplication.
(This one is for calling MikroE PicFlash programming tool)
Menu separator lines: A simple dash in the title is enough to make a menu separator.
Ampersand character in the title: This is the common way to tell that the next character has to be underlined and designed as the keyboard shortcut character (Alt-Letter).
In the "Parameters" field, macros may be used. They may be displayed / hidden by the "Macros" button that extends the dialog again.
Macros names are inserted into the "Parameters" field at the cursor place, by double-clicking on a macro in the list.
In the table below, suppose that the current project is "c:\temp\test_pwm.pmp", and the current editor file is "c:\temp\test.pas".
Name |
Behavior |
Result example |
$EDNAME |
Current editor file name (without path nor quotes) |
test.pas |
$EDFILE |
Current editor file name (with path and quotes) |
"c:\temp\test.pas" |
$PRJNAME |
Current project file (without path nor quotes) |
test_pwm |
$PRJFILE |
Current project file (with path and quotes) |
"c:\temp\test_pwm.pmp" |
$ASMPATH |
Current project compiler output path (without quotes) |
c:\temp\asm\ |
$HEXPATH |
Current project linker output path (without quotes) |
c:\temp\hex\ |
$HEXFILE |
Current project linker output file (with path and quotes) |
"c:\temp\hex\test_pwm.hex" |
$SAVE |
Save current file before to call the tool |
|
$SAVEALL |
Save all files before to call the tool |
|
$PATH |
Path part of a file name (without quotes) |
c:\temp\ |
$NAME |
Name part of a file name (with extension, without quotes) |
test.pas |
$NAMEONLY |
Name part only of a file name (without extension, without quotes) |
test |
$EXT |
Extension part of a file name (with the dot, without quotes) |
.pas |
$PROCESSOR |
Current project default processor (without quotes) |
PIC16F84 |
$SPROCESSOR |
Current project default processor (without quotes), short form |
16F84 |