Search found 58 matches

by Nauany
15 Jul 2020, 11:23
Forum: Ajuda e Suporte Geral
Topic: Bindar uma tecla
Replies: 2
Views: 1765

Bindar uma tecla

Boa tarde galera, comprei um teclado que tem algumas teclas em cima do num lock.. uma para aumentar volume, outra para abaixar, outra para mutar, e uma que abre email.. elas vieram com essas funções, e o teclado não possui driver para eu desativa-las. Bom resumindo, gostei muito das teclas, e queria...
by Nauany
08 May 2020, 22:04
Forum: Ask for Help (v1)
Topic: PixelGet Color? Topic is solved
Replies: 23
Views: 2173

Re: PixelGet Color? Topic is solved

YES YES YES YESSSSSSSS
now it worked!!!!
really thx man!!

I know how boring it was to put up with me all day, there giving tips
but thank you very much
by Nauany
08 May 2020, 21:53
Forum: Ask for Help (v1)
Topic: PixelGet Color? Topic is solved
Replies: 23
Views: 2173

Re: PixelGet Color? Topic is solved

even with the same color, he was doing nothing ..

so I decided to change here:

Code: Select all

	PixelGetColor, colorhp01,   %Heal_1%, %Heal_2%, RGB ; i put "RGB"...
now he are using when every time

and to change the color is not the same, what i need change?
by Nauany
08 May 2020, 21:39
Forum: Ask for Help (v1)
Topic: PixelGet Color? Topic is solved
Replies: 23
Views: 2173

Re: PixelGet Color? Topic is solved

when he compare colors, and they are different,
he sends the variablel01...
by Nauany
08 May 2020, 21:27
Forum: Ask for Help (v1)
Topic: PixelGet Color? Topic is solved
Replies: 23
Views: 2173

Re: PixelGet Color? Topic is solved

when I open it to see what it’s doing look: "048: PixelGetColor,colorhp01,%Heal_1%,%Heal_2% 050: if ColorRGBCompare(Heal_3, colorhp01, 100) 077: col1 := RGBfromColor(col1) 085: Return,{r: (0xFF0000 & color) >>16, g: (0xFF00 & color) >> 8, b: 0xFF & color} 078: col2 := RGBfromColor(col2) 085: Return,...
by Nauany
08 May 2020, 21:00
Forum: Ask for Help (v1)
Topic: PixelGet Color? Topic is solved
Replies: 23
Views: 2173

Re: PixelGet Color? Topic is solved

hun, i understand what you change above,
but when i compile and turn on the script, nothing happens
I think he is not checking

"ColorRGBCompare(Heal_3, colorhp01, 10)"

here maybe? or maybe he checking one time and, finish?

would you have any idea why?
by Nauany
08 May 2020, 19:30
Forum: Ask for Help (v1)
Topic: PixelGet Color? Topic is solved
Replies: 23
Views: 2173

Re: PixelGet Color? Topic is solved

i change back here "return {r: (0xFF0000 & color) >>16, g: (0xFF00 & color) >> 8, b: 0xFF & color}" but i had changed because when i get pixel in "true red color" he sent me like a blue in msgbox i was using "#if" because I thought that to run the checkbox it was necessary Gui Add, Checkbox, x170 y4...
by Nauany
08 May 2020, 16:21
Forum: Ask for Help (v1)
Topic: PixelGet Color? Topic is solved
Replies: 23
Views: 2173

Re: PixelGet Color? Topic is solved

