journal manager

Was trying to Journal Manager sub:

Sub ClickDialogControl(DialogId As String, ResourceID As String)

to click on dialog to automate a process - The dialogid andresourceID - do I get them from solidworks api or is it windows apicalls? Thanks Scott Cleveland
SolidworksApi macros