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 

StatusBarWait for Internet Explorer

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
ddwest
Guest





PostPosted: Tue Jul 08, 2008 11:50 pm    Post subject: StatusBarWait for Internet Explorer Reply with quote

I am very new to programing and AutoHotKeys and I am attempting to write a Macro that will access a data base and run a search, eventually saving the results to a spreadsheet. I am trying to use the statusbarwait command, which I thought was working, but just started acting strange.

Here is the code...

Run http://DatabaseURL.com
sleep 100
StatusBarWait, found, 1000
Sleep 2000

Send, Username

Send, Password

Sleep 100
StatusBarWait, found, 1000
Sleep 2000

IfWinExist, Security Alert
Send {Enter}

Sleep 100
StatusBarWait, found, 1000
Sleep 2000

Send, {Tab}{Tab}{Tab}{Tab}{Tab}{Tab}{Tab}{Tab}
Send, {Tab}{Tab}{Tab}{Tab}
Send, {DOWN}{DOWN}{DOWN}{DOWN}{DOWN}

Sleep 100
StatusBarWait, found, 1000
Sleep 2000

Send, {Tab}{Tab}{Tab}{Tab}{Tab}{Tab}{Tab}{Tab}
Send, {Tab}{Tab}{Tab}{Tab}{Tab}
Send, {Enter}

Sleep 100
StatusBarWait, found, 1000
Sleep 2000

MouseClick, left, 22, 420
Sleep, 100

MouseClick, left, 721, 276
Sleep, 100


The main issue is the status bar wait command, because as is the code executes too rapidly.

Any help would be greatly appreciated.

Thanks,

ddwest
Back to top
tank



Joined: 21 Dec 2007
Posts: 798

PostPosted: Wed Jul 09, 2008 6:34 am    Post subject: Reply with quote

are you saying a pause isnt adequete?
statusbar wait is a problemwaitingtohappen
http://www.autohotkey.com/forum/viewtopic.php?t=19256&highlight=readystate
http://www.autohotkey.com/forum/viewtopic.php?t=30599&highlight=readystate
http://www.autohotkey.com/forum/viewtopic.php?t=32439&highlight=readystate
http://www.autohotkey.com/forum/viewtopic.php?t=28563&highlight=readystate
i could go on but really search the forum
as far as the spreadsheet
http://www.autohotkey.com/forum/viewtopic.php?t=16565&highlight=ado
_________________
Read this
Com
Automate IE7 with Tabs
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   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