Search found 339 matches

by Spawnova
15 Oct 2017, 23:46
Forum: Ask For Help
Topic: Help with code
Replies: 4
Views: 174

Re: Help with code

Make sure to post your code, hard to help when I don't know what's been changed =P
by Spawnova
15 Oct 2017, 19:57
Forum: Ask For Help
Topic: ImageSearch Large Image fail
Replies: 11
Views: 374

Re: ImageSearch Large Image fail

A variation of 255 would match anything so seems like something else is incorrect, check the errorlevel after the search, if it's 2 there was a problem, make sure your variables contain the expected values and the image since it has no path is assumed to be in your script directory.
by Spawnova
15 Oct 2017, 19:51
Forum: Gaming
Topic: Speed up PixelSearch?
Replies: 2
Views: 167

Re: Speed up PixelSearch?

Perhaps searching for pink may help, it looks like red line is overlapping on the white, so just doing a pixelsearch for a color such as 0xf97077 (grabbed from image provided) may yield better results. Since that shade of pink is only really shown when the red overlaps a bright white it should only ...
by Spawnova
15 Oct 2017, 19:39
Forum: Ask For Help
Topic: ImageSearch Large Image fail
Replies: 11
Views: 374

Re: ImageSearch Large Image fail

First off, it's impossible for us to know what's going wrong when you don't provide any code =P Secondly, make sure to read up on the ImageSearch docs, specifically about variation, sometimes pixels can be a few shades different, adding some variation to imagesearch will help. ImageSearch, FoundX, F...
by Spawnova
15 Oct 2017, 19:35
Forum: Ask For Help
Topic: Help with code
Replies: 4
Views: 174

Re: Help with code

Here's a simple way to do it with an array ; Correct code codes := [57881,57882,77777] ;create array with 3 entries, to add more codes you need only add them to this array ; Take user input. InputBox, uUsername, GENERATE A CODE ON THE WEBSITE, Please paste your code here:, , 220, 120 ; Basic logic. ...
by Spawnova
13 Oct 2017, 09:48
Forum: Ask For Help
Topic: How to Get the Absolute Mouse Coordinates At Mouse Click, and Again When Mouse Unclicks Topic is solved
Replies: 1
Views: 128

Re: How to Get the Absolute Mouse Coordinates At Mouse Click, and Again When Mouse Unclicks Topic is solved

Code: Select all

coordmode,mouse,screen ;mouse position relative to screen, not active window

~lbutton::
mousegetpos,x1,y1
return

~lbutton up::
mousegetpos,x2,y2
if (x1 != x2 and y1 != y2)
	tooltip % x1 ", " y1 "`n" x2 ", " y2
return
by Spawnova
12 Oct 2017, 06:27
Forum: Ask For Help
Topic: Variable pickup from global function - Error
Replies: 2
Views: 177

Re: Variable pickup from global function - Error

Also it looks like your function doesn't need to be global either, here's a quick example of global and its uses =P global variable1 := 100 ;this variable is now super global, it can be referenced in any function variable2 := 200 ;these are normal globals, they will not be recognized in a function u...
by Spawnova
07 Oct 2017, 03:00
Forum: Ask For Help
Topic: Scancodes in the form 0xFF, BIOS 0x7D
Replies: 3
Views: 195

Re: Scancodes in the form 0xFF, BIOS 0x7D

Code: Select all

var := "0xFF, BIOS 0x7D"
b := 125 ;0x7d is hex for 125
RegExMatch(var,"^(0x..).*(0x..)",hexMatch)
msgbox % hexMatch1 ", " hexMatch2
if (b == hexMatch2) ;if 125 == 0x7D
	msgbox % b " == " hexMatch2
exitapp
assuming your scan returns the same format that should work for you
by Spawnova
03 Oct 2017, 21:21
Forum: Ask For Help
Topic: Screen color on XY spot ( if statement )
Replies: 1
Views: 117

Re: Screen color on XY spot ( if statement )

The main command you will be interested in is PixelGetColor Here is an example. Coordmode,pixel,screen ;this makes PixelGetColor's X/Y parameter relative to the screen, not the active window f1:: ;a hotkey to execute the below code PixelGetColor,col,10,10,RGB ;get pixel at 10,10 in RedGreenBlue form...
by Spawnova
03 Oct 2017, 21:04
Forum: Gaming
Topic: Growtopia auto D key Topic is solved
Replies: 2
Views: 609

Re: Growtopia auto D key Topic is solved

Code: Select all

F3::
toggle := !toggle ;invert toggle state true>false>true>false etc
if (toggle) ;if true set a timer every 2 seconds
	settimer,farm,2000
else ;if not true, turn the timer off
	settimer,farm,off
return

