Properties

back to index

Main Program Properties
Most of Ant Commander options are modifiable though the
option action or other configuration action. Advanced options can be set by changing the configuration file (e.g. AntCommander.ini):
Property's name Description
TabPlacement The location of the tabs (1: top, 2:left, 3:bottom, 4:right, -1: default)
PlugInsURL The url of the file containing the list of the plug-ins.
RemotePlugInsDir The base directory for the plug-ins.
ActionFile The file containing the list of the possible actions.
Locale The language (eg. en_US) for the user interface. At the moment only English is supported.
RecordBeforeAction Recorded the action just before being executed or just after.
If you record after the action then the values filled during the action are also stored.

Plug-ins/Panel Properties
Property's name Description
Location The URL location where that this panel should use.
LocalSettings The plug-in property file to use.
PanelClass The panel class name to use for the plug-in.
IgnoreFolders Ignore the location if a user select a directory.
NotFocusable Indicates that the panel cannot have the focus.
PanelToolbar A comma separated list of actions for the toolbar.
HideToolbar Don't show the toolbar for the panel.
BackgroundColor The color of the background (e.g. #000000)
ForegroundColor The color of the font (e.g. #BBBBBB)
Font The font (e.g. Monospaced-PLAIN-12)
BackgroundImage The location of the image to put in the background.
BackgroundBrightness Change the brightness of the background image (between -1.0 and 1.0).
PanelWidth The preferred width of the panel.
PanelHeight The preferred height of the panel.

Action Properties
Property's name Description
Name The name of the action. This name will be used for example for the menu
IconName The icon associated with the action.
Accelerator Define the accelerator key. Look at the examples in Actions.txt.
ActionPanel Specify another panel than the selected one to perform the action.
right: use the right panel
Directory Table-0: use the first Directory Panel found.
1.2: Use the second panel of the third tab.
BackgroundColor The color of the background for the menu or buttons.
ForegroundColor The color of the font for the menu or buttons.

ANT properties
When you execute a ANT target some properties are set by Ant Commander. Here are the list of the properties set by Ant Commander and that can be used in the ANT XML file.
name Description Example
source.dir Directory of the selected panel file://c:/util/temp
destination.dir Directory of the panel next to the selected panel file://d:
source.type The type of the file. E.g.file or ftp or zip ... source.type=ftp
source.dir.type.<type> where <type> is file or ftp or zip ...
property set to true
source.dir.type.file=true
source.filename name of the file index.html
source.url Full URL name http://www.jlearnit.com/index.html
selected.files Space separated list of the selected files Test.java Hello.java
source is the selected panel.
destination is the panel next to the selected panel (if any)
parent is the file that contains the other file system (like for a zip file).

Example :
zip://ftp//user@pwd:127.0.0.1:2121/pub/test.zip!/hello/index.html
This file could be a source or a destination. In this example let's consider that it's a source.

source.filename=index.html
source.url=zip://ftp://user@pwd:127.0.0.1:2121/pub/test.zip!/hello/index.html
source.dir=/hello
source.type.zip=true
source.type=zip
parent.source.filename=test.zip
parent.source.url=ftp://user@pwd:127.0.0.1:2121/pub/test.zip
parent.source.dir=/pub
parent.source.type.ftp=true
parent.source.type=ftp