| View previous topic :: View next topic |
| Author |
Message |
ansu832001
Joined: 05 May 2008 Posts: 18
|
Posted: Wed May 07, 2008 11:40 am Post subject: Itreaction with Other Application Controls |
|
|
Hi All,
I have just started working with Autohotkey.when i record a macro using recorder to automate my application,a script is generated which shows mouseclicks on my application.So when i rerun the script it executes the same mouse clicks,but this might not give same output under some situations ,So i want to handle the script by accessing my Application controls directly instead of mouse clicks,can this be done(its like scripts in QTP which access application Controls).
Help Needed,
Best Regards. |
|
| Back to top |
|
 |
Z Gecko Guest
|
Posted: Wed May 07, 2008 12:25 pm Post subject: |
|
|
take a look at the commands:
ControlSend
ControlClick |
|
| Back to top |
|
 |
ansu832001
Joined: 05 May 2008 Posts: 18
|
Posted: Thu May 08, 2008 4:59 am Post subject: |
|
|
Hi Gecko
Firstly thanks for your reply,i think i could not convey my view properly here,let me put it this way.
My Application has only one combobox,now i record macro which clicks this combobox and selects say 4th element in it.(Here my script captures only mouse points).Now next time i change the position of the combobox,now my script doesn't work because it try to search for the combo in same recorded location.Can i do some thing through which whereever the combo is my script identifies and does all other operations. I hope iam clear now.
Best Regards, |
|
| Back to top |
|
 |
|