External Tools
External tools are programs or files outside alameen ERP 10 that you add to your own list and then start from the Quick Access Toolbar without leaving the program, such as a calculator, a spreadsheet program or a network folder. This page describes the list window and the window that defines one command. For the steps to add a tool, see Add an external tool to the ribbon.
Opening the window
- In the Quick Access Toolbar at the top of the main window, click the External Tools button. If the list has tools, the button is split in two: click the main part, not the small arrow beside it.
- The External Tools window opens with the list of tools.
You do not need an open company file. The command needs the standard reports feature in the program licence. In the reduced edition that does not include it, nothing happens when you click the button.
The list belongs to the Windows account you work with on this computer. Other Windows users on the same computer do not see it, and it does not change with the company file or the program user.

The list of tools
The list shows the tool names in the order you added them. There is no search box and no other sort order.
| Button | What it does |
|---|---|
| Ok | Saves the list as it is in the window and closes it. The Quick Access Toolbar updates at once. |
| New | Opens an empty External Command window to add a tool at the end of the list. Key: Insert. |
| Modify | Opens the External Command window for the selected tool. Key: F2. Disabled until you select a tool. |
| Delete | Deletes the selected tool after it asks you. Key: Delete. Disabled until you select a tool. |
| Cancel | Closes the window and drops everything you added, changed or deleted since you opened it. |
What you do with New, Modify and Delete stays in the window until you click Ok. If you delete every tool and click Ok, the External Tools button in the Quick Access Toolbar becomes a plain button again, without an arrow.
The External Command window
It opens when you click New or Modify and defines one tool.

| Field | Description | Required | Values and rules |
|---|---|---|---|
| Command name | The name shown in the tools list and in the drop-down arrow of the Quick Access Toolbar. | Yes | Free text, such as Calculator. The program does not stop you from repeating a name. |
| Program | The program or file that runs. | Yes | Type the full path, or click Browse to pick it. The program accepts any text and does not check that the file exists. |
| Arguments | What the program receives when it starts. | No | Free text. You can use the variables in Variables in the command line. |
| Start in | The folder the program starts working in. | No | A folder path. If you leave it empty, Windows chooses the folder. |
| Run | The size of the window the program opens with. | Yes, with a preset value | Run Normal (the default), Run Minimized or Run Maximized. |
| Button | What it does |
|---|---|
| Browse | Opens a file window that lists programs (*.exe) or all files, then puts the chosen path in the Program field. |
| Ok | Puts the definition in the list and closes the window. If Command name or Program is empty, the window stays open and the cursor goes to the empty field, with no message. |
| Cancel | Closes the window without saving. |
Variables in the command line
The program replaces each variable with its value before it starts the tool. Write the variables in lowercase or uppercase.
| Variable | Value |
|---|---|
%u | The name of the user signed in to the open file. |
%d | The database name of the open file. |
%s | The name of the server that holds the open file. |
%f | The name of the open company file. |
%% | A percent sign itself. |
If no file is open when the tool starts, the first four variables disappear and nothing replaces them. If a percent sign is followed by any other letter, the sign is dropped and the letter stays.
Example: the line "%f" /user %u passes the name of the open file in quotation marks, then the word /user, then the user name.
The tool in the Quick Access Toolbar
- No tools: the External Tools button is a plain button that opens the list.
- One tool or more: the button is split. The main part opens the list as before. Its arrow shows the tool names, each with the program icon and, if you set one, the shortcut key.
- Clicking a tool name in the arrow runs it with its saved settings.
- A tool can run with no file open, but then
%u,%d,%sand%fare empty.
To run a tool with a keyboard key, open File > Program Options > Hotkeys, add a shortcut of type External Command and choose the tool. The key then shows beside the tool name in the arrow. See Change a keyboard shortcut. The shortcut is tied to the position of the tool in the list, not to its name. If you delete a tool from the middle of the list, the shortcut runs the tool that took its position.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Are you sure you want to delete command? | You clicked Delete with a tool selected. The buttons are Yes and No. | Click Yes to remove the tool from the list, or No to keep it. The deletion is not saved before Ok. |
If a program you defined does not start, check the Program path and Start in folder. The program does not check them when you save.
Related
This page applies to alameen ERP 10, version 10.1.79.764.