I am using the following code but the toolbar button doesnt get accessed at all. The error is "unknown error"
Window(window_name).WinToolBar("Example Toolbar").Press "Print"
Here Example Toolbar is added to the object repo, and gets highlighted correctly.