MAXScript Tools and Interaction with 3ds Max > Creating MAXScript Tools > Scripted Utilities and Rollouts > Rollout User-Interface Controls > Rollout User-Interface Controls Types >

# hyperlink

User Interface Controls > Common Properties > Layout > Types > HyperLink

| Creating User Interfaces - Quick Navigation

The Hyperlink User Interface Control allows the placement of hyperlinks in MAXScript Rollouts. When clicked, the hyperlink will cause the default web browser to open at a specified address.

The syntax is:

    hyperLink <name> [caption] [color:<color>] [hoverColor:<color>] [visitedColor:<color>] [address:<string>]

Parameters:

    color: Color default:(color 0 0 255)

Specifies the base color of the hyperlink text.

    hoverColor: Color default:(color 0 255 255)

Specifies the color of hyperlink text when the mouse is over it.

    visitedColor: Color default:(color 0 0 192)

Specifies the color of the hyperlink text after the link has been visited.

    address: String default:"http://www.autodesk.com"

Specifies the hyperlink address sent to the web browser when the hyperlink is clicked.

Properties:

    <HyperLink>.color Color default:(color 0 0 255)

Get/set the base color of the hyperlink text.

    <HyperLink>.hoverColor Color default:(color 0 255 255)

Get/set the color of hyperlink text when the mouse is over it.

    <HyperLink>.visitedColor Color default:(color 0 0 192)

Get/set the color of the hyperlink text after the link has been visited.

    <HyperLink>.address String default:"http://www.autodesk.com"

Get/set the hyperlink address sent to the web browser when the hyperlink is clicked.

Events:

    on <HyperLink> rightClick do <expr>

Called when the user right-clicks the Hyperlink control.

Available in 3ds Max 2010 and higher.

#### See Also

- Rollout User-Interface Items Common Properties

- Rollout User-Interface Items Common Layout Parameters

- Rollout User-Interface Control Types

- Similar Controls

- Edittext

- Label