 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
stuboo
Joined: 17 Apr 2007 Posts: 22
|
Posted: Thu Sep 27, 2007 2:04 am Post subject: Browser window errors (will pay/donate $ for help) |
|
|
I'm having a series of problems making browser windows behave properly in my script.
I don't want to share my script with the entire forum so if you're willing to help, I'm willing to pay (or make a donation to AHK on your behalf). Pleaes pm me if you're interested.
Thanks,
Ryan _________________ ---
I used AutoHotKey to write this signature crazy fast. |
|
| Back to top |
|
 |
ahklerner
Joined: 26 Jun 2006 Posts: 1381 Location: USA
|
Posted: Thu Sep 27, 2007 1:19 pm Post subject: |
|
|
Are you controlling the browser, or do you have an embedded browser in a AHK gui? _________________
ʞɔпɟ əɥʇ ʇɐɥʍ |
|
| Back to top |
|
 |
Andy2 Guest
|
Posted: Thu Sep 27, 2007 1:41 pm Post subject: |
|
|
| Do you try to automate a website? If yes, which one? |
|
| Back to top |
|
 |
stuboo
Joined: 17 Apr 2007 Posts: 22
|
Posted: Thu Sep 27, 2007 2:15 pm Post subject: |
|
|
| ahklerner wrote: | | Are you controlling the browser, or do you have an embedded browser in a AHK gui? |
I'm trying to control the browser, but I don't really care if its embedded or not. I'm open to either. _________________ ---
I used AutoHotKey to write this signature crazy fast. |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1786
|
Posted: Thu Sep 27, 2007 2:26 pm Post subject: |
|
|
before offering to pay you should at least details the problems you are having as most of the posts on here get resolved
you dont have to share your entire script |
|
| Back to top |
|
 |
stuboo
Joined: 17 Apr 2007 Posts: 22
|
Posted: Thu Sep 27, 2007 3:53 pm Post subject: |
|
|
| tic wrote: | before offering to pay you should at least details the problems you are having as most of the posts on here get resolved  |
If that's the case, it should be easy money for someone  _________________ ---
I used AutoHotKey to write this signature crazy fast. |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1786
|
Posted: Thu Sep 27, 2007 4:23 pm Post subject: |
|
|
| Quote: | | If that's the case, it should be easy money for someone |
well post what the problem is lol and maybe you can get help! |
|
| Back to top |
|
 |
stuboo
Joined: 17 Apr 2007 Posts: 22
|
Posted: Thu Sep 27, 2007 6:16 pm Post subject: |
|
|
lol, ok tic. you talked me into it.
| Code: |
#space::
InputBox, myZip, Zip Code, Please enter your zip code:, , , , , , , 120000
if ErrorLevel
MsgBox, CANCEL was pressed.
else
Run, www.eleven21.com/temp/index.html
clipboard =
Sleep, 5000
;focus on the text box, select all, and copy to clipboard
Send, ^x
;tab to button and click submit for redirect
Send {Tab}
Send {Enter}
Sleep, 5000
;alt+D to go to address bar
Send, !d
Sleep, 2000
Send, ^a
Sleep, 500
Send, ^v
Sleep, 500
Send {Enter}
Send %myZip%
Sleep, 500
Send {Tab}
Send {Tab}
Send {Enter}
return
|
It's certainly not clean but im just cutting my teeth so go easy on me.
It works as envisioned some times but other times the clipboard items are copied in the wrong place.
Ryan _________________ ---
I used AutoHotKey to write this signature crazy fast. |
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Thu Sep 27, 2007 7:51 pm Post subject: |
|
|
You can automate that without a browser using cURL. _________________ GitHub • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
stuboo
Joined: 17 Apr 2007 Posts: 22
|
Posted: Thu Sep 27, 2007 8:20 pm Post subject: |
|
|
| Titan wrote: | | You can automate that without a browser using cURL. |
Thanks, but if possible, I'd rather use AHK and a browser window. (I'll be taking a look at cURL though) _________________ ---
I used AutoHotKey to write this signature crazy fast. |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1786
|
Posted: Thu Sep 27, 2007 8:45 pm Post subject: |
|
|
| Code: | #space::
InputBox, myZip, Zip Code, Please enter your zip code:, , , , , , , 120000
if ErrorLevel
MsgBox, CANCEL was pressed.
else
Run, www.eleven21.com/temp/index.html
clipboard =
Sleep, 5000
;focus on the text box, select all, and copy to clipboard
Send, ^x
;tab to button and click submit for redirect
Send {Tab}
Send {Enter}
Sleep, 5000
;alt+D to go to address bar
Send, !d
Sleep, 2000
Send, ^a
Sleep, 500
Send, ^v
Sleep, 500
Send {Enter}
Send %myZip%
Sleep, 500
Send {Tab}
Send {Tab}
Send {Enter}
return |
for me there should be 2 tabs there, in both firefox and ie, and i agree with titan, there are much nicer solutions than opening a webpage and uploading using it |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|