Sign in to follow this  
Followers 0
Tagor

Tabbed browser; CTRL+C / CTRL+V and other keys don't work

4 posts in this topic

I try to make a tabbed browser:

GuiCtrlCreateTab(10, 10, 930, 630)

GuiCtrlCreateTabItem("Tab 1")

$oIEstart = ObjCreate("Shell.Explorer.2")

$GUIActiveXstart = GUICtrlCreateObj($oIEstart, 12, 34, 924, 602)

$oIEstart.navigate("test.html")

GuiCtrlCreateTabItem("Tab 2")

$oIEstart = ObjCreate("Shell.Explorer.2")

$GUIActiveXstart = GUICtrlCreateObj($oIEstart, 12, 34, 924, 602)

$oIEstart.navigate("test.html")

GuiCtrlCreateTabItem("Tab 3")

$oIEstart = ObjCreate("Shell.Explorer.2")

$GUIActiveXstart = GUICtrlCreateObj($oIEstart, 12, 34, 924, 602)

$oIEstart.navigate("test.html")

But if I make several tabs then shortcuts don't work anymore. Any idea how to fix this?

Share this post


Link to post
Share on other sites



I try to make a tabbed browser:

But if I make several tabs then shortcuts don't work anymore. Any idea how to fix this?

sorry, not enough information/code to help you....


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

sorry, not enough information/code to help you....

What information/code do you need? Actually besides the GUI windows this is all code.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Don't name all of your variables the same, and make sure you close your tab item definition with a GuiCtrlCreateTabItem(""):

GuiCtrlCreateTab(10, 10, 930, 630)

GuiCtrlCreateTabItem("Tab 1")
$oIEstart1 = ObjCreate("Shell.Explorer.2")
$GUIActiveXstart1 = GUICtrlCreateObj($oIEstart1, 12, 34, 924, 602)
$oIEstart1.navigate("test.html")
GuiCtrlCreateTabItem("")

GuiCtrlCreateTabItem("Tab 2")
$oIEstart2 = ObjCreate("Shell.Explorer.2")
$GUIActiveXstart2 = GUICtrlCreateObj($oIEstart2, 12, 34, 924, 602)
$oIEstart2.navigate("test.html")
GuiCtrlCreateTabItem("")

GuiCtrlCreateTabItem("Tab 3")
$oIEstart3 = ObjCreate("Shell.Explorer.2")
$GUIActiveXstart3 = GUICtrlCreateObj($oIEstart3, 12, 34, 924, 602)
$oIEstart3.navigate("test.html")
GuiCtrlCreateTabItem("")
Edited by lod3n

[font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0