APPENDIX - CONSTANTS

These are the standard Active Accessibility "constants", made accessible to Perl scripts. Use Win32::ActAcc constants as though they were functions:

use Win32::ActAcc qw(:ROLEs);
die unless ($r == ROLE_SYSTEM_GRIP());

State

STATE_SYSTEM_MIXED STATE_SYSTEM_SELECTABLE STATE_SYSTEM_FOCUSED STATE_SYSTEM_PRESSED STATE_SYSTEM_HASPOPUP STATE_SYSTEM_SELECTED STATE_SYSTEM_TRAVERSED STATE_SYSTEM_INDETERMINATE STATE_SYSTEM_MULTISELECTABLE STATE_SYSTEM_MARQUEED STATE_SYSTEM_LINKED STATE_SYSTEM_SIZEABLE STATE_SYSTEM_READONLY STATE_SYSTEM_SELFVOICING STATE_SYSTEM_OFFSCREEN STATE_SYSTEM_CHECKED STATE_SYSTEM_HOTTRACKED STATE_SYSTEM_INVISIBLE STATE_SYSTEM_ANIMATED STATE_SYSTEM_UNAVAILABLE STATE_SYSTEM_MOVEABLE STATE_SYSTEM_FLOATING STATE_SYSTEM_COLLAPSED STATE_SYSTEM_BUSY STATE_SYSTEM_ALERT_MEDIUM STATE_SYSTEM_ALERT_HIGH STATE_SYSTEM_EXTSELECTABLE STATE_SYSTEM_EXPANDED STATE_SYSTEM_VALID STATE_SYSTEM_FOCUSABLE STATE_SYSTEM_DEFAULT STATE_SYSTEM_ALERT_LOW STATE_SYSTEM_PROTECTED

Role

ROLE_SYSTEM_CHART ROLE_SYSTEM_CELL ROLE_SYSTEM_SEPARATOR ROLE_SYSTEM_SPINBUTTON ROLE_SYSTEM_PAGETABLIST ROLE_SYSTEM_DIAL ROLE_SYSTEM_GROUPING ROLE_SYSTEM_CARET ROLE_SYSTEM_GRAPHIC ROLE_SYSTEM_MENUBAR ROLE_SYSTEM_COMBOBOX ROLE_SYSTEM_EQUATION ROLE_SYSTEM_GRIP ROLE_SYSTEM_ROWHEADER ROLE_SYSTEM_OUTLINEBUTTON ROLE_SYSTEM_TITLEBAR ROLE_SYSTEM_CLOCK ROLE_SYSTEM_LINK ROLE_SYSTEM_TOOLBAR ROLE_SYSTEM_BUTTONDROPDOWNGRID ROLE_SYSTEM_COLUMN ROLE_SYSTEM_SLIDER ROLE_SYSTEM_PAGETAB ROLE_SYSTEM_WHITESPACE ROLE_SYSTEM_LISTITEM ROLE_SYSTEM_COLUMNHEADER ROLE_SYSTEM_ALERT ROLE_SYSTEM_CHECKBUTTON ROLE_SYSTEM_TEXT ROLE_SYSTEM_IPADDRESS ROLE_SYSTEM_RADIOBUTTON ROLE_SYSTEM_PROGRESSBAR ROLE_SYSTEM_SPLITBUTTON ROLE_SYSTEM_MENUPOPUP ROLE_SYSTEM_BUTTONMENU ROLE_SYSTEM_DIAGRAM ROLE_SYSTEM_BORDER ROLE_SYSTEM_TOOLTIP ROLE_SYSTEM_CHARACTER ROLE_SYSTEM_SCROLLBAR ROLE_SYSTEM_HELPBALLOON ROLE_SYSTEM_WINDOW ROLE_SYSTEM_PANE ROLE_SYSTEM_CLIENT ROLE_SYSTEM_MENUITEM ROLE_SYSTEM_DROPLIST ROLE_SYSTEM_PROPERTYPAGE ROLE_SYSTEM_DOCUMENT ROLE_SYSTEM_BUTTONDROPDOWN ROLE_SYSTEM_ANIMATION ROLE_SYSTEM_CURSOR ROLE_SYSTEM_DIALOG ROLE_SYSTEM_TABLE ROLE_SYSTEM_STATICTEXT ROLE_SYSTEM_OUTLINEITEM ROLE_SYSTEM_PUSHBUTTON ROLE_SYSTEM_ROW ROLE_SYSTEM_STATUSBAR ROLE_SYSTEM_APPLICATION ROLE_SYSTEM_LIST ROLE_SYSTEM_SOUND ROLE_SYSTEM_INDICATOR ROLE_SYSTEM_HOTKEYFIELD ROLE_SYSTEM_OUTLINE