farm:
send d ;every 2 seconds if the timer is on, press D
return
by Spawnova
03 Oct 2017, 20:56
Forum: Ask For Help
Topic: Please Help Me! GetKeyState and Objects Topic is solved
Replies: 2
Views: 120

Re: Please Help Me! GetKeyState and Objects Topic is solved

I think you are over complicating things with the arrays =P #NoEnv #SingleInstance force #MaxThreadsBuffer on SetWorkingDir %A_ScriptDir% option := 0 ;0 = option 1, 1 = option 2 tapNumber := 5 ;when option 2, moves the mouse down 5 times toggle := false return #IF (toggle) ;hotkey only works if togg...
by Spawnova
03 Oct 2017, 12:57
Forum: Ask For Help
Topic: Can I call X and Y coordinates from an array?
Replies: 4
Views: 251

Re: Can I call X and Y coordinates from an array?

Also if you want to add your x/y to the same array, you can define a multidimensional array like this coords := [[780,237], [890,237], [1019,237], [1139,237], [780,386], [890,386], [1019,386], [1139,386], [780,536] ,[890,536], [1019,536], [1139,536], [780,686], [890,686], [1019,686], [1139,686], [78...
by Spawnova
29 Sep 2017, 00:18
Forum: Ask For Help
Topic: Help with GetColor Please :)
Replies: 2
Views: 128

Re: Help with GetColor Please :)

coordmode,pixel,screen ;pixelsearch coordinates based off screen, not relative to current window coordmode,mouse,screen ;mouse coordinates based off screen, not relative to current window ;remove these if needed Loop { PixelSearch, ttX, ttY, 0, 0, A_ScreenWidth, A_ScreenHeight, 0x202c48,6, Fast, If...
by Spawnova
28 Sep 2017, 06:52
Forum: Ask For Help
Topic: Will 2 if condtions excute at the same time?
Replies: 2
Views: 211

Re: Will 2 if condtions excute at the same time?

They will not be ran at the same time, the first if statement will be ran, whether it's executing the If or Else, then it will move down to the second if statement and run that.
by Spawnova
26 Sep 2017, 06:49
Forum: Gaming
Topic: Holding 2 keys by holding 1
Replies: 2
Views: 197

Re: Holding 2 keys by holding 1

You got a reply in your previous thread - https://autohotkey.com/boards/viewtopic.php?f=5&t=37498 If you still need help, just reply to your current thread instead of making a new one =P As far as what egocarib posted in your other thread, if it does not work for you in game, you may want to look at...
by Spawnova
26 Sep 2017, 04:20
Forum: Ask For Help
Topic: Triple right-click and hold while CapsLock pressed? Topic is solved
Replies: 3
Views: 240

Re: Triple right-click and hold while CapsLock pressed? Topic is solved

Code: Select all

setmousedelay,80 ;smaller = faster clicks

capslock:: ;capslock = hotkey
click,right ;click right
click,right
click,right,down ;click right down
keywait,capslock ;wait for capslock to be released
click,right,up ;click right up to release
return
by Spawnova
25 Sep 2017, 19:27
Forum: Ask For Help
Topic: How to make '@@' (@ doubletap) a shortcut to insert e-mail?
Replies: 3
Views: 230

Re: How to make '@@' (@ doubletap) a shortcut to insert e-mail?

This should work for ya, keeps original functionality of @ but double tapping send your email. tapDelay := 450 ;time between taps to activate script, lower = must press faster email := "example@example.com" ~@:: if (lastTap > a_tickcount) { ;if the time since last press is smaller than delay, activa...
by Spawnova
25 Sep 2017, 02:41
Forum: Ask For Help
Topic: HELP WITH PIXELSEARCH PLEASE
Replies: 2
Views: 213

Re: HELP WITH PIXELSEARCH PLEASE

All caps title is not needed, people will help if they can =P As for your script it is only checking the very last pixelsearch since you do not check errorLevel on most of them. Check out the pixelsearch docs here PixelSearch it explains how the command works and the parameters it looks like all you...
by Spawnova
25 Sep 2017, 02:28
Forum: Gaming
Topic: eaasy hotkey script please help
Replies: 14
Views: 681

Re: eaasy hotkey script please help

when i push e with shift and w in game, it do nt work,only when it pushed alone without return it also work. You will need to add a wildcard to your hotkey, so that it ignores other modifiers *n:: ;hotkey, in this case n, * allows hotkey to work regardless of control/shift/alt being held down send ...
by Spawnova
24 Sep 2017, 20:11
Forum: Ask For Help
Topic: help with gui Topic is solved
Replies: 5
Views: 246

Re: help with gui Topic is solved

The reason that happens is because you have no returns on your labels, so the code keeps going down until it reaches a return, once it leaves label3 it goes right into label4, which creates gui 2 adding a return after those labels will fix that issue, however there are several other small issues as ...

Go to advanced search