Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: differences in IE7 and IE8 - right click will kill you every time.
Topic Summary:
Created On: 08/01/2011 08:37 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 08/01/2011 08:37 AM
User is offline View Users Profile Print this message

Author Icon
DannyHeisner
Expert (100-199)

Posts: 124
Joined: 03/11/2008

For those of you who may beat your head against the wall because your routines worked in IE7, but don't in IE8, have I got a tip for you!

I have routines that ran perfectly in IE7, but because IE8 sucked so much, we didn't move to it since it seemed to break everything.  Well, since I can't run IE 7 on newer versions of Windows, I am forced to deal with IE8.  After beating my head against the wall I finally figured out why the routines worked in IE7 and not in IE 8.  

In IE 7, if you right click on a web page and select a command, it executes immediately.  In IE 8, if you right click on a web page and select a command, it selects the command and does nothing until you hit Enter.  If you right click in IE 7, select a command and hit Enter, so that your stuff will run in IE8, IE7 starts doing fun things like selecting the default of the next command that comes along on the web page.  It creates some very fun and unpredictable behaviours.  

The solution?  Read the HKLM\SOFTWARE\Microsoft\Internet Explorer\Version key in the registry, strip off everything to the left of the first period (as opposed to the first character so that when Microsoft hits version 10, you are ready), leaving you with a 7 or 8, and then have your logic execute conditionally based on the version number.  

You would not believe how much time I spent trying to figure out why my scripts worked perfectly on some machines and not on others.  

I hope this little tip helps somebody else.

You all have a great week!  Mine just got a whole lot better!

Danny



 Category Survey
 08/01/2011 12:48 PM
User is offline View Users Profile Print this message

Author Icon
Rick Johnson
AUTOMATE EMPLOYEE

Posts: 2757
Joined: 07/14/2008

Hi Danny,

That is a great find!

Thank you for taking the time to share it with the community!

 Category Survey


-------------------------
- Rick Johnson
Network Automation
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1286 guests browsing this forum, which makes a total of 1286 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog