Jump to content

Can't Click The Button


Recommended Posts

Hi folks its me again with the another stupid problem.

#NoTrayIcon
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_icon=vitalityaion.ico
#AutoIt3Wrapper_Res_Comment=[VAL] Vitality Aion Launcher by Crowen
#AutoIt3Wrapper_Res_Description=Vitality Aion Launcher
#AutoIt3Wrapper_Res_Fileversion=1.10.0.2
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=p
#AutoIt3Wrapper_Res_LegalCopyright=BlindEffect[BF] and Vitality Gaming Planet[VGP}
#AutoIt3Wrapper_Res_Language=1033
#AutoIt3Wrapper_Run_Obfuscator=y
#Obfuscator_Parameters=/cs 1, /cn 1, /cf 1, /cv 1
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <IE.au3>
Local $WS_CLIPSBEHIND
$Form = GUICreate("[VA]Vitality Aion Launcer By Crowen", 896, 486, 186, 113)
GUISetBkColor(0x808080)
FileInstall("C:\Documents and Settings\Administrator\Desktop\aion - tool image.jpg", @TempDir & "\aion - tool image.jpg")
FileInstall("C:\Documents and Settings\Administrator\Desktop\aion.jpg", @TempDir & "\aion.jpg")
FileInstall("C:\Documents and Settings\Administrator\Desktop\vitality aion launcher splash free space.jpg", @TempDir & "\vitality aion launcher splash free space.jpg")
FileInstall("C:\Documents and Settings\Administrator\Desktop\aion - ....jpg", @TempDir & "\aion - ....jpg")
FileInstall("C:\Documents and Settings\Administrator\Desktop\launch vitality aion button.jpg", @TempDir & "\launch vitality aion button.jpg")
$Pic1 = GUICtrlCreatePic(@TempDir & "\aion - tool image.jpg", 360, 0, 540, 228, BitOR($SS_NOTIFY,$WS_GROUP, $WS_CLIPSBEHIND))
$Pic2 = GUICtrlCreatePic(@TempDir & "\aion.jpg", 0, 0, 356, 484, BitOR($SS_NOTIFY,$WS_GROUP, $WS_CLIPSBEHIND))
$Pic3 = GUICtrlCreatePic(@TempDir & "\vitality aion launcher splash free space.jpg", 360, 232, 540, 252, BitOR($SS_NOTIFY,$WS_GROUP, $WS_CLIPSBEHIND), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE,$GUI_WS_EX_PARENTDRAG))
GUICtrlCreateInput("", 368, 368, 209, 21)
$Browser = GUICtrlCreatePic(@TempDir & "\aion - ....jpg", 624, 368, 44, 20, BitOR($SS_NOTIFY,$WS_GROUP))
$Launch = GUICtrlCreatePic(@TempDir & "\launch vitality aion button.jpg", 536, 408, 148, 36, BitOR($SS_NOTIFY,$WS_GROUP))
$Button1 = GUICtrlCreateButton("Web Page", 368, 264, 75, 25, $WS_BORDER)
GUICtrlSetColor(-1, 0x00FFFF)
GUICtrlSetBkColor(-1, 0x1A1A1A)
$Button2 = GUICtrlCreateButton("Forum", 368, 240, 75, 25, $WS_BORDER)
GUICtrlSetColor(-1, 0x00FFFF)
GUICtrlSetBkColor(-1, 0x1A1A1A)
GUISetState(@SW_SHOW)



While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Button1
        WebPage()
        Case $Button2
        Forum()
        Case $Launch
        Launch()
        Case $Browser
            $get = FileSelectFolder('Please select a directory', @DesktopDir, 5, GUICtrlRead($SavePath), $Form)
            If Not @error Then
                GUICtrlSetData($SavePath, $get)
            EndIf
    EndSwitch
WEnd

Func Launch()
FileInstall("D:\Games\NCsoft\Aion\Textures\Loading\Splash01.BMP", GUICtrlRead($SavePath) & "\Textures\Loading\Splash01.BMP")
FileInstall("D:\Games\NCsoft\Aion\Textures\Loading\Splash02.BMP", GUICtrlRead($SavePath) & "\Textures\Loading\Splash02.BMP") 
FileInstall("D:\Games\NCsoft\Aion\Textures\Loading\Splash03.BMP", GUICtrlRead($SavePath) & "\Textures\Loading\Splash03.BMP") 
FileInstall("D:\Games\NCsoft\Aion\Textures\Loading\Splash04.BMP", GUICtrlRead($SavePath) & "\Textures\Loading\Splash04.BMP") 
Sleep(100)
     Run(GUICtrlRead($SavePath)&"\bin32\Aion.bin -ip:66.231.190.130 -ng")
EndFunc
 
Func WebPage()
$oIE = _IECreate ("www.vitalityclan.info")
EndFunc

Func Forum()
$oIE =  _IECreate("www.vitalityclan.info/vitalityforum")
EndFunc

I didn't make any buttons, but i wan't my pictures to replace them, but i cannot click not only them, i cant click anything. Can someone tell me why?

Link to comment
Share on other sites

This works for me:

;NoTrayIcon
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_icon=vitalityaion.ico
#AutoIt3Wrapper_Res_Comment=[VAL] Vitality Aion Launcher by Crowen
#AutoIt3Wrapper_Res_Description=Vitality Aion Launcher
#AutoIt3Wrapper_Res_Fileversion=1.10.0.2
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=p
#AutoIt3Wrapper_Res_LegalCopyright=BlindEffect[BF] and Vitality Gaming Planet[VGP}
#AutoIt3Wrapper_Res_Language=1033
#AutoIt3Wrapper_Run_Obfuscator=y
#Obfuscator_Parameters=/cs 1, /cn 1, /cf 1, /cv 1
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <IE.au3>
Local $WS_CLIPSBEHIND
$Form = GUICreate("[VA]Vitality Aion Launcer By Crowen", 896, 486, 186, 113)
GUISetBkColor(0x808080)
GUICtrlCreateInput("", 368, 368, 209, 21)

$Button1 = GUICtrlCreateButton("Web Page", 368, 264, 75, 25, $WS_BORDER)
GUICtrlSetColor(-1, 0x00FFFF)
GUICtrlSetBkColor(-1, 0x1A1A1A)
$Button2 = GUICtrlCreateButton("Forum", 368, 240, 75, 25, $WS_BORDER)
GUICtrlSetColor(-1, 0x00FFFF)
GUICtrlSetBkColor(-1, 0x1A1A1A)
GUISetState(@SW_SHOW)



While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Button1
        WebPage()
        Case $Button2
        Forum()
     EndSwitch
WEnd

Func WebPage()
$oIE = _IECreate ("www.vitalityclan.info")
EndFunc

Func Forum()
$oIE =  _IECreate("www.vitalityclan.info/vitalityforum")
EndFunc

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

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...