Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Multiple tabs in ie9, without clicking the tab button?

23 Apr 2011   #11
Orbital Shark

 
 

Quote   Quote: Originally Posted by flycaster View Post
Thanks for the try, Hopalong X. New links still open in the same tab as the link resided in...I don't get a separate new tab.

Unfortunately, Mike C appears to be right in that what I want IE9 to do, it can't do...at least for me. That is, I have a Logitech cordless trackman with very programable buttons but can't use the middle button to opnen a new tab. I have the middle button programmed for Enter and since I use Maxthon way more than IE, it wouldn't pay to free-up the mouse's middle button to use IE.
That's the only way to open new tabs with 1 click. If you can't use that option then IE9 may not be the best choice if 2 clicks are not feasable.


My System SpecsSystem Spec
.
23 Apr 2011   #12
Zepher

Windows 7 Ultimate 64bit
 
 

CTRL+SHIFT then Left Click is all you can do right now since you are limited on the mouse buttons
My System SpecsSystem Spec
23 Apr 2011   #13
flycaster

Windows 7 HP 64-bit
 
 

Thanks, all. Until IE gets a single click/new tab that I can use given my mouse's setup, I'll be sticking with maxthon.
My System SpecsSystem Spec
.

23 Apr 2011   #14
Mike Connor

Several, including Windows 7 x64 Ultimate
 
 

Quote   Quote: Originally Posted by flycaster View Post
Thanks, all. Until IE gets a single click/new tab that I can use given my mouse's setup, I'll be sticking with maxthon.
This might be a suitable workaround for you. All you need to do is hover on the link, ( you can set the time ) and that will open it for you. You don't even need to click!

I sat down to write a script for you that would do this, and then I remembered this utility;

1 Hour Software by Skrommel - DonationCoder.com

You want "Mouse Activate". If you need the hover delay changing or anything like that. you can do so in the .ini file which is created in the same folder when the program is run for the first time;

;MouseActivate.ini
;
;[Settings]
;autoactivate=1 ;0,1 0=No 1=yes Enable or disable autoactivation
;activatedelay=200 ; Time in ms the mouse must stand still before activating a window
;startdisabled=0 ;0,1 0=No 1=yes Starts MouseActivate disabled
;activatecontrols=1 ;0,1 0=No 1=yes Also activates controls inside a window
;leftedgefrombottom=1 ;0,1 0=No 1=yes Mouse on left screenedge brings bottommost window to the top
;topedgetobottom=1 ;0,1 0=No 1=yes Mouse on top screenedge sends active windows to the bottom
;topleftshowdesktop=1 ;0,1 0=No 1=yes Mouse on topleft of screen minimizes all windows
;autoclick=0 ;0,1 0=No 1=yes Enable or disable autoclicking
;clickdelay=1000 ; Time in ms the mouse must stand still before clicking
;disableonmouseaction=0 ;0,1 0=No 1=yes Disable autoclicking when user clicks or drags

[Settings]
autoactivate=1
activatedelay=200
startdisabled=0
activatecontrols=1
leftedgefrombottom=1
topedgetobottom=1
topleftshowdesktop=1
autoclick=0
clickdelay=1000
disableonmouseaction=0


This is the code if you want to change it yourself, for instance to "Auto-middle-click" on a link. If "disableonmouseaction" in the .ini file is set to 1, then any other mouse action will be carried out as normal, and the "auto-click" ignored. You will need autohotkey to compile it, or run it as a script.

The executable is a standalone program which runs in your system tray.

