Does anyone have an idea of how to read in a command ID into a variable. I've tried SQAGetProperty but that doesn't work.
I.e. iResult = SQAGetProperty("Type=PushButton;Text=Next >","ID",iNextButtonID)
The problem I am trying to solve is an ever chaning GUID problem. I can use text label for the button but there are also Label fields I need to get access to that I can't figure out how to pull data from without knowing the ID for it.
You cannot use SQAGetProperty in order to get ID of button. I'm not sure if it is possible only with Robot functions. Try to search for some API function.
Do you need to find out ID only once or always in script runtime ?
If you want to give somebody a fish, you'll do better if you teach him how to catch it.
I have tried a few functions but of course none of them have worked out. Some API? I have no idea...I haven't worked with any external API's
Well here's the problem. Install Shield. Basically we are moving over the the MSI installer from InstallShield. In the past I used the ID's to work my way around the installer and verify labels state information. The MSI installer compiles new GUIDs every build. So to make a long answer short yeah I need these at run time...either that or another way to get what I need.