Hello! We have installed a professional version of macro scheduler tool. I've been working to automate a windows application which consists of 9-10 tabs with different configurations to be set on each. To locate and click on tabs ive been using the Mouse click commands. However, the built in features like push button didn't work for me. Is there any other way?
Please Help
Here is a sample piece of code used:
Set Focus>File Auditor*
Let>WF_TYPE=3
PushButton>File Auditor*,Monitered Events
Also, to select the checkbox i tried using SetCheckBox feature, but it didnt work for me. I have mentioned correct window name and object caption. Is there any other method to set a check box?
Here is the code used:
SetFocus>File Auditor*
Wait>0.5
SetCheckBox>File Auditor*,Directory Create,TRUE
Wait>0.5
SetCheckBox>File Auditor*,Directory Rename,TRUE
Wait>0.5
SetCheckBox>File Auditor*,Directory Delete,TRUE
Thanks
Code builders
Moderators: Dorian (MJT support), JRL
Having also read your other post I'm thinking this is an attempt to automate a browser window. Web browsers and sometimes other applications don't use standard Microsoft Window's objects for buttons, check boxes, text fields, etc. If an application's "objects" do not have window handles software trying to control those "objects" using functions like pushbutton and setcheckbox will fail because those functions depend on using the object's handles. If you are automating a browser and have Web Recorder, use that. If you do not have Web Recorder or if the application being automated does not use standard Window's objects, you are limited to using mouse moves, mouse clicks, and send text. In this situation, learning and using some of the image recognition techniques can greatly enhance script reliability. Also remember there is a BlockInput> function that can prevent accidental mouse moves from interrupting a script.