Jump to content

Recommended Posts

Posted

It didn't seem to work, heres the link i want to link to http://www.bbc.co.uk/radio1/onemusic/studio/sequencerv2.dcr

all i see is a black screen nothing else

If you are trying to display a url from a remote server then you can either use InetGet and save the file to your temp folder, then open it from your local system using the object in the example, or you can use the IE automation library in the scripts and scraps forum to embed a browser in your GUI, and just open the URL. Look for ie.au3. You can find info on and examples for the inetget function in the help file.

Of course I don't know wat a dcr file is, and trying to access it in my browser just starts a download, so I obviously don't have the software to access it. Sorry I can't be more help.

Posted

I know its a type of shockwave object. Thank you for your help.

This works for me

#include <GUIConstants.au3>

$Form1 = GUICreate("Test Webbrowser", 715, 503, 192, 125)
$Obj = ObjCreate("Shell.Explorer.2")
$browser = GUICtrlCreateObj($Obj, 0, 64, 710, 436)
GUISetState(@SW_SHOW)
$Obj.Navigate ('http://www.bbc.co.uk/radio1/onemusic/studio/sequencerv2.dcr')
While 1
    $msg = GUIGetMsg()
        Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
       
        Case Else
       ;;;;;;;
     EndSelect
 WEnd

It only worked after I downloaded the player.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

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
  • Recently Browsing   0 members

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