Jump to content

Cant open new tabs


Samir90
 Share

Recommended Posts

I cant open more than 1 tab inside the GUI .... anyone know how to do that?

I want to open a video in a new tab but I cant... It always open in a new window which is also outside of GUI

I uploaded a photo also Thanks in Advance

here is the code:|

HotKeySet("{ESC}", "Quit")

Example()

Func Example()

    $oIE = ObjCreate("Shell.Explorer.2")
    GUICreate("",800, 600, 0 , 0)
    $GUIActiveX = GUICtrlCreateObj ($oIE, 0, 0, 800, 600)
    $oIE.navigate("http://www.youtube.com")
    SoundSetWaveVolume(0)
    GUISetState()
    While 1
        sleep(1000)
    WEnd

    GUIDelete()

 EndFunc

Func Quit()
    Exit
EndFunc

It Is Also visible.png

Link to comment
Share on other sites

  • Moderators

Samir90,

Please do not bump your own threads within 24 hours.

Remember this is not a 24/7 support forum - those who answer are only here because they like helping others and have some time to spare.  You just have to wait until someone who knows something about your particular problem, and is willing to help, comes online.  Be patient and someone will answer eventually.


M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Because what you have there is an IE activex control which does not have tabs.

Browser's have tabs, if you want that you must pseudo embed full browser in gui.

Search pseudo embed

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

I just want to make a GUICreate and inside it I want to open a browser

With the code below i make a GUI and inside it I open a browser

The problem is the browser can't open a new tab It dosen't give you that option with the code below

I don't want to open a browser on my windows I want to open inside my GUI and open new tabs there also

If I press on a video instead of creating a new tab it open another instance of chrome outside of my GUI and then play the video

The idea is I want everything to run inside my AutoIt GUI 

$oIE = ObjCreate("Shell.Explorer.2")
    GUICreate("",800, 600, 0 , 0)
    $GUIActiveX = GUICtrlCreateObj ($oIE, 0, 0, 800, 600)
    $oIE.navigate("http://www.youtube.com")

 

Link to comment
Share on other sites

I saw what you posted in the pseudo but the real problem is I can't open the browser inside GUI

I don't know how to do that I do not find any method...

In ChromeCreatePseudoEmbedded it do the command:

Run(@ProgramFilesDir & "\Google\Chrome\Application\chrome.exe --chrome-frame -kiosk " & $sURL)

Which will run a chrome.exe outside of my GUI...

I cant find how to run it inside my GUI there is the problem

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...