Event

EVENT_CONSOLE_START_APPLICATION EVENT_OBJECT_SELECTIONADD EVENT_OBJECT_DESCRIPTIONCHANGE EVENT_SYSTEM_SOUND EVENT_SYSTEM_CAPTURESTART EVENT_OBJECT_PARENTCHANGE EVENT_SYSTEM_MINIMIZEEND EVENT_CONSOLE_END_APPLICATION EVENT_OBJECT_DEFACTIONCHANGE EVENT_SYSTEM_SWITCHEND EVENT_OBJECT_HIDE EVENT_OBJECT_DESTROY EVENT_OBJECT_SELECTIONWITHIN EVENT_SYSTEM_MENUPOPUPSTART EVENT_SYSTEM_CAPTUREEND EVENT_CONSOLE_UPDATE_SCROLL EVENT_SYSTEM_DRAGDROPEND EVENT_OBJECT_HELPCHANGE EVENT_OBJECT_NAMECHANGE EVENT_SYSTEM_MINIMIZESTART EVENT_OBJECT_SELECTIONREMOVE EVENT_SYSTEM_CONTEXTHELPSTART EVENT_SYSTEM_MOVESIZEEND EVENT_SYSTEM_DRAGDROPSTART EVENT_SYSTEM_SWITCHSTART EVENT_SYSTEM_MENUPOPUPEND EVENT_CONSOLE_UPDATE_REGION EVENT_OBJECT_CREATE EVENT_OBJECT_REORDER EVENT_CONSOLE_CARET EVENT_SYSTEM_FOREGROUND EVENT_CONSOLE_LAYOUT EVENT_SYSTEM_DIALOGEND EVENT_OBJECT_STATECHANGE EVENT_SYSTEM_MENUEND EVENT_OBJECT_VALUECHANGE EVENT_CONSOLE_UPDATE_SIMPLE EVENT_SYSTEM_SCROLLINGSTART EVENT_SYSTEM_MENUSTART EVENT_SYSTEM_DIALOGSTART EVENT_SYSTEM_ALERT EVENT_OBJECT_ACCELERATORCHANGE EVENT_SYSTEM_MOVESIZESTART EVENT_SYSTEM_SCROLLINGEND EVENT_OBJECT_FOCUS EVENT_OBJECT_SELECTION EVENT_OBJECT_SHOW EVENT_SYSTEM_CONTEXTHELPEND EVENT_OBJECT_LOCATIONCHANGE

ObjectId

OBJID_NATIVEOM CHILDID_SELF OBJID_HSCROLL OBJID_WINDOW OBJID_CARET OBJID_CLIENT OBJID_SYSMENU OBJID_ALERT OBJID_SIZEGRIP OBJID_VSCROLL OBJID_TITLEBAR OBJID_SOUND OBJID_CURSOR OBJID_MENU

Selection flag

SELFLAG_TAKESELECTION SELFLAG_TAKEFOCUS SELFLAG_REMOVESELECTION SELFLAG_VALID SELFLAG_ADDSELECTION SELFLAG_EXTENDSELECTION SELFLAG_NONE

NAVDIR_NEXT NAVDIR_MAX NAVDIR_DOWN NAVDIR_MIN NAVDIR_FIRSTCHILD NAVDIR_PREVIOUS NAVDIR_LASTCHILD NAVDIR_RIGHT NAVDIR_UP NAVDIR_LEFT