| View previous topic :: View next topic |
| Author |
Message |
VladOxa Guest
|
Posted: Tue Mar 13, 2007 7:15 pm Post subject: AHK and Web interaction |
|
|
Hi
I have a doubt with AHK, is there a way to detect controls of a Web interface?, i want to do a application like the DoOver, but focused for web, and mostly on the requests recording, i asked a friend about usgin AHK to do this but he told me i cant me done with AHK, is this true?, i was thinking that if i have control of the browser, then i also can make it browse, is there any way?
Regards and thanks |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Tue Mar 13, 2007 7:54 pm Post subject: |
|
|
it depends on what you want to interface with - if you always interface to the same page, it should be doable - the general case is very hard though. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
Veovis
Joined: 13 Feb 2006 Posts: 390 Location: Utah
|
Posted: Tue Mar 13, 2007 8:38 pm Post subject: |
|
|
you might be able to use javascript and HTML DOM to find/change/select controls _________________
"Power can be given overnight, but responsibility must be taught. Long years go into its making." |
|
| Back to top |
|
 |
VladOxa Guest
|
Posted: Tue Mar 13, 2007 9:00 pm Post subject: |
|
|
| Well actually i want to do something for general. I have been thinking and what i need is to get the http request (GET or POST) and maybe de response, about the controls it would be neat but is harder, anyway, is there a way to get and send the HTTP requests and responses of the internet explorer (or any other browser) with the AHK? |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Tue Mar 13, 2007 11:50 pm Post subject: |
|
|
I don't know how to use it, but I think cURL does what you want, including sending POST _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
tank(not logged in) Guest
|
Posted: Thu Feb 14, 2008 6:45 pm Post subject: |
|
|
| i suggest using ajax in javascript using something like the inject JS function by ahklerner posted elsewehre in this forum you can pass the returned document can ba passed back to ahk with the same function |
|
| Back to top |
|
 |
|