i was using your colorhp01 := 0xA04AB9 Heal_3 := 0xA648BB if ColorRGBCompare(colorhp01, Heal_3, 10) MsgBox, Components are within 10 shades of each other return ColorRGBCompare(col1, col2, tol) { col1 := RGBfromColor(col1) col2 := RGBfromColor(col2) return (Abs(col1.r - col2.r) <= tol) && (Abs(col1....
by Nauany
08 May 2020, 14:22
Forum: Ask for Help (v1)
Topic: PixelGet Color? Topic is solved
Replies: 23
Views: 2173

Re: PixelGet Color? Topic is solved

how i can explain for you? look, my life in game is red, when i lose an amount, change color to gray... but this life bar is a little bit transparent, and the variations that I found at the bottom is small like as i said... "Red 16~20 every time, green 17~20 too, and blue i saw 150~230... when chang...
by Nauany
08 May 2020, 09:52
Forum: Ask for Help (v1)
Topic: PixelGet Color? Topic is solved
Replies: 23
Views: 2173

Re: PixelGet Color? Topic is solved

even with the blue varying 150~230
I can do it when are "gray" he send

Code: Select all

		Send {%variablel01%}
		Sleep, rand		
		return 		
and when are "Red" only keep checking...

because "10 shades of each other" how you said, blue are with (230-150) 80 shades? i dont know if is this
by Nauany
08 May 2020, 09:24
Forum: Ask for Help (v1)
Topic: PixelGet Color? Topic is solved
Replies: 23
Views: 2173

Re: PixelGet Color? Topic is solved

Nice, i saw my colors, Red 16~20 every time, green 17~20 too, and blue i saw 150~230...
when change to gray R = 65~69 G = 65~69 B = 65~69

but how i can use this to compare the first color with in moment?
by Nauany
08 May 2020, 08:40
Forum: Ask for Help (v1)
Topic: PixelGet Color? Topic is solved
Replies: 23
Views: 2173

Re: PixelGet Color? Topic is solved

yes i want use this "R,G,B" but i dont know how i can use correctly..
i saw in "window spy" my red "B~" and the second digit changes a little bit while G and B have constant small changes
can help me?
i am not very good with autohotkey and need help =/
by Nauany
08 May 2020, 08:10
Forum: Ajuda e Suporte Geral
Topic: Sobre GetColor
Replies: 11
Views: 1898

Re: Sobre GetColor

Bom dia, hoje estava testando para ver exatamente as cores que mudam, abri o window spy e fiquei observando..
o Red se mantem sempre com um "B*" o segundo digito muda um pouco, enquanto o Green e o Blue ficam em constante mudanças..
by Nauany
07 May 2020, 10:19
Forum: Ajuda e Suporte Geral
Topic: Sobre GetColor
Replies: 11
Views: 1898

Re: Sobre GetColor

eu tentei coloca-lo no fim porém estava dando erro que o return tinha um valor, e ao tirar o valor do return dava um erro que o else n estava correspondendo ao if
e eu n sei se a forma que eu fiz para checar se o primeiro pixel era de cor diferente do ultimo estava correta...
by Nauany
06 May 2020, 13:42
Forum: Ask for Help (v1)
Topic: PixelGet Color? Topic is solved
Replies: 23
Views: 2173

PixelGet Color? Topic is solved

Hello everyone. I have a problem with something, maybe simple but I don't know how to solve it ... I have a script that I need to do a "check" of color, red or gray, however these shades are not always the pixels in the perfect color .. there is a small variation in these colors ... from a slightly ...
by Nauany
06 May 2020, 12:49
Forum: Ajuda e Suporte Geral
Topic: Sobre GetColor
Replies: 11
Views: 1898

Re: Sobre GetColor

Comentando aqui só pra agradecer ao Gio pelas explicações. Sua gentileza me fez aprender muito. Obrigado! me fizeram aprender muito também, inclusive sou grato por todas as ajudas que ele ja me deu aqui no forum, todas as vezes que peço alguma ajuda ele passa exemplos de outras coisas para eu me vi...
by Nauany
06 May 2020, 10:55
Forum: Ajuda e Suporte Geral
Topic: Sobre GetColor
Replies: 11
Views: 1898

Re: Sobre GetColor

certo, mas a questão é que eu n sei se usei o que vc me passou sobre pegar cores corretamente, queria ajuda para arrumar o script ali apenas, e não para entender como funciona uma função ou uma chamada... infelizmente n sou pró na linguagem do auto hotkey por isso venho aqui pedir ajudas, e se for p...
by Nauany
06 May 2020, 07:29
Forum: Ajuda e Suporte Geral
Topic: Sobre GetColor
Replies: 11
Views: 1898

Re: Sobre GetColor

Bom dia, estou testando aqui queria ver onde eu cheguei se vc poderia me ajudar... e eu a colocaria testando no lugar da diferença que eu havia feito? "if (Heal_3 != colorhp01) " seria algo mais ou menos assim? Curagrande: #if (EGSon) { PixelGetColor, colorhp01, %Heal_1%, %Heal_2% Testecor(colorhp01...
by Nauany
05 May 2020, 11:30
Forum: Ajuda e Suporte Geral
Topic: Sobre GetColor
Replies: 11
Views: 1898

Re: Sobre GetColor

então eu teria que fazer varios testes para cores diferentes? vou mostrar a ideia de meu código: Curagrande: #if (EGSon) { PixelGetColor, colorhp01, %Heal_1%, %Heal_2% if (Heal_3 != colorhp01) { #MaxThreadsPerHotkey 5 Send {%variablel01%} Sleep, rand return } } #if Return assim seria uma simples açã...
by Nauany
05 May 2020, 09:36
Forum: Ajuda e Suporte Geral
Topic: Ajuda por favor Topic is solved
Replies: 7
Views: 1366

Re: Ajuda por favor Topic is solved

Certinho perdão por n responder antes, hoje que vi a sua resposta. normalmente deixo todos meus códigos indentados para facilitar visualização (se eu n os deixar assim fico louco, talvez seja toque kkkkk) vou testar tirar essas linhas e ver o que consigo fazer, ja estava meio que aceitando ter que d...

Go to advanced search