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 

Script stopped working with IE7

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



Joined: 14 Apr 2008
Posts: 2

PostPosted: Mon Apr 14, 2008 1:39 pm    Post subject: Script stopped working with IE7 Reply with quote

I've got a simple script that worked fine with IE6sp2 that no longer works with IE7. I've tried inserting a wait statement, and splitting the {ENTER} on a separate send line - but that doesn't change the results.

This is run at a 'secured login' web screen, fills two fields and then submits the enter key. This is a corporate intercept global login page that the user is directed to when the URL points to an internal corporate web site. The result is supposed to be that once the identiy is confirmed, the original URL is reached.

The results with IE7 is that the website doesn't recognize the input as valid and you are presented with the login page again.

I've validated that taking the {ENTER} out of the script and manually hitting the enter key works fine. It seems that this page is not allowing scripts to run against it - but this worked with IE6 - So it has to be something within IE7- Any ideas?

Here's the code

Code:

!z::Send, loginame{TAB}1{SHIFTDOWN}n{SHIFTUP}etman88{SHIFTDOWN}1{SHIFTUP}{ENTER}
Back to top
View user's profile Send private message
NLI-Conquer
Guest





PostPosted: Mon Apr 14, 2008 1:45 pm    Post subject: Reply with quote

Make sure you try the different send modes. Examples

Code:
SendMode, input
SendMode, Event
SendMode, Play


etc.
Back to top
tank



Joined: 21 Dec 2007
Posts: 1033

PostPosted: Mon Apr 14, 2008 7:51 pm    Post subject: Reply with quote

http://www.autohotkey.com/forum/viewtopic.php?t=30599
_________________
Read this
Com
Automate IE7 with Tabs
Back to top
View user's profile Send private message
rdarlin2



Joined: 14 Apr 2008
Posts: 2

PostPosted: Mon Apr 14, 2008 7:55 pm    Post subject: FIXED: Script stopped working with IE7 Reply with quote

Using 'SendInput' instead of 'Send' worked.

Looks like it wasn't IE7 - I had also upgraded my version of AutoHotkey
(grins sheepishly) and I forgot that. This version uses a slightly different syntax.

THANKS for your help 'NLI-Conquer'.
Back to top
View user's profile Send private message
Conquer



Joined: 27 Jun 2006
Posts: 385
Location: Canada

PostPosted: Tue Apr 15, 2008 1:45 am    Post subject: Reply with quote

/me Saved the day once again Cool
_________________
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