eu tava pensando em usar um searchimage pra quando encontrar o "Código" ele abrir um novo GUI ou simplesmente esconder o ActiveX e aparecer as novas opções.
Eu estou com esse código, só que não funciona:
Code: Select all
#NoEnv
#SingleInstance Force
SetWorkingDir %A_ScriptDir%
Gui, -Caption
Gui 1:Default
Gui Add, ActiveX,h720 w1280, http://anonymoustv.epizy.com/redirect/adfinal.html
Gui Show, h720 w1280
Loop
{
}
CoordMode, Pixel, Window
ImageSearch, FoundX, FoundY, 0, 0, 1600, 900, qrcode.png
If ErrorLevel = 0
Gui 2:Default
Gui, -Caption
Gui, Add, Text, x0 y0 w450 h40 +BackgroundTrans gUImove
Gui Add, Picture, x0 y41 w533 h400, %A_ScriptDir%\bg.png
Gui Add, Picture, x0 y0 w533 h41 +BackgroundTrans, %A_ScriptDir%\titlebar.png
Gui Add, Picture, x491 y1 w38 h38 gclose +BackgroundTrans, Close Circle Buttons.png
Gui Add, Picture, x158 y37 w196 h100 +BackgroundTrans, %A_ScriptDir%\AM\MSBS_Radon_Render.png
Gui Add, Picture, x43 y124 w87 h64 +BackgroundTrans, %A_ScriptDir%\AM\Truglo mira de ponto vermelho.png
Gui Add, Picture, x153 y116 w105 h76 +BackgroundTrans, %A_ScriptDir%\AM\NewEOTech553 1.4.png
Gui Add, Picture, x287 y116 w85 h80 +BackgroundTrans, %A_ScriptDir%\AM\Mira Avançada de combate.png
Gui Add, Picture, x406 y109 w101 h89 +BackgroundTrans, %A_ScriptDir%\AM\Trijiconacog.png
Gui Add, Picture, x45 y197 w80 h25 +BackgroundTrans va1 gMira_1.2x, mira_false.png
Gui Add, Picture, x45 y197 w80 h25 +BackgroundTrans va2 gMira_1.2x hidden, mira_true.png
Gui Add, Picture, x165 y197 w80 h25 +BackgroundTrans vb1 gMira_1.4x, mira_false.png
Gui Add, Picture, x165 y197 w80 h25 +BackgroundTrans vb2 gMira_1.4x hidden, mira_true.png
Gui Add, Picture, x282 y197 w80 h25 +BackgroundTrans vc1 gMira_2x, mira_false.png
Gui Add, Picture, x282 y197 w80 h25 +BackgroundTrans vc2 gMira_2x hidden, mira_true.png
Gui Add, Picture, x404 y198 w80 h25 +BackgroundTrans vd1 gMira_3x, mira_false.png
Gui Add, Picture, x404 y198 w80 h25 +BackgroundTrans vd2 gMira_3x hidden, mira_true.png
Gui Font, s13 Bold q5 cWhite, Consolas
Gui Add, Text, x45 y202 w80 h23 +BackgroundTrans Center, 1.2x
Gui Font
Gui Font, s13 Bold q5 cWhite, Consolas
Gui Add, Text, x165 y202 w80 h23 +BackgroundTrans Center, 1.4x
Gui Font
Gui Font, s13 Bold q5 cWhite, Consolas
Gui Add, Text, x281 y202 w80 h23 +BackgroundTrans Center, 2x
Gui Font
Gui Font, s13 Bold q5 cWhite, Consolas
Gui Add, Text, x404 y203 w80 h23 +BackgroundTrans Center, 3x
Gui Font
Gui Font, s15 Bold cBlack, Consolas
Gui Add, Picture, x122 y281 w135 h25 +BackgroundTrans ve1 gsense5, sense_false.png
Gui Add, Picture, x122 y281 w135 h25 +BackgroundTrans ve2 gsense5 hidden, sense_true.png
Gui Font
Gui Add, Picture, x122 y317 w135 h25 +BackgroundTrans vf1 gsense10, sense_false.png
Gui Add, Picture, x122 y317 w135 h25 +BackgroundTrans vf2 gsense10 hidden, sense_true.png
Gui Add, Picture, x281 y283 w135 h25 +BackgroundTrans vg1 gsense15, sense_false.png
Gui Add, Picture, x281 y283 w135 h25 +BackgroundTrans vg2 gsense15 hidden, sense_true.png
Gui Add, Picture, x281 y319 w138 h23 +BackgroundTrans vh1 gsense20, sense_false.png
Gui Add, Picture, x281 y319 w138 h23 +BackgroundTrans vh2 gsense20 hidden, sense_true.png
Gui Add, Picture, x200 y354 w135 h25 +BackgroundTrans vi1 gsense25, sense_false.png
Gui Add, Picture, x200 y354 w135 h25 +BackgroundTrans vi2 gsense25 hidden, sense_true.png
Gui Font, s13 Bold cWhite, Trebuchet MS
Gui Add, Text, x122 y283 w138 h23 +BackgroundTrans Center, Sensibilidade 5
Gui Font
Gui Font, s13 Bold cWhite, Trebuchet MS
Gui Add, Text, x124 y319 w138 h23 +BackgroundTrans Center, Sensibilidade 10
Gui Font
Gui Font, s13 Bold cWhite, Trebuchet MS
Gui Add, Text, x280 y286 w138 h23 +BackgroundTrans Center, Sensibilidade 15
Gui Font
Gui Font, s13 Bold cWhite, Trebuchet MS
Gui Add, Text, x280 y320 w138 h23 +BackgroundTrans Center, Sensibilidade 20
Gui Font
Gui Font, s13 Bold cWhite, Trebuchet MS
Gui Add, Text, x201 y354 w138 h23 +BackgroundTrans Center, Sensibilidade 25
Gui Font
Gui Show, w530 h437, Window
;set variaveis mira
ai := 1, bi := 1, ci := 1, di:= 1
;set variaveis sensibilidades
ei := 1, fi := 1, gi := 1, hi := 1, ii := 1
Return
If ErrorLevel
Loop, 2
SoundBeep
}
UImove:
PostMessage, 0xA1, 2,,, A
return
close:
GuiEscape:
Exitapp
O Script abaixo funciona, só que está sem os "anúcios"
Code: Select all
#NoEnv
#SingleInstance Force
SetWorkingDir %A_ScriptDir%
Gui 1:Default
Gui Add, Button,x0 y0 w80 h30 Hidden, Debug
Gui Add, Button,x0 y0 w80 h30, Ligar
Gui,Show, w80 h30
return
ButtonDebug:
Gui,destroy
Gui 2:Default
Gui, -Caption
Gui, Add, Text, x0 y0 w450 h40 +BackgroundTrans gUImove
Gui Add, Picture, x0 y41 w533 h400, %A_ScriptDir%\bg.png
Gui Add, Picture, x0 y0 w533 h41 +BackgroundTrans, %A_ScriptDir%\titlebar.png
Gui Add, Picture, x491 y1 w38 h38 gclose +BackgroundTrans, Close Circle Buttons.png
Gui Add, Picture, x158 y37 w196 h100 +BackgroundTrans, %A_ScriptDir%\AM\MSBS_Radon_Render.png
Gui Add, Picture, x43 y124 w87 h64 +BackgroundTrans, %A_ScriptDir%\AM\Truglo mira de ponto vermelho.png
Gui Add, Picture, x153 y116 w105 h76 +BackgroundTrans, %A_ScriptDir%\AM\NewEOTech553 1.4.png
Gui Add, Picture, x287 y116 w85 h80 +BackgroundTrans, %A_ScriptDir%\AM\Mira Avançada de combate.png
Gui Add, Picture, x406 y109 w101 h89 +BackgroundTrans, %A_ScriptDir%\AM\Trijiconacog.png
Gui Add, Picture, x45 y197 w80 h25 +BackgroundTrans va1 gMira_1.2x, mira_false.png
Gui Add, Picture, x45 y197 w80 h25 +BackgroundTrans va2 gMira_1.2x hidden, mira_true.png
Gui Add, Picture, x165 y197 w80 h25 +BackgroundTrans vb1 gMira_1.4x, mira_false.png
Gui Add, Picture, x165 y197 w80 h25 +BackgroundTrans vb2 gMira_1.4x hidden, mira_true.png
Gui Add, Picture, x282 y197 w80 h25 +BackgroundTrans vc1 gMira_2x, mira_false.png
Gui Add, Picture, x282 y197 w80 h25 +BackgroundTrans vc2 gMira_2x hidden, mira_true.png
Gui Add, Picture, x404 y198 w80 h25 +BackgroundTrans vd1 gMira_3x, mira_false.png
Gui Add, Picture, x404 y198 w80 h25 +BackgroundTrans vd2 gMira_3x hidden, mira_true.png
Gui Font, s13 Bold q5 cWhite, Consolas
Gui Add, Text, x45 y202 w80 h23 +BackgroundTrans Center, 1.2x
Gui Font
Gui Font, s13 Bold q5 cWhite, Consolas
Gui Add, Text, x165 y202 w80 h23 +BackgroundTrans Center, 1.4x
Gui Font
Gui Font, s13 Bold q5 cWhite, Consolas
Gui Add, Text, x281 y202 w80 h23 +BackgroundTrans Center, 2x
Gui Font
Gui Font, s13 Bold q5 cWhite, Consolas
Gui Add, Text, x404 y203 w80 h23 +BackgroundTrans Center, 3x
Gui Font
Gui Font, s15 Bold cBlack, Consolas
Gui Add, Picture, x122 y281 w135 h25 +BackgroundTrans ve1 gsense5, sense_false.png
Gui Add, Picture, x122 y281 w135 h25 +BackgroundTrans ve2 gsense5 hidden, sense_true.png
Gui Font
Gui Add, Picture, x122 y317 w135 h25 +BackgroundTrans vf1 gsense10, sense_false.png
Gui Add, Picture, x122 y317 w135 h25 +BackgroundTrans vf2 gsense10 hidden, sense_true.png
Gui Add, Picture, x281 y283 w135 h25 +BackgroundTrans vg1 gsense15, sense_false.png
Gui Add, Picture, x281 y283 w135 h25 +BackgroundTrans vg2 gsense15 hidden, sense_true.png
Gui Add, Picture, x281 y319 w138 h23 +BackgroundTrans vh1 gsense20, sense_false.png
Gui Add, Picture, x281 y319 w138 h23 +BackgroundTrans vh2 gsense20 hidden, sense_true.png
Gui Add, Picture, x200 y354 w135 h25 +BackgroundTrans vi1 gsense25, sense_false.png
Gui Add, Picture, x200 y354 w135 h25 +BackgroundTrans vi2 gsense25 hidden, sense_true.png
Gui Font, s13 Bold cWhite, Trebuchet MS
Gui Add, Text, x122 y283 w138 h23 +BackgroundTrans Center, Sensibilidade 5
Gui Font
Gui Font, s13 Bold cWhite, Trebuchet MS
Gui Add, Text, x124 y319 w138 h23 +BackgroundTrans Center, Sensibilidade 10
Gui Font
Gui Font, s13 Bold cWhite, Trebuchet MS
Gui Add, Text, x280 y286 w138 h23 +BackgroundTrans Center, Sensibilidade 15
Gui Font
Gui Font, s13 Bold cWhite, Trebuchet MS
Gui Add, Text, x280 y320 w138 h23 +BackgroundTrans Center, Sensibilidade 20
Gui Font
Gui Font, s13 Bold cWhite, Trebuchet MS
Gui Add, Text, x201 y354 w138 h23 +BackgroundTrans Center, Sensibilidade 25
Gui Font
Gui Show, w530 h437, Window
;set variaveis mira
ai := 1, bi := 1, ci := 1, di:= 1
;set variaveis sensibilidades
ei := 1, fi := 1, gi := 1, hi := 1, ii := 1
Return
UImove:
PostMessage, 0xA1, 2,,, A
return
close:
GuiEscape:
Exitapp
ButtonLigar:
GuiControl,Show,Debug
GuiControl,Hide,Ligar