Code:
;MouseActivate.ahk ; Automatically activates a window or a control when the mouse hovers over it. ;Skrommel @2005  #SingleInstance,Force CoordMode,Mouse,Screen SetBatchLines,-1 SetWinDelay,0  applicationname=MouseActivate  SysGet,dblx,36     ;SM_CXDOUBLECLK SysGet,dbly,37     ;SM_CYDOUBLECLK  Gosub,READINI Gosub,TRAYMENU If startdisabled=1   Gosub,TOGGLE  oldwinid= oldcontrolid= oldtitle= disable=0 counter=0 Loop {   oldmx=%mx%   oldmy=%my%   counter+=1    If disableonmouseaction=1   {       disable=0     KeyWait,LButton,D T0.05     If ErrorLevel=0       disable=1     KeyWait,RButton,D T0.05     If ErrorLevel=0       disable=1   }   Else     Sleep,100   WinGetTitle,title,ahk_id %winid%   WinGetClass,class,ahk_id %winid%   WinGetPos,wx,wy,ww,wh,ahk_id %winid%   MouseGetPos,mx,my,winid,controlid   If (mx<oldmx-dblx or mx>oldmx+dblx or my<oldmy-dbly or my>oldmy+dbly)     counter=0    If counter=%clickdelay%    If autoclick=1   If disable=0     MouseClick,left     If counter=%activatedelay%   {     If topleftshowdesktop=1     If mx=0     If my=0     If minimized=0     {       minimized=1       WinMinimizeAll       Continue     }     Else     {       minimized=0       WinMinimizeAllUndo       Continue     }      If topedgetobottom=1     If my=0     {       WinSet,Bottom,,A       WinGet,allwinids,List,,,Program Manager       StringTrimRight,allwinids1,allwinids1,0       WinActivate,ahk_id %allwinids2%       Continue     }      If leftedgefrombottom=1     If mx=0     {       WinGet,allwinids,List,,,Program Manager       bottomid:=allwinids%allwinids%       StringTrimRight,bottomid,bottomid,0       WinActivate,ahk_id %bottomid%       Continue     }      If autoactivate=1     {       If title<>       {         If winid<>%oldwinid%         {           WinActivate,ahk_id %winid%           oldwinid=%winid%           oldtitle=%title%         }          If activatecontrols<>0         If controlid<>         If controlid<>%oldcontrolid%         {           ControlFocus,%controlid%,ahk_id %winid%           oldcontrolid=%controlid%         }       }        If (controlid="SysTabControl321" Or (controlid="ToolbarWindow322" And class="Shell_TrayWnd"))       {         WinGetPos,x,y,w,h,ahk_id %winid% ;ControlGetPos,x,y,w,h,%controlid%,ahk_id %winid%         x:=mx-x         y:=my-y         ControlClick,X%x% Y%y%,ahk_id %winid%,,L,1 ;        If disableonmouseaction=1           counter=9999         oldtab=%tab%         oldcontrolid=%controlid%         oldwinid=%winid%         Continue       }     }   } }  READINI: IfNotExist,%applicationname%.ini { ini=`;%applicationname%.ini ini=%ini%`n`; ini=%ini%`n`;[Settings] ini=%ini%`n`;autoactivate=1         `;0,1  0=No 1=yes  Enable or disable autoactivation ini=%ini%`n`;activatedelay=200      `;     Time in ms the mouse must stand still before activating a window ini=%ini%`n`;startdisabled=0        `;0,1  0=No 1=yes  Starts %applicationname% disabled ini=%ini%`n`;activatecontrols=1     `;0,1  0=No 1=yes  Also activates controls inside a window ini=%ini%`n`;leftedgefrombottom=1   `;0,1  0=No 1=yes  Mouse on left screenedge brings bottommost window to the top ini=%ini%`n`;topedgetobottom=1      `;0,1  0=No 1=yes  Mouse on top screenedge sends active windows to the bottom ini=%ini%`n`;topleftshowdesktop=1   `;0,1  0=No 1=yes  Mouse on topleft of screen minimizes all windows ini=%ini%`n`;autoclick=0            `;0,1  0=No 1=yes  Enable or disable autoclicking ini=%ini%`n`;clickdelay=1000        `;     Time in ms the mouse must stand still before clicking ini=%ini%`n`;disableonmouseaction=0 `;0,1  0=No 1=yes  Disable autoclicking when user clicks or drags    ini=%ini%`n ini=%ini%`n[Settings] ini=%ini%`nautoactivate=1 ini=%ini%`nactivatedelay=200 ini=%ini%`nstartdisabled=0 ini=%ini%`nactivatecontrols=1 ini=%ini%`nleftedgefrombottom=1 ini=%ini%`ntopedgetobottom=1 ini=%ini%`ntopleftshowdesktop=1 ini=%ini%`nautoclick=0 ini=%ini%`nclickdelay=1000 ini=%ini%`ndisableonmouseaction=0 FileAppend,%ini%,%applicationname%.ini } IniRead,autoactivate,%applicationname%.ini,Settings,autoactivate IniRead,activatedelay,%applicationname%.ini,Settings,activatedelay IniRead,startdisabled,%applicationname%.ini,Settings,startdisabled IniRead,activatecontrols,%applicationname%.ini,Settings,activatecontrols IniRead,leftedgefrombottom,%applicationname%.ini,Settings,leftedgefrombottom IniRead,topedgetobottom,%applicationname%.ini,Settings,topedgetobottom IniRead,topleftshowdesktop,%applicationname%.ini,Settings,topleftshowdesktop IniRead,autoclick,%applicationname%.ini,Settings,autoclick IniRead,clickdelay,%applicationname%.ini,Settings,clickdelay IniRead,disableonmouseaction,%applicationname%.ini,Settings,disableonmouseaction activatedelay/=100 clickdelay/=100 Return  TRAYMENU: Menu,Tray,NoStandard Menu,Tray,DeleteAll Menu,Tray,Add,%applicationname%,TOGGLE Menu,Tray,Add, Menu,Tray,Add,&Enabled,TOGGLE Menu,Tray,Add, Menu,Tray,Add,&Settings...,SETTINGS Menu,Tray,Add,&About...,ABOUT Menu,Tray,Add,E&xit,EXIT Menu,Tray,Check,&Enabled Menu,Tray,Default,%applicationname% Menu,Tray,Tip,%applicationname% Return  TOGGLE: Menu,Tray,ToggleCheck,&Enabled Pause,Toggle Return  SETTINGS: Gosub,READINI Run,%applicationname%.ini Return  ABOUT: Gui,99:Destroy Gui,99:Margin,20,20 Gui,99:Add,Picture,xm Icon1,%applicationname%.exe Gui,99:Font,Bold Gui,99:Add,Text,x+10 yp+10,%applicationname% v1.0 Gui,99:Font Gui,99:Add,Text,y+10,Automatically activates a window or a control when the mouse hovers over it Gui,99:Add,Text,y+5 ,or clicks the left button if the mouse is left in the same place for 1 second. Gui,99:Add,Text,y+5,- Move the mouse to the upper left corner of the screen to show or hide the desktop. Gui,99:Add,Text,y+5,- Move the mouse to the top egde of the screen to send the active window to the back. Gui,99:Add,Text,y+5,- Move the mouse to the left egde of the screen to bring the bottommost window to the top. Gui,99:Add,Text,y+5,- To change the settings, choose the Settings menu in the Tray.  Gui,99:Add,Picture,xm y+20 Icon5,%applicationname%.exe Gui,99:Font,Bold Gui,99:Add,Text,x+10 yp+10,1 Hour Software by Skrommel Gui,99:Font Gui,99:Add,Text,y+10,For more tools, information and donations, please visit  Gui,99:Font,CBlue Underline Gui,99:Add,Text,y+5 G1HOURSOFTWARE,www.1HourSoftware.com Gui,99:Font  Gui,99:Add,Picture,xm y+20 Icon7,%applicationname%.exe Gui,99:Font,Bold Gui,99:Add,Text,x+10 yp+10,DonationCoder Gui,99:Font Gui,99:Add,Text,y+10,Please support the contributors at Gui,99:Font,CBlue Underline Gui,99:Add,Text,y+5 GDONATIONCODER,www.DonationCoder.com Gui,99:Font  Gui,99:Add,Picture,xm y+20 Icon6,%applicationname%.exe Gui,99:Font,Bold Gui,99:Add,Text,x+10 yp+10,AutoHotkey Gui,99:Font Gui,99:Add,Text,y+10,This tool was made using the powerful Gui,99:Font,CBlue Underline Gui,99:Add,Text,y+5 GAUTOHOTKEY,www.AutoHotkey.com Gui,99:Font  Gui,99:Show,,%applicationname% About hCurs:=DllCall("LoadCursor","UInt",NULL,"Int",32649,"UInt") ;IDC_HAND OnMessage(0x200,"WM_MOUSEMOVE")  Return  1HOURSOFTWARE:   Run,http://www.1hoursoftware.com,,UseErrorLevel Return  DONATIONCODER:   Run,http://www.donationcoder.com,,UseErrorLevel Return  AUTOHOTKEY:   Run,http://www.autohotkey.com,,UseErrorLevel Return  99GuiClose:   Gui,99:Destroy   OnMessage(0x200,"")   DllCall("DestroyCursor","Uint",hCur) Return  WM_MOUSEMOVE(wParam,lParam) {   Global hCurs   MouseGetPos,,,,ctrl   If ctrl in Static12,Static16,Static20     DllCall("SetCursor","UInt",hCurs)   Return } Return   EXIT: ExitApp
Regards....Mike Connor
My System SpecsSystem Spec
23 Apr 2011   #15
Mike Connor

