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 variable values will be out of date. In that case, you can use the equivalent method calls.