AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Browser window errors (will pay/donate $ for help)

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
stuboo



Joined: 17 Apr 2007
Posts: 22

PostPosted: Thu Sep 27, 2007 2:04 am    Post subject: Browser window errors (will pay/donate $ for help) Reply with quote

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
View user's profile Send private message
ahklerner



Joined: 26 Jun 2006
Posts: 1381
Location: USA

PostPosted: Thu Sep 27, 2007 1:19 pm    Post subject: Reply with quote

Are you controlling the browser, or do you have an embedded browser in a AHK gui?
_________________

ʞɔпɟ əɥʇ ʇɐɥʍ
Back to top
View user's profile Send private message
Andy2
Guest





PostPosted: Thu Sep 27, 2007 1:41 pm    Post subject: Reply with quote

Do you try to automate a website? If yes, which one?
Back to top
stuboo



Joined: 17 Apr 2007
Posts: 22

PostPosted: Thu Sep 27, 2007 2:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
tic



Joined: 22 Apr 2007
Posts: 1786

PostPosted: Thu Sep 27, 2007 2:26 pm    Post subject: Reply with quote

before offering to pay you should at least details the problems you are having as most of the posts on here get resolved Cool

you dont have to share your entire script
Back to top
View user's profile Send private message
stuboo



Joined: 17 Apr 2007
Posts: 22

PostPosted: Thu Sep 27, 2007 3:53 pm    Post subject: Reply with quote

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 Cool


If that's the case, it should be easy money for someone Very Happy
_________________
---
I used AutoHotKey to write this signature crazy fast.
Back to top
View user's profile Send private message
tic



Joined: 22 Apr 2007
Posts: 1786

PostPosted: Thu Sep 27, 2007 4:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
stuboo



Joined: 17 Apr 2007
Posts: 22

PostPosted: Thu Sep 27, 2007 6:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Thu Sep 27, 2007 7:51 pm    Post subject: Reply with quote

You can automate that without a browser using cURL.
_________________
GitHubScriptsIronAHK Contact by email not private message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
stuboo



Joined: 17 Apr 2007
Posts: 22

PostPosted: Thu Sep 27, 2007 8:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
tic



Joined: 22 Apr 2007
Posts: 1786

PostPosted: Thu Sep 27, 2007 8:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group