Jump to content

Recommended Posts

Posted

Hello! I have used Example script from Autoit,i changed it little for my personal use,the button named home is google opens good,but the button named Button_1 that provide toy to other web site freebitco.in not working.I added #RequireAdmin and some more includes and i downloaded activeX control for Firefox,but its not working.The error message i receive is! You have requested an encrypted page. The web site has identified itself correctly, and information you see or enter on this page can't easily be read by a third party.

Is it any way to fix that problem? Thank you.

 

 

 #RequireAdmin
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <GDIPlus.au3>
#include <StaticConstants.au3>
#include <ButtonConstants.au3>
#include <IE.au3>
#include <GUIListBox.au3>
#include <GuiConstants.au3>
#include <file.au3>
#include <GUIListBox.au3>
#include <Misc.au3>
Example()
AutoItSetOption("MustDeclareVars", 1)
; Simple example: Embedding an Internet Explorer Object inside an AutoIt GUI
Func Example()
Local $oIE, $GUIActiveX, $GUI_Button_Back, $GUI_Button_Forward
Local $GUI_Button_Home, $GUI_Button_Stop, $msg
$oIE = ObjCreate("Mozilla.Browser")
; Create a simple GUI for our output
    GUICreate("My personal use websites", 1100, 620, (@DesktopWidth - 940) / 2, (@DesktopHeight - 620) / 2, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS, $WS_CLIPCHILDREN))
    $i = GUICtrlCreateLabel("My contact email is alexandermogilevski@yahoo.ca  my web site is http://bux.clan.su ", 10, 10)
    GUICtrlSetColor($i, 0xE39624)
    GUISetBkColor (0x000000)
    $GUIActiveX = GUICtrlCreateObj ($oIE, 10, 40, 1000, 360)
    $GUI_Button_Back = GUICtrlCreateButton("Back", 10, 420, 100, 20)
    $GUI_Button_Home = GUICtrlCreateButton("Home", 110, 420, 100, 20)
    $GUI_Button_1 = GUICtrlCreateButton("freebitco.in", 210, 420, 100, 20)
    GUISetState()       ;Show GUI
; Waiting for user to close the window
    While 1
        $msg = GUIGetMsg()
       Select
            Case $msg = $GUI_EVENT_CLOSE
                ExitLoop
            Case $msg = $GUI_Button_Home
                $oIE.navigate("http://www.google.com")
            Case $msg = $GUI_Button_Back
                $oIE.GoBack
             Case $msg = $GUI_Button_1
                $oIE.navigate("https://freebitco.in/?r=269355")
                EndSelect
            WEnd
GUIDelete()
EndFunc   ;==>Example

Posted

Hi dimez, you have posted in the wrong forum. You should Report your topic to be relocated to the GUI Help forum. You are also more likely to receive more eyes and help there.

Cheers

P.S. Please also try and post any code, using the forum Code <> button, which makes life easier for the volunteers who provide help. :)

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

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
×
×
  • Create New...