Several, including Windows 7 x64 Ultimate
 
 

OK. I altered the script so that hovering on a link automatically sends a "middle-click" after 1 second. ( You can change the settings in the ini file, right click on the program icon in the tray). You can also enable or disable the autoclick feature by clicking on the tray icon. Change the delay times till they suit you. I have tested this on Explorer and it does exactly what you want.

Here is the executable;

mouseclick.exe - download now for free. File sharing. Software file sharing. Free file hosting. File upload. FileFactory.com

Regards....Mike Connor
My System SpecsSystem Spec
23 Apr 2011   #16
richyrichuk

Windows 7 Ultimate N 64-bit
 
 

CTRL + T = new tab
CTRL + W = close window
My System SpecsSystem Spec
23 Apr 2011   #17
Mike Connor

Several, including Windows 7 x64 Ultimate
 
 

Quote   Quote: Originally Posted by richyrichuk View Post
CTRL + T = new tab
CTRL + W = close window
True enough, but some people prefer to use a mouse more or less exclusively! Just how it is..........

Regards....Mike Connor
My System SpecsSystem Spec
23 Apr 2011   #18
flycaster

Windows 7 HP 64-bit
 
 

Hey Mike C, good job and thanks. I won't be able to try it out right away, but I will get to it and check it out.
My System SpecsSystem Spec
23 Apr 2011   #19
Mike Connor

