I need to ask the user to enter a number that will be populated in a few areas through the script. I will search on how to get user input and then set it as a variable but I have listed my code below.
My real problem right now is in the process it works to the point of the code below. I clicked on an enable button, yet, it does not work here and I am lost on how to do this..
This is where I need the user to enter a number that will be populated in other areas. this will be overwritten each time the user enters a new number.. I need the user to enter the field value and populate that through the macro until it loops back and runs the macro again for another new number.
Code: Select all
### Enter Franchisee Number for Search ###
Let>FrameName={""}
Let>FormName={"mainform"}
Let>FieldName={"query.clauses[clause1].conditions[condition1].value"}
Let>FieldValue={"d80313"}
LibFunc>hIE,FormFill,r,%IE[0]%,str:FrameName,str:FormName,str:FieldName,str:FieldValue,0
Code: Select all
### Phase II - Click on Enable ###
Let>FrameName={""}
Let>FormName={"mainform"}
Let>TagValue={""}
LibFunc>hIE,ClickTag,r,%IE[0]%,str:FrameName,str:FormName,INPUT,NAME,str:TagValue
Rod