
AndreRox
Members-
Posts
12 -
Joined
-
Last visited
Everything posted by AndreRox
-
Trying to search an imagem on the screen - (Moved)
AndreRox replied to AndreRox's topic in AutoIt General Help and Support
Do you know any tutorial? -
Trying to search an imagem on the screen - (Moved)
AndreRox replied to AndreRox's topic in AutoIt General Help and Support
Ok bro, i'm new here! -
Trying to search an imagem on the screen - (Moved)
AndreRox replied to AndreRox's topic in AutoIt General Help and Support
I need to ask the question again in the Developer General Discussion? -
Trying to search an imagem on the screen - (Moved)
AndreRox replied to AndreRox's topic in AutoIt General Help and Support
Is it possible to use images with transparent borders in png format? -
#include-once ; ------------------------------------------------------------------------------ ; ; AutoIt Version: 3.0 ; Language: English ; Description: Functions that assist with Image Search ; Require that the ImageSearchDLL.dll be loadable ; ; ------------------------------------------------------------------------------ ;=============================================================================== ; ; Description: Find the position of an image on the desktop ; Syntax: _ImageSearchArea, _ImageSearch ; Parameter(s): ; $findImage - the image file location or HBitmap to locate on the ; desktop or in the Specified HBitmap ; $tolerance - 0 for no tolerance (0-255). Needed when colors of ; image differ from desktop. e.g GIF ; $resultPosition - Set where the returned x,y location of the image is. ; 1 for centre of image, 0 for top left of image ; $x $y - Return the x and y location of the image ; ; $HBMP - optional hbitmap to search in. sending 0 will search the desktop. ; ; Return Value(s): On Success - Returns 1 ; On Failure - Returns 0 ; ; Note: Use _ImageSearch to search the entire desktop, _ImageSearchArea to specify ; a desktop region to search ; ;=============================================================================== Func _ImageSearch($findImage,$resultPosition, ByRef $x, ByRef $y,$tolerance, $HBMP=0) return _ImageSearchArea($findImage,$resultPosition,0,0,@DesktopWidth,@DesktopHeight,$x,$y,$tolerance,$HBMP) EndFunc Func _ImageSearchArea($findImage,$resultPosition,$x1,$y1,$right,$bottom, ByRef $x, ByRef $y, $tolerance,$HBMP=0) ;MsgBox(0,"asd","" & $x1 & " " & $y1 & " " & $right & " " & $bottom) If IsString($findImage) Then if $tolerance>0 then $findImage = "*" & $tolerance & " " & $findImage If $HBMP = 0 Then $result = DllCall("ImageSearchDLL.dll","str","ImageSearch","int",$x1,"int",$y1,"int",$right,"int",$bottom,"str",$findImage) Else $result = DllCall("ImageSearchDLL.dll","str","ImageSearchEx","int",$x1,"int",$y1,"int",$right,"int",$bottom,"str",$findImage,"ptr",$HBMP) EndIf Else $result = DllCall("ImageSearchDLL.dll","str","ImageSearchExt","int",$x1,"int",$y1,"int",$right,"int",$bottom, "int",$tolerance, "ptr",$findImage,"ptr",$HBMP) EndIf ; If error exit if $result[0]="0" then return 0 ; Otherwise get the x,y location of the match and the size of the image to ; compute the centre of search $array = StringSplit($result[0],"|") $x=Int(Number($array[2])) $y=Int(Number($array[3])) if $resultPosition=1 then $x=$x + Int(Number($array[4])/2) $y=$y + Int(Number($array[5])/2) endif return 1 EndFunc ;=============================================================================== ; ; Description: Wait for a specified number of seconds for an image to appear ; ; Syntax: _WaitForImageSearch, _WaitForImagesSearch ; Parameter(s): ; $waitSecs - seconds to try and find the image ; $findImage - the image to locate on the desktop ; $tolerance - 0 for no tolerance (0-255). Needed when colors of ; image differ from desktop. e.g GIF ; $resultPosition - Set where the returned x,y location of the image is. ; 1 for centre of image, 0 for top left of image ; $x $y - Return the x and y location of the image ; ; Return Value(s): On Success - Returns 1 ; On Failure - Returns 0 ; ; ;=============================================================================== Func _WaitForImageSearch($findImage,$waitSecs,$resultPosition, ByRef $x, ByRef $y,$tolerance,$HBMP=0) $waitSecs = $waitSecs * 1000 $startTime=TimerInit() While TimerDiff($startTime) < $waitSecs sleep(100) $result=_ImageSearch($findImage,$resultPosition,$x, $y,$tolerance,$HBMP) if $result > 0 Then return 1 EndIf WEnd return 0 EndFunc ;=============================================================================== ; ; Description: Wait for a specified number of seconds for any of a set of ; images to appear ; ; Syntax: _WaitForImagesSearch ; Parameter(s): ; $waitSecs - seconds to try and find the image ; $findImage - the ARRAY of images to locate on the desktop ; - ARRAY[0] is set to the number of images to loop through ; ARRAY[1] is the first image ; $tolerance - 0 for no tolerance (0-255). Needed when colors of ; image differ from desktop. e.g GIF ; $resultPosition - Set where the returned x,y location of the image is. ; 1 for centre of image, 0 for top left of image ; $x $y - Return the x and y location of the image ; ; Return Value(s): On Success - Returns the index of the successful find ; On Failure - Returns 0 ; ; ;=============================================================================== Func _WaitForImagesSearch($findImage,$waitSecs,$resultPosition, ByRef $x, ByRef $y,$tolerance,$HBMP=0) $waitSecs = $waitSecs * 1000 $startTime=TimerInit() While TimerDiff($startTime) < $waitSecs for $i = 1 to $findImage[0] sleep(100) $result=_ImageSearch($findImage[$i],$resultPosition,$x, $y,$tolerance,$HBMP) if $result > 0 Then return $i EndIf Next WEnd return 0 EndFunc I'm using the script above to search for images on the screen, however, I'm getting this error information on the console: >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\andre\Desktop\autoIT\ImageSearchDLL\teste-imgsearch.au3" "C:\Users\andre\Desktop\autoIT\ImageSearchDLL\ImageSearch.au3" (52) : ==> Subscript used on non-accessible variable.: if $result[0]="0" then return 0 if $result^ ERROR >Exit code: 1 Time: 2.212 My code bellow: #include <ImageSearch.au3> HotKeySet("p", "checkForImage") global $y = 0, $x = 0 Func checkForImage() local $search = _ImageSearchArea('img2.png', 1, 0, 0, 1155, 621, $x, $y, 0) If $search[0] = 1 Then MouseMove($x, $y, 10) EndIf EndFunc while 1 sleep(200) WEnd The line (52) of the script is this line: if $result[0]="0" then return 0 Is my ImageSearch.au3 script out of date? Thanks all for the help!
-
Error /ErrorStdOut in a Global variable
AndreRox replied to AndreRox's topic in AutoIt General Help and Support
Thanks @Jos and @jchd for the help! ♥ -
Error /ErrorStdOut in a Global variable
AndreRox replied to AndreRox's topic in AutoIt General Help and Support
Follow my script: #include <AutoItConstants.au3> Global $seguidores[] = ["@__faabss","@__gracedufonseca","@_angelica_silva2","@_antoniosj","@_arthurmarcelino","@_edi_wilson_","@_felipeecabral","@_gustavo_rodrigues__","@_gustavomunizz","@_hortenciia","@_isabella003","@_italogama","@_jessy.oliveira_","@_nataliasantos8","@_rsiilvaa_","@_steffan_02","@_vitinhooliveira01","@_waltorres","@aannylima_","@abeelfelipe","@adelmo_almeida","@adjacksonsheldon","@adozrocha","@adrianaarjo","@adryannao","@albereees_jr","@aldreyoziel","@aleson_barbosa","@alexandrafmello","@alexandrodavi","@alexsioli","@aliiciassis","@alinemedheiros","@alinemelquiades13","@alineoliveiras__","@alinetorresh","@alissonlso","@alissonvasconcelos92","@allineav","@alysonandrade142","@alyssa.vasconcelos","@amandajotadequeiroz","@amandakaroliiny","@amandinhaa_eiras","@ana.daisy.adylla","@andao_","@anderson.afp","@anderson.carlos01","@anderson200o","@andersonbrunoss","@andersonfonseca._","@andersonguialmeida","@andersonlacerda323","@andersonnerib","@andersontenorios","@andersonwrangel","@andrebunzen","@andrecarlos.93","@andrelucasdrummer","@andremartinadestrador","@andresafsales","@andressa_ray_lima","@angelica2504tony","@aninha_lins02","@annabeco","@anndrezaam","@annievlessa","@antoniovenancio","@ap_205home","@apogba_98","@apsinline","@aquilesxy","@arafacavalcante","@arlesonivison","@armandopvasco","@arq.luannaoliveira","@arthur.justino","@arthur_artbs","@arthur_monteeiro","@arthurziinsouza","@artur.osantiago","@aryenne_ferreira","@arysoares10","@augguerra","@augusto.araujjo","@auguustolima","@avelin0bruno","@aylamerencio","@baahcristina","@babinascimento_","@barbaraaveiga","@barbaracaroline_.15","@barbaragabriela28","@barbeariadiluna","@barbeirodiogoleite","@barros_nane","@bcccintra","@beaatrizarruda","@becoluciana","@bekinhafidelis","@belaaugusto","@bele.medeiros","@belle_medeiros2","@bellimelo","@bellinhalopes","@bergueroots","@bernardesge","@bethcarreiro","@betoangotti","@bhiafreitas","@biabw_","@biah.castro_","@big.j.soares","@biigodegrossoo","@binhosemcrause","@biroribeiro","@boa06_","@bonfimtm","@boscomedeiro","@brayan_barons","@bruh_liins","@bruhnaninhaa","@bruiizidio","@brunaaferrazz","@brunaizidiopersonal","@brunnohellcife","@bruno.araujo.fisioterapeuta","@bruno_leeeo","@brunoaraujo9675","@brunodarce","@brunofreire.s","@brunotrinn","@brunovitorpires","@btz_santiago","@bush_tattoo","@caabracurioso","@caabradapestee","@caabramacho","@caanhotto","@caarolribeirosilva","@caio_ernandes95","@caioamorim031","@caioanf","@camii.araujoo","@camila.gueiros","@camiladslima45","@camilamilico","@campeloisabelle","@camspimentel","@caprichei_feltros","@carlosbffilho","@carlosh1l","@carlosmeira","@caroldantas21","@caroline_ardila","@carolribeirofficial","@casth__","@caugusto.jr","@cecihealthylife","@celio.braganca.jr","@cezarratis","@cibele_freitas23","@cintiasantana2641","@claarissal","@claudinholins","@cleydsoncalled","@cleyton.cardoso.50","@coeelho93","@corre.hemir","@crisrdl","@crystianleao","@cunha.n.s","@cwespinola","@d1ogoluiz","@danicardooso_","@daniel_alima","@daniell_moura_","@daniellakuhn","@daniellilemoos","@daniellyregopersonal","@danielmbraun","@danielnicope","@danilo.s0uza","@danilo.svieira","@danilo_cdias","@daniloamedeiros","@danilocuia","@danmariiz","@dannibarrooos","@danyelacan","@daschagas.leo","@davee.manuel","@davi_obliviate","@david.januario","@daviprolim","@dayaneesilvaa_","@dayanemenezes92","@dayfbc","@dayvison38","@dayvson_l","@dayvsonsantos_","@dayzatavares","@ddumarques","@delianecavalcante","@delly_maceedo","@denicioribeiro","@deniis_henrique","@denis.oliveiraa","@derciovinicius","@deyvison_rafael_","@di.mkt","@dias_pablo14","@diego.lira95","@diegomatheusdiniz","@diegoshogun","@dihbrinks","@dinhoafn","@diogobads","@diogocassimiro.s","@diogolima_b","@dioguin061","@disouza_27","@doiogoleal","@donthiagobarber","@doug.asilva","@douglaasantos","@douglas_oficicial","@douglaslins_","@douglaspencanha","@drommar_","@dryangela","@eaee.manu","@eden.coelho","@edinelson_fr","@eduardaagalvao_","@eduardogoncvs","@eduardovfo","@edvaldo_.junior","@eidannyferreira","@elbadayane","@elicabral72", "@elienayflorencio","@elliecarolb","@eloisa_amorim","@eltonlinconl","@emerson.rodrigo","@equalisaaa","@erasmo_junioor","@ericaln90","@ericjf","@ericmoraess","@ericroots","@erivan_ns","@esdras.monteiro","@esdras_domingos23","@esdrascavalcs","@eu_kessjones","@evellyn_paty","@everaldo.92","@everaldorufino","@evoathiago","@ewers0n","@ewerton_max","@f.knust","@f.matheus96","@fabiobenevides","@familia_de_rua","@fatimabento98","@fdo_luna","@fecallou","@felipe.gteixeira","@felipe.tadewald","@felipealbuquerquefts","@felipeleandropessoa","@ferdinandoshow","@fern4nda.fs","@fernandaamandahardman","@fernandosardinha","@ferreiralakers","@ferreirataais","@ffernanda_diass","@filhinhavalentim","@fillipeduart","@fillipelopez","@flaviis__","@flavio.sf25","@flaviotkd","@flaviovansantos","@fotografia.edencoelho","@fqvinny","@frederico.g.nascimento","@fuelforliv","@fylipnyo","@g.filipe","@g.salomao","@gab1pesso4","@gabbana_c","@gabrie1silva","@gabriel.vitor23","@gabrielamouram","@gabrieldaraujo_","@gabrielgondim_","@gabrielrocha9917","@gabrielzanfa","@geisapazian.nutri","@geoge_232","@george_marcone","@geraldojrfigueiredo","@gessicadislaynne","@gihbernardes","@gilvanvj","@giovannabriano","@gisele.carvalhoo","@gisomarjr1994","@giuseppe_fregapane","@givacastiliano","@glarkson","@gleybinhogta","@gomesgabriella","@gomesjesica","@goncalomsneto","@gourmeto_","@graziinh","@guilherme.matheus.correa","@guilherme_m_correa","@guilhermehenriquew","@guilhermelucass_","@guilhermepenna","@guimelo_96","@gustavo_cardozo_araujo","@gustavohmcaldas","@gustavosbastos","@gyzellegueiros","@halyson.ribeiro","@harlan.pierre","@heitordearaujo","@heloyzasstefanny","@henriquedreyer","@henriquee_gomes","@henriquenet0","@heve_rtonliima","@hevertoonlima","@heytaamy","@hidane","@hieduardaa","@hranysouza_","@icarolenon","@ido.lima","@ierddan","@igordias.jpeg","@igorjaless","@igorlafaietee","@igorpontesb","@ijdelima","@indialittlee","@inegcecilia","@isaac.bastos","@isabelaferreira77","@isabelleamancio","@isagomeez15","@isatisfatorios","@itallocarvalho10","@italocruz.edf","@italomorais_13","@itamaracapernambuco","@ittalobarbalho","@jairo_pessoa","@jamarysantana","@jamessonrodrigues6","@jamillycarneirofisio","@jamiphy","@janinedanielly","@janinny_pessoa","@jardellvictor","@jeancbbs","@jeffbenicio","@jeffersonlima_93","@jehgonusii","@jennyfermnq","@jeronimo.nscto","@jessica.alline","@jeymessoncarias","@jhonatan_francaa","@jhonathanmonteiro13","@jhonyprado","@jhuniorferreira_","@joanderson8456","@joaokepler","@joaomirandaz","@joaopaulomedb","@joaopeedro___","@joaopspinheiro","@joca_morais","@johnattanasobrab","@johnnberg","@johnnypetteerson","@johnromulo_","@jonathannl2","@jonathanpessoa27","@jonnattas.delima","@jonnyiuma","@jose.hamiltondasilva.1","@jose.samy.54","@joseantoniosf84","@joyce.thais","@jpaulynho","@jsparaiso","@juandradec","@jugallindo","@julietemacedo","@julio.l.amorim","@julio_gk","@junior.jive","@junior26fernandes","@junior_e.f.s","@junioramancio53","@juniorlvesskimboard","@kaiosoutomaior","@karenapullck","@karinakellyk","@karinesilviino","@karinesilvino","@karinesrabelo","@karol_severo_","@karollynyjessica","@keilinha_ronielle","@kellyd.monalisa","@kellymedeiros.m","@ketunymartins","@kevinmuniz16","@keziaafarias","@khalil.pan","@kikopontual","@kkarolmonteiro","@kkattianna","@klebersonkl.lima","@klebsonarts","@kleubersou","@kmilorenan","@kskeila_sandy","@kuro.miio","@laara.medeiros","@labibypinheiro","@ladraosefudendo","@lailson_santos_","@laisfernanda_luna","@lamartine_97","@larifalcao_","@larih.albuquerque","@larijink","@larissa.luciia_","@larissa__liima","@larissaevrs","@lauralima_00","@lauramendesjornalista","@laymeson_do_pandeiro","@leandro.laneves","@leduararaujo","@leeticia_amorim","@leofarizeu","@leokean","@leomartorelli","@leonanlewandowski","@leonardo.ldiniz","@leonartlima","@leosalvador","@lericardolima","@leticia___nine","@leticiajaninne","@liimaheverton","@liliansbastos","@limajane40","@lindembergvinicius","@linedahora","@livialocio","@llaiscruuz","@lory.salles","@loryfreitas_","@loveonthebrai.n","@luaamcosta", "@luanalima_96","@luanferraz__","@luanhenrique.edf","@luanmarlonsantana","@luanwallas1","@lucaa.mendes","@lucabeltrao","@lucas.mick","@lucas_damasceno_m","@lucas_vitttorr","@lucasgilbert","@lucasleaotattoo","@lucaslessapro","@lucaslisboam","@lucassalitos","@lucianofernandesif","@luiizzhsf","@luizaaflima","@luizfelipeslins","@luizfelipess_","@luizmpimenta","@luizsantoscec","@luna_mary654321","@luuquinhasferreira","@lyrowviva","@maarlonfalcao","@mafiosabe","@maiconakiro","@maliceteixeiraa","@manamarcilia","@manamoveispe","@mands_siilva","@mandynmakeup","@marcelassbarros","@marcelinoalvaro","@marcellaapeixoto_","@marcelo_arruda_","@marcelopeixoto_s","@marcialj29","@marciarlima_","@marciliosantosadv","@marcioopaixao1980","@marciopaixao20","@marco_segundo","@marcoslsantos12","@marcossantiago4","@mari.santiagofo","@mari_andradih_","@marial1ce","@marialeticiacosta","@marianamaralcampos","@mariannealexandrino","@mariarafaa","@maricomber","@mariiiguanaes","@marilia.lf","@mariliagabrielaamancio","@marinaqueiroz1","@marinho.francielly","@marioabraga","@marioeliaszinho","@maritreez","@marivaldo.silv","@markos_bastos","@marvininspaces","@mateus.b.morais","@mateus_damasceno","@matheus_arts_777","@matheus_da_rochaa","@matiasnobletattoo","@matiasribeiro.n","@mayck_suillys","@maygabiarruda","@mayksrodrigues","@mayllaness","@mayy_andrade","@medsonl","@melicio_","@mellosilverwind","@messias313","@metro.burguer","@mfbmarcilio","@micalandim","@michaoliveira07","@mikacavalcanti","@milen_ah","@milenaembirassu","@milenamazonni_1","@millycarneiro","@milton_williamsx","@mirarodrigues123","@mirelibj","@mirelli.freitas","@mirreiz","@mmila_souza","@moabiamikaela","@monicakely82","@moniquearlete","@moykerodrigues","@mr_fael__","@mrsaizen","@mtsteuziin","@mundodealice.m","@murilo.smiranda","@muriloh33","@muriloneto.bat","@naah.criis","@naiaralima.nana","@nairacarneiro1","@nane.castro","@nataly.coosta","@natbarbachan","@natinhasan","@navas_gui","@nayalegabriella","@newmalima15","@niltonsantiagopro","@nilza.goncalves.334","@noelyba","@nutri_naianapassos","@o_oguizinhor","@oandersonrangel","@oliveirajoao20","@omariobros_","@onnerb__","@osmarjrpe","@p3dro_borba","@pablopdroza","@paloma_barr0s","@patriciocavalcantii","@patrickrusso2","@paula_ferreirs","@paulao327","@paularobertaconsultoria","@paulasantanams","@paulo.4.3","@paulo.minze","@paulorbeltrao","@pbrunno","@pedefoice","@pedraogustavo","@pedro__g0","@pedroandrad3","@pedrocouceirofilho","@pedromendespersonal","@peeh__silva","@peetruz","@peixoto_b","@pereira_vitoriia","@pereirowsk","@phiappo","@philipe2107","@philiposo.ojuara","@philliperocha7","@pietra.michelle","@plinioaustregesilo","@pliniomeloo","@pmoura.jpg","@poliana.ps","@pollianaaraujo019","@pollysouza_13","@preto.padrao","@pri_moura","@pridsouza","@priscila_roberta19","@psilvadidi","@px.day","@pydhio","@queiroz.ti.unibratec","@raafaaraamos","@raafael_freitas","@raayjl","@rafaaelb7","@rafael_bg","@rafael_cabelinho_atleta","@rafaelaborbamenezes","@rafaelasouza1707","@rafaellatargino","@rafallima2104","@rafapfernanda","@rafy_nha1994","@rai.__gercina","@raianenascimeento","@raimelorodrigues","@ramacardoso","@ramynemelo","@raonybarbosa","@raphaelario","@rauana_carvalho","@raul.braga","@rauldiegodesousa","@ray.ks","@rayanagoncalves_","@rayssafr","@rbeatri","@rcarollineoliveira","@re_bekinha_santos","@rebeccanobretattoo","@rebekaolv","@regi.jeronimo","@rej_filmagens","@renansantiago_","@renata.valeria.9250","@renata_lillia","@renatajardimtattoo","@renatakarllags","@renatinhagabrielly","@renatoaugusto07","@rennan.mano","@rfluizcosta","@rherissongomes","@rithhielly","@robertavaljms","@rodolfo.pacifico","@rodolfoalexandreda","@rodrigo0liveira__","@rodrigo_silves","@rodrigogarcia84","@rodrigoh1997","@rodrigomafraa","@rogerio.rossiini","@rogeriorossinipinheiro","@ronin_posdigital","@rosevieira794","@rosi.silv4","@rrafacavalcante","@ruandanilooo","@rubens_pinheiro_","@runotattooer","@sabrina_raissa","@sabrinaaaa.lima","@sammyle_","@samuelclassicphysique","@sanchez.39","@sandnergaldino","@sandrabvswp","@sandromendesaraujo", "@santnelle","@santtos_monique","@sarahflorenciio","@sarathais9665","@saulinhoaleixo","@saulogodoy","@selltoonn","@senna.zn","@sergiojrluiz","@sergiojunior00_","@service.tech01","@sillasamazonas","@silvana_yeshua","@silvania_damasc","@simonerecife.pe","@simonesalesoficial","@simoneses","@smarivaldosilva","@sousaronan","@southamericamemes","@souza_amanda14","@srtahbetthy","@stanislavcold","@stanleydiias","@stefan_costa2","@studiorosianesouza","@suelenarruda__","@suhseedpersonal","@sunonoticias","@surteiatoa_","@symonsantos13","@t.i.a.g.o_silva","@t_haisrafaela","@ta_li_ssa","@tahyaneamancio","@tamiris_melo94","@tarc_iis","@tarciolimadj","@tarcisiolima70","@tata_goms","@taticristinn_","@taticristinna","@tatyqueiroz23","@tayenecarla","@taynara_vittorino","@tecnalex","@thaiis.regiina","@thainakerr","@thaise.nandinha","@thaiseduarda.s","@thaiskananda","@thalis.guilherme","@thalysilva25","@thalytaaaraujo","@thamirismelo20","@thamyresguerra","@thatyotica","@thays.almeida.79219","@thezanfa","@thiago.cmv","@thiago.nigro","@thiago_dienstmann","@thiago_fgt","@thiagoferreirassis","@thiagogregorio","@thiagoramon__","@thiaguinhoraffa","@thiiago01","@thiiaguinhofernandes","@thonyobara","@tiago.m.tavares","@tiago_santos890","@tiagoopereeiraa","@tinnabarreto","@tm_angelini","@tmelotavares","@tyson_silva","@vanny.goncalves","@vantuirmuniz","@verdao_hortfrut","@vhfsouza","@vicentezarga","@victor.btorres","@victorarrud4","@victorfs2","@victornik_","@viniciusdercio","@vinimoreirap","@vitor_santos360","@vitorbizzo","@vitoriamarquees","@vitoriavaleska","@vrautom","@wairanet","@wan_pricila","@wandasiqueira25","@washington.jr","@wendytoothfairy","@willb_tattoo","@willian_moraes_fotografia","@willnickss","@willwall_","@winyesouza","@wrllennia","@xiiigente","@yla_villar","@yuriallan18" ]; Press F7, all ok, and press F5 and get the error: >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\ANDREFILIPE\Desktop\scripts-AUTO IT\scripts\script sorteio.au3" "C:\Users\ANDREFILIPE\Desktop\scripts-AUTO IT\scripts\script sorteio.au3" (11) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: Global $seguidores[] = ["@__faabss","@__gracedufonseca","@_angelica_silva2","@_antoniosj","@_arthurmarcelino","@_edi_wilson_","@_felipeecabral","@_gustavo_rodrigues__","@_gustavomunizz","@_hortenciia","@_isabella003","@_italogama","@_jessy.oliveira_","@_nataliasantos8","@_rsiilvaa_","@_steffan_02","@_vitinhooliveira01","@_waltorres","@aannylima_","@abeelfelipe","@adelmo_almeida","@adjacksonsheldon","@adozrocha","@adrianaarjo","@adryannao","@albereees_jr","@aldreyoziel","@aleson_barbosa","@alexandrafmello","@alexandrodavi","@alexsioli","@aliiciassis","@alinemedheiros","@alinemelquiades13","@alineoliveiras__","@alinetorresh","@alissonlso","@alissonvasconcelos92","@allineav","@alysonandrade142","@alyssa.vasconcelos","@amandajotadequeiroz","@amandakaroliiny","@amandinhaa_eiras","@ana.daisy.adylla","@andao_","@anderson.afp","@anderson.carlos01","@anderson200o","@andersonbrunoss","@andersonfonseca._","@andersonguialmeida","@andersonlacerda323","@andersonnerib","@andersontenorios","@andersonwrangel","@andrebunzen","@andrecarlos.93","@andrelucasdrummer","@andremartinadestrador","@andresafsales","@andressa_ray_lima","@angelica2504tony","@aninha_lins02","@annabeco","@anndrezaam","@annievlessa","@antoniovenancio","@ap_205home","@apogba_98","@apsinline","@aquilesxy","@arafacavalcante","@arlesonivison","@armandopvasco","@arq.luannaoliveira","@arthur.justino","@arthur_artbs","@arthur_monteeiro","@arthurziinsouza","@artur.osantiago","@aryenne_ferreira","@arysoares10","@augguerra","@augusto.araujjo","@auguustolima","@avelin0bruno","@aylamerencio","@baahcristina","@babinascimento_","@barbaraaveiga","@barbaracaroline_.15","@barbaragabriela28","@barbeariadiluna","@barbeirodiogoleite","@barros_nane","@bcccintra","@beaatrizarruda","@becoluciana","@bekinhafidelis","@belaaugusto","@bele.medeiros","@belle_medeiros2","@bellimelo","@bellinhalopes","@bergueroots","@bernardesge","@bethcarreiro","@betoangotti","@bhiafreitas","@biabw_","@biah.castro_","@big.j.soares","@biigodegrossoo","@binhosemcrause","@biroribeiro","@boa06_","@bonfimtm","@boscomedeiro","@brayan_barons","@bruh_liins","@bruhnaninhaa","@bruiizidio","@brunaaferrazz","@brunaizidiopersonal","@brunnohellcife","@bruno.araujo.fisioterapeuta","@bruno_leeeo","@brunoaraujo9675","@brunodarce","@brunofreire.s","@brunotrinn","@brunovitorpires","@btz_santiago","@bush_tattoo","@caabracurioso","@caabradapestee","@caabramacho","@caanhotto","@caarolribeirosilva","@caio_ernandes95","@caioamorim031","@caioanf","@camii.araujoo","@camila.gueiros","@camiladslima45","@camilamilico","@campeloisabelle","@camspimentel","@caprichei_feltros","@carlosbffilho","@carlosh1l","@carlosmeira","@caroldantas21","@caroline_ardila","@carolribeirofficial","@casth__","@caugusto.jr","@cecihealthylife","@celio.braganca.jr","@cezarratis","@cibele_freitas23","@cintiasantana2641","@claarissal","@claudinholins","@cleydsoncalled","@cleyton.cardoso.50","@coeelho93","@corre.hemir","@crisrdl","@crystianleao","@cunha.n.s","@cwespinola","@d1ogoluiz","@danicardooso_","@daniel_alima","@daniell_moura_","@daniellakuhn","@daniellilemoos","@daniellyregopersonal","@danielmbraun","@danielnicope","@danilo.s0uza","@danilo.svieira","@danilo_cdias","@daniloamedeiros","@danilocuia","@danmariiz","@dannibarrooos","@danyelacan","@daschagas.leo","@davee.manuel","@davi_obliviate","@david.januario","@daviprolim","@dayaneesilvaa_","@dayanemenezes92","@dayfbc","@dayvison38","@dayvson_l","@dayvsonsantos_","@dayzatavares","@ddumarques","@delianecavalcante","@delly_maceedo","@denicioribeiro","@deniis_henrique","@denis.oliveiraa","@derciovinicius","@deyvison_rafael_","@di.mkt","@dias_pablo14","@diego.lira95","@diegomatheusdiniz","@diegoshogun","@dihbrinks","@dinhoafn","@diogobads","@diogocassimiro.s","@diogolima_b","@dioguin061","@disouza_27","@doiogoleal","@donthiagobarber","@doug.asilva","@douglaasantos","@douglas_oficicial","@douglaslins_","@douglaspencanha","@drommar_","@dryangela","@eaee.manu","@eden.coelho","@edinelson_fr","@eduardaagalvao_","@eduardogoncvs","@eduardovfo","@edvaldo_.junior","@eidannyferreira","@elbadayane","@elicabral72", Global $seguidores[] = ["@__faabss",^ ERROR >Exit code: 1 Time: 0.1051 -
Error /ErrorStdOut in a Global variable
AndreRox replied to AndreRox's topic in AutoIt General Help and Support
I'm thinking that the problem is the amount of string's I'm passing to the array, the size must be exceeding the limit. -
Error /ErrorStdOut in a Global variable
AndreRox replied to AndreRox's topic in AutoIt General Help and Support
Jos, it's the same error, can you see? -
Error /ErrorStdOut in a Global variable
AndreRox replied to AndreRox's topic in AutoIt General Help and Support
what maximum index size can I have in an Array? -
Error /ErrorStdOut in a Global variable
AndreRox replied to AndreRox's topic in AutoIt General Help and Support
-
Global $pessoas = ["__faabss","__gracedufonseca","_angelica_silva2","_antoniosj","_arthurmarcelino","_edi_wilson_","_felipeecabral","_gustavo_rodrigues__","_gustavomunizz","_hortenciia","_isabella003","_italogama","_jessy.oliveira_","_nataliasantos8","_rsiilvaa_","_steffan_02","_vitinhooliveira01","_waltorres","aannylima_","abeelfelipe","adelmo_almeida","adjacksonsheldon","adozrocha","adrianaarjo","adryannao","albereees_jr","aldreyoziel","aleson_barbosa","alexandrafmello","alexandrodavi","alexsioli","aliiciassis","alinemedheiros","alinemelquiades13","alineoliveiras__","alinetorresh","alissonlso","alissonvasconcelos92","allineav","alysonandrade142","alyssa.vasconcelos","amandajotadequeiroz","amandakaroliiny","amandinhaa_eiras","ana.daisy.adylla","andao_","anderson.afp","anderson.carlos01","anderson200o","andersonbrunoss","andersonfonseca._","andersonguialmeida","andersonlacerda323","andersonnerib","andersontenorios","andersonwrangel","andrebunzen","andrecarlos.93","andrelucasdrummer","andremartinadestrador","andresafsales","andressa_ray_lima","angelica2504tony","aninha_lins02","annabeco","anndrezaam","annievlessa","antoniovenancio","ap_205home","apogba_98","apsinline","aquilesxy","arafacavalcante","arlesonivison","armandopvasco","arq.luannaoliveira","arthur.justino","arthur_artbs","arthur_monteeiro","arthurziinsouza","artur.osantiago","aryenne_ferreira","arysoares10","augguerra","augusto.araujjo","auguustolima","avelin0bruno","aylamerencio","baahcristina","babinascimento_","barbaraaveiga","barbaracaroline_.15","barbaragabriela28","barbeariadiluna","barbeirodiogoleite","barros_nane","bcccintra","beaatrizarruda","becoluciana","bekinhafidelis","belaaugusto","bele.medeiros","belle_medeiros2","bellimelo","bellinhalopes","bergueroots","bernardesge","bethcarreiro","betoangotti","bhiafreitas","biabw_","biah.castro_","big.j.soares","biigodegrossoo","binhosemcrause","biroribeiro","boa06_","bonfimtm","boscomedeiro","brayan_barons","bruh_liins","bruhnaninhaa","bruiizidio","brunaaferrazz","brunaizidiopersonal","brunnohellcife","bruno.araujo.fisioterapeuta","bruno_leeeo","brunoaraujo9675","brunodarce","brunofreire.s","brunotrinn","brunovitorpires","btz_santiago","bush_tattoo","caabracurioso","caabradapestee","caabramacho","caanhotto","caarolribeirosilva","caio_ernandes95","caioamorim031","caioanf","camii.araujoo","camila.gueiros","camiladslima45","camilamilico","campeloisabelle","camspimentel","caprichei_feltros","carlosbffilho","carlosh1l","carlosmeira","caroldantas21","caroline_ardila","carolribeirofficial","casth__","caugusto.jr","cecihealthylife","celio.braganca.jr","cezarratis","cibele_freitas23","cintiasantana2641","claarissal","claudinholins","cleydsoncalled","cleyton.cardoso.50","coeelho93","corre.hemir","crisrdl","crystianleao","cunha.n.s","cwespinola","d1ogoluiz","danicardooso_","daniel_alima","daniell_moura_","daniellakuhn","daniellilemoos","daniellyregopersonal","danielmbraun","danielnicope","danilo.s0uza","danilo.svieira","danilo_cdias","daniloamedeiros","danilocuia","danmariiz","dannibarrooos","danyelacan","daschagas.leo","davee.manuel","davi_obliviate","david.januario","daviprolim","dayaneesilvaa_","dayanemenezes92","dayfbc","dayvison38","dayvson_l","dayvsonsantos_","dayzatavares","ddumarques","delianecavalcante","delly_maceedo","denicioribeiro","deniis_henrique","denis.oliveiraa","derciovinicius","deyvison_rafael_","di.mkt","dias_pablo14","diego.lira95","diegomatheusdiniz","diegoshogun","dihbrinks","dinhoafn","diogobads","diogocassimiro.s","diogolima_b","dioguin061","disouza_27","doiogoleal","donthiagobarber","doug.asilva","douglaasantos","douglas_oficicial","douglaslins_","douglaspencanha","drommar_","dryangela","eaee.manu","eden.coelho","edinelson_fr","eduardaagalvao_","eduardogoncvs","eduardovfo","edvaldo_.junior","eidannyferreira","elbadayane","elicabral72", "elienayflorencio","elliecarolb","eloisa_amorim","eltonlinconl","emerson.rodrigo","equalisaaa","erasmo_junioor","ericaln90","ericjf","ericmoraess","ericroots","erivan_ns","esdras.monteiro","esdras_domingos23","esdrascavalcs","eu_kessjones","evellyn_paty","everaldo.92","everaldorufino","evoathiago","ewers0n","ewerton_max","f.knust","f.matheus96","fabiobenevides","familia_de_rua","fatimabento98","fdo_luna","fecallou","felipe.gteixeira","felipe.tadewald","felipealbuquerquefts","felipeleandropessoa","ferdinandoshow","fern4nda.fs","fernandaamandahardman","fernandosardinha","ferreiralakers","ferreirataais","ffernanda_diass","filhinhavalentim","fillipeduart","fillipelopez","flaviis__","flavio.sf25","flaviotkd","flaviovansantos","fotografia.edencoelho","fqvinny","frederico.g.nascimento","fuelforliv","fylipnyo","g.filipe","g.salomao","gab1pesso4","gabbana_c","gabrie1silva","gabriel.vitor23","gabrielamouram","gabrieldaraujo_","gabrielgondim_","gabrielrocha9917","gabrielzanfa","geisapazian.nutri","geoge_232","george_marcone","geraldojrfigueiredo","gessicadislaynne","gihbernardes","gilvanvj","giovannabriano","gisele.carvalhoo","gisomarjr1994","giuseppe_fregapane","givacastiliano","glarkson","gleybinhogta","gomesgabriella","gomesjesica","goncalomsneto","gourmeto_","graziinh","guilherme.matheus.correa","guilherme_m_correa","guilhermehenriquew","guilhermelucass_","guilhermepenna","guimelo_96","gustavo_cardozo_araujo","gustavohmcaldas","gustavosbastos","gyzellegueiros","halyson.ribeiro","harlan.pierre","heitordearaujo","heloyzasstefanny","henriquedreyer","henriquee_gomes","henriquenet0","heve_rtonliima","hevertoonlima","heytaamy","hidane","hieduardaa","hranysouza_","icarolenon","ido.lima","ierddan","igordias.jpeg","igorjaless","igorlafaietee","igorpontesb","ijdelima","indialittlee","inegcecilia","isaac.bastos","isabelaferreira77","isabelleamancio","isagomeez15","isatisfatorios","itallocarvalho10","italocruz.edf","italomorais_13","itamaracapernambuco","ittalobarbalho","jairo_pessoa","jamarysantana","jamessonrodrigues6","jamillycarneirofisio","jamiphy","janinedanielly","janinny_pessoa","jardellvictor","jeancbbs","jeffbenicio","jeffersonlima_93","jehgonusii","jennyfermnq","jeronimo.nscto","jessica.alline","jeymessoncarias","jhonatan_francaa","jhonathanmonteiro13","jhonyprado","jhuniorferreira_","joanderson8456","joaokepler","joaomirandaz","joaopaulomedb","joaopeedro___","joaopspinheiro","joca_morais","johnattanasobrab","johnnberg","johnnypetteerson","johnromulo_","jonathannl2","jonathanpessoa27","jonnattas.delima","jonnyiuma","jose.hamiltondasilva.1","jose.samy.54","joseantoniosf84","joyce.thais","jpaulynho","jsparaiso","juandradec","jugallindo","julietemacedo","julio.l.amorim","julio_gk","junior.jive","junior26fernandes","junior_e.f.s","junioramancio53","juniorlvesskimboard","kaiosoutomaior","karenapullck","karinakellyk","karinesilviino","karinesilvino","karinesrabelo","karol_severo_","karollynyjessica","keilinha_ronielle","kellyd.monalisa","kellymedeiros.m","ketunymartins","kevinmuniz16","keziaafarias","khalil.pan","kikopontual","kkarolmonteiro","kkattianna","klebersonkl.lima","klebsonarts","kleubersou","kmilorenan","kskeila_sandy","kuro.miio","laara.medeiros","labibypinheiro","ladraosefudendo","lailson_santos_","laisfernanda_luna","lamartine_97","larifalcao_","larih.albuquerque","larijink","larissa.luciia_","larissa__liima","larissaevrs","lauralima_00","lauramendesjornalista","laymeson_do_pandeiro","leandro.laneves","leduararaujo","leeticia_amorim","leofarizeu","leokean","leomartorelli","leonanlewandowski","leonardo.ldiniz","leonartlima","leosalvador","lericardolima","leticia___nine","leticiajaninne","liimaheverton","liliansbastos","limajane40","lindembergvinicius","linedahora","livialocio","llaiscruuz","lory.salles","loryfreitas_","loveonthebrai.n","luaamcosta", "luanalima_96","luanferraz__","luanhenrique.edf","luanmarlonsantana","luanwallas1","lucaa.mendes","lucabeltrao","lucas.mick","lucas_damasceno_m","lucas_vitttorr","lucasgilbert","lucasleaotattoo","lucaslessapro","lucaslisboam","lucassalitos","lucianofernandesif","luiizzhsf","luizaaflima","luizfelipeslins","luizfelipess_","luizmpimenta","luizsantoscec","luna_mary654321","luuquinhasferreira","lyrowviva","maarlonfalcao","mafiosabe","maiconakiro","maliceteixeiraa","manamarcilia","manamoveispe","mands_siilva","mandynmakeup","marcelassbarros","marcelinoalvaro","marcellaapeixoto_","marcelo_arruda_","marcelopeixoto_s","marcialj29","marciarlima_","marciliosantosadv","marcioopaixao1980","marciopaixao20","marco_segundo","marcoslsantos12","marcossantiago4","mari.santiagofo","mari_andradih_","marial1ce","marialeticiacosta","marianamaralcampos","mariannealexandrino","mariarafaa","maricomber","mariiiguanaes","marilia.lf","mariliagabrielaamancio","marinaqueiroz1","marinho.francielly","marioabraga","marioeliaszinho","maritreez","marivaldo.silv","markos_bastos","marvininspaces","mateus.b.morais","mateus_damasceno","matheus_arts_777","matheus_da_rochaa","matiasnobletattoo","matiasribeiro.n","mayck_suillys","maygabiarruda","mayksrodrigues","mayllaness","mayy_andrade","medsonl","melicio_","mellosilverwind","messias313","metro.burguer","mfbmarcilio","micalandim","michaoliveira07","mikacavalcanti","milen_ah","milenaembirassu","milenamazonni_1","millycarneiro","milton_williamsx","mirarodrigues123","mirelibj","mirelli.freitas","mirreiz","mmila_souza","moabiamikaela","monicakely82","moniquearlete","moykerodrigues","mr_fael__","mrsaizen","mtsteuziin","mundodealice.m","murilo.smiranda","muriloh33","muriloneto.bat","naah.criis","naiaralima.nana","nairacarneiro1","nane.castro","nataly.coosta","natbarbachan","natinhasan","navas_gui","nayalegabriella","newmalima15","niltonsantiagopro","nilza.goncalves.334","noelyba","nutri_naianapassos","o_oguizinhor","oandersonrangel","oliveirajoao20","omariobros_","onnerb__","osmarjrpe","p3dro_borba","pablopdroza","paloma_barr0s","patriciocavalcantii","patrickrusso2","paula_ferreirs","paulao327","paularobertaconsultoria","paulasantanams","paulo.4.3","paulo.minze","paulorbeltrao","pbrunno","pedefoice","pedraogustavo","pedro__g0","pedroandrad3","pedrocouceirofilho","pedromendespersonal","peeh__silva","peetruz","peixoto_b","pereira_vitoriia","pereirowsk","phiappo","philipe2107","philiposo.ojuara","philliperocha7","pietra.michelle","plinioaustregesilo","pliniomeloo","pmoura.jpg","poliana.ps","pollianaaraujo019","pollysouza_13","preto.padrao","pri_moura","pridsouza","priscila_roberta19","psilvadidi","px.day","pydhio","queiroz.ti.unibratec","raafaaraamos","raafael_freitas","raayjl","rafaaelb7","rafael_bg","rafael_cabelinho_atleta","rafaelaborbamenezes","rafaelasouza1707","rafaellatargino","rafallima2104","rafapfernanda","rafy_nha1994","rai.__gercina","raianenascimeento","raimelorodrigues","ramacardoso","ramynemelo","raonybarbosa","raphaelario","rauana_carvalho","raul.braga","rauldiegodesousa","ray.ks","rayanagoncalves_","rayssafr","rbeatri","rcarollineoliveira","re_bekinha_santos","rebeccanobretattoo","rebekaolv","regi.jeronimo","rej_filmagens","renansantiago_","renata.valeria.9250","renata_lillia","renatajardimtattoo","renatakarllags","renatinhagabrielly","renatoaugusto07","rennan.mano","rfluizcosta","rherissongomes","rithhielly","robertavaljms","rodolfo.pacifico","rodolfoalexandreda","rodrigo0liveira__","rodrigo_silves","rodrigogarcia84","rodrigoh1997","rodrigomafraa","rogerio.rossiini","rogeriorossinipinheiro","ronin_posdigital","rosevieira794","rosi.silv4","rrafacavalcante","ruandanilooo","rubens_pinheiro_","runotattooer","sabrina_raissa","sabrinaaaa.lima","sammyle_","samuelclassicphysique","sanchez.39","sandnergaldino","sandrabvswp","sandromendesaraujo", "santnelle","santtos_monique","sarahflorenciio","sarathais9665","saulinhoaleixo","saulogodoy","selltoonn","senna.zn","sergiojrluiz","sergiojunior00_","service.tech01","sillasamazonas","silvana_yeshua","silvania_damasc","simonerecife.pe","simonesalesoficial","simoneses","smarivaldosilva","sousaronan","southamericamemes","souza_amanda14","srtahbetthy","stanislavcold","stanleydiias","stefan_costa2","studiorosianesouza","suelenarruda__","suhseedpersonal","sunonoticias","surteiatoa_","symonsantos13","t.i.a.g.o_silva","t_haisrafaela","ta_li_ssa","tahyaneamancio","tamiris_melo94","tarc_iis","tarciolimadj","tarcisiolima70","tata_goms","taticristinn_","taticristinna","tatyqueiroz23","tayenecarla","taynara_vittorino","tecnalex","thaiis.regiina","thainakerr","thaise.nandinha","thaiseduarda.s","thaiskananda","thalis.guilherme","thalysilva25","thalytaaaraujo","thamirismelo20","thamyresguerra","thatyotica","thays.almeida.79219","thezanfa","thiago.cmv","thiago.nigro","thiago_dienstmann","thiago_fgt","thiagoferreirassis","thiagogregorio","thiagoramon__","thiaguinhoraffa","thiiago01","thiiaguinhofernandes","thonyobara","tiago.m.tavares","tiago_santos890","tiagoopereeiraa","tinnabarreto","tm_angelini","tmelotavares","tyson_silva","vanny.goncalves","vantuirmuniz","verdao_hortfrut","vhfsouza","vicentezarga","victor.btorres","victorarrud4","victorfs2","victornik_","viniciusdercio","vinimoreirap","vitor_santos360","vitorbizzo","vitoriamarquees","vitoriavaleska","vrautom","wairanet","wan_pricila","wandasiqueira25","washington.jr","wendytoothfairy","willb_tattoo","willian_moraes_fotografia","willnickss","willwall_","winyesouza","wrllennia","xiiigente","yla_villar","yuriallan18" ]; Hi there! I'm trying use my script with this Array, i'm sucessfull with compile (F7), but, when I use the command Go (F5), i'm gettin this error: "C:\Users\ANDREFILIPE\Desktop\scripts-AUTO IT\scripts\script sorteio.au3" (11) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: Global $pessoas = ["__faabss","__gracedufonseca","_angelica_silva2",... Global $pessoas = ["__faabss",^ ERROR >Exit code: 1 Time: 0.09466 Thanks for the help!