MAXScript Language Reference > 3ds Max Objects > Interfaces > Core Interfaces > Core Interfaces Documentation > P,Q >

# Interface: qat

Interfaces > Core Interfaces > qat

| Core Interfaces - Quick Navigation

The qat Core Interface available in 3ds Max 2010 and higher provides access to the Quick Access Toolbar customization options.

The Quick Access Toolbar is located to the left of the Application Icon and can be extended to host any action item registered with the Customize User Interface system, including MacroScripts.

Methods:

    <integer>qat.add <string>group <string>action

Adds the action item from the group specified by the first argument with name specified by the second argument to the Quack Access Toolbar. Returns the zero-based index of the item's position in the toolbar.

    <void>qat.swap <integer>index1 <integer>index2

Swaps the actions in the toolbar.

    <void>qat.delete <integer>index

Deletes the zero-based indexed action item from the toolbar.

EXAMPLE:
    --Add the Action Item "Export File" from the "Main UI" group:
    qat.add "Main UI" "Export File"
    --> 6
    --move the "Export File" item before "SetProject Folder":
    qat.swap 6 5
    --> OK
    --delete the new "Export File" item which was moved up:
    qat.delete 5
    --> OK