Configuring user events

Once you have created a building block and decided which user events to use, you must associate actions with those user events. An action is what happens when the end user triggers an object’s user events. You can think of an action as “what an object does when an end user interacts with it.”

To associate an action with an object’s user event:

  1. Select the object.
  2. Click the Event tab in the Interactive palette.
    QuarkXpress pal interactive event startbutton Configuring user events

    The Event tab of the Interactive palette enables you to assign actions to user events. You can also use actions in scripts.

  3. To specify a cursor to display when the user’s mouse is over the object, choose a cursor from the Cursor drop-down menu.
  4. Choose an event from the User Event drop-down menu (see “Choosing a user event“).
  5. To specify a sound to play when the user event occurs, choose an option from the Event Sound drop-down menu:
    • To import a sound file, choose Others from the Sound drop-down menu.
    • To use a sound file that is already used elsewhere in the active project, choose that sound file’s name.
    • To insert a path that will refer to a sound file at runtime (even if that file is not available), choose External.
  6. If you choose External from the Sound drop-down menu, the External File Reference dialog box displays.
    QuarkXpress db external file reference Configuring user events

    Use the External File Reference dialog box to specify the path to a file.

    Use one of the following methods to specify a path:

    • To reference a file from your local file system, choose File from the Type drop-down menu and then specify the path to that file in the Path field.
    • To use a file on the Internet, choose URL from the Type drop-down menu and then enter the URL of the file in the URL field.
    • To reference a file from your local file system using a path created by an expression, choose File Expression from the Type drop-down menu and then either enter the expression in the Expression field or click the QuarkXpress btn expression editor Configuring user events button to use the Expression Editor dialog box.
    • To reference a file on the Internet using a URL created by an expression, choose File Expression from the Type drop-down menu and then enter the expression in the Expression field or click the QuarkXpress btn expression editor Configuring user eventsbutton to use the Expression Editor dialog box.
  7. To indicate what should happen when the user event occurs, choose an action from the Action drop-down menu. The area below the selected action changes to show any parameters associated with that action.
  8. Configure the parameters for the action.
Parent topic: Working with events

Configuring user events