Predefined Variables in BeanShell

The following variables are always available for use in BeanShell scripts:

Note that these variables are set at the beginning of macro execution. If the macro switches views, buffers or edit panes, the variables will be out of date. In that case, you can use the method calls equivalent to the values of the variables.