Zer0Velocity Posted August 4, 2010 Share Posted August 4, 2010 I got this code from the forum, but I want it to work with flash based sites. How can I enable flash with the current code? #include <GUIConstants.au3> #include <IE.au3> $GUI = GUICreate("Simple Web Browser", 800, 450) $object = ObjCreate("Shell.Explorer.2") $object_ctrl = GUICtrlCreateObj($object, 16, 10, 780, 400) $url_button = GUICtrlCreateButton("URL", 16, 410, 750, 25, 0) _IENavigate($object, "www.google.com") GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $url_button $URL = Inputbox("Web Browser", "Enter the URL you want to visit.") _IENavigate($Object, $URL) Case $msg = $GUI_EVENT_CLOSE Exit EndSelect WEnd Link to comment Share on other sites More sharing options...
JohnOne Posted August 4, 2010 Share Posted August 4, 2010 Flash will show in the IE object the same as it does in Internet Explorer. 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 More sharing options...
Zer0Velocity Posted August 4, 2010 Author Share Posted August 4, 2010 When I try to use youtube it works, but when I try facebook it doesn't. Don't understand why Any ideas? Link to comment Share on other sites More sharing options...
Zer0Velocity Posted August 4, 2010 Author Share Posted August 4, 2010 I have just tried to use the current code with XP x86 and it works. Try it on Win7 x64 and it don't work, even running under x86 on Win7 doesn't work. Just don't understand why. Please anyone that can shed some light on this for me. Link to comment Share on other sites More sharing options...
JohnOne Posted August 4, 2010 Share Posted August 4, 2010 I dont know anything about facebook, but I havent had problems with flash content in win 7. Also, "it dosnt work" is not a good enough description of your problem to help you. 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now