Action Scripting allows you to create actions. It also allows you to make these actions conditional. This short demonstration shows how to create a simple dialog box to allow the user of your application to select an index and then perform a find operation based on this index.
Click here to view this demo on using Action Scripting.