Several, including Windows 7 x64 Ultimate
 
 

Quote   Quote: Originally Posted by flycaster View Post
Hey Mike C, good job and thanks. I won't be able to try it out right away, but I will get to it and check it out.
My pleasure. Hope it suits you.


Don't wait too long to download it. I have no idea how "safe" these file sharing sites are. I think it most unlikely that anybody would alter a file I uploaded, but better safe than sorry!

Just for information, the only thing I had to alter was the mouse button click which is sent, from "Left" to "Middle". Works fine with IE9, I had a good play with it.

Regards....Mike Connor
My System SpecsSystem Spec
Reply

 Multiple tabs in ie9, without clicking the tab button?




Thread Tools




Similar help and support threads
Thread Forum
With some sites, clicking back button doesn't bring you to prev. page
Ever see this? You search google, click on a result, and then either backspace or click the back button, but instead of going back to google, you stay on the current site. Why does that happen, and is there anything to do about it? Using IE 8 32-bit in W7 64-bit here, but have been seeing this...
Browsers & Mail
Windows freezes after clicking sound button?
I've a weird problem with my sound options in my windows7 operated laptop. Whenever I clicked a sound button in the taskbar windows freezes for some minutes then sound options appear. I use windows mobility center to adjust volume level, otherwise it takes a long time. Another weird thing is,...
Sound & Audio
Firefox tabs below orange button
I recently changed my explorershell.dll and then this happened: http://i.imgur.com/FcTfe.png The explorershell.dll may be unrelated, but I thought it may be useful to mention. How do I get tabs next to the orange button like they used to be? They are too low.
Browsers & Mail
Multiple Tabs in FireFox Creates Multiple Window Tabs
Ok so here's my problem: In any program with tabs (FireFox, VMWare Workstation, etc.) the window appears as multiple windows in the taskbar. This is a problem for me because I usually have multiple windows open each with a few tabs. So when I hover over the program on the taskbar I can't tell the...
Browsers & Mail
Searching files upon clicking Start button
Hi, When I first installed Window's 7, I thought it was magnificent because it indexed all my files and applications including Window's own inbuilt apps like defragmentation of which I still only use the search to find it because I don't know where it is located. Recently, I don't know what...
General Discussion
Keyboard stops typing after clicking aero peek button
This is a minor bug and I can correct it easily, but I'm curious if anyone has it. When I click the thin button at the far right of the taskbar (what is that called anyway? it's the new 'show desktop' button I guess), and then click it again to restore all my windows... I cannot type in the...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:29.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App