If you need to perform an action on an object, which is not supported by the class of the object, you can record or manually script a new method that performs the action. Add the new method to the class or to the window declaration of the object to use the method in the same way as the built-in methods of the class.
You can use the Record Method dialog box to record a method for a class or window declaration.