Search found 339 matches

by Spawnova
24 Sep 2017, 15:52
Forum: Gaming
Topic: Improving a Gaming Script
Replies: 2
Views: 163

Re: Improving a Gaming Script

Generally, I will take a PrintScreen, then open it up in paint, using window spy you can see the hex colors. from there you will want to use PixelSearch . There is an example at the bottom of that link. keep in mind pixelsearch assumes BGR color format. unless RGB is specified PixelSearch, outputX, ...
by Spawnova
24 Sep 2017, 15:08
Forum: Ask For Help
Topic: Need a simple scirpt
Replies: 2
Views: 89

Re: Need a simple scirpt

Code: [Select all]GeSHi © Codebox Plus

setmousedelay,60  ;decrease these numbers if it is not quick enough
setkeydelay,60 ;if they are too small though, the game may not recognize the action

xbutton1:: ;mouse button 4 hotkey
send 3
click
click
return
by Spawnova
24 Sep 2017, 15:01
Forum: Ask For Help
Topic: help with gui Topic is solved
Replies: 5
Views: 162

Re: help with gui Topic is solved

To destroy gui 2, Gui 2:Destroy
Call that in your button press label.

If you still need help please post your code, it makes it much easier for us.
by Spawnova
24 Sep 2017, 14:54
Forum: Ask For Help
Topic: Reading letters and numbers
Replies: 3
Views: 118

Re: Reading letters and numbers

Only the words, numbers are automatically set, the length of numbers is determined by minNumbers and maxNumbers variable. if you need a very large list of words, it may be easier to save them to a .txt file and read them from ahk. example: global words := [] global minNumbers := 3 ;numbers must be a...
by Spawnova
24 Sep 2017, 05:20
Forum: Gaming
Topic: eaasy hotkey script please help
Replies: 14
Views: 453

Re: eaasy hotkey script please help

Code: [Select all]GeSHi © Codebox Plus

n:: ;hotkey, in this case n
send {space}e ;send characters, note, only special keys must be enclosed in braces
return ;return script to idle

f8::exitapp ;press f8 to close program

;save as SCRIPTNAME.ahk, then run to start script
by Spawnova
23 Sep 2017, 21:20
Forum: Ask For Help
Topic: Reading letters and numbers
Replies: 3
Views: 118

Re: Reading letters and numbers

You want to create your own codes? if so this should get you started global words := ["red","blue","green","one","two","three"] global minNumbers := 4 global maxNumbers := 4 iniread,currentCode,coupon.ini,code,current,0 ;current code is sto...
by Spawnova
18 Sep 2017, 02:23
Forum: Ask For Help
Topic: Combining variables and when to use %
Replies: 17
Views: 727

Re: Combining variables and when to use %

Generally normal functions never need percents functionName(param1,param2) , it's a bit different with built in ahk functions that use comma to separate parameters, some do need percent signs some don't, however a lot of them do work without percent signs including MouseMove. f2:: loop 25 { ...
by Spawnova
17 Sep 2017, 00:08
Forum: Gaming
Topic: warframe spin attack maneuver
Replies: 1
Views: 1776

Re: warframe spin attack maneuver

You don't need brackets for hotkeys

Code: [Select all]GeSHi © Codebox Plus

LAlt::
Send, {q down}
Sleep, 100
Send, {e down}
sleep 100
send {e up}
Sleep, 350
Send, {q up}
Return


Try and mess with the sleep times, increasing or decreasing until it's reliable and fast.
by Spawnova
16 Sep 2017, 07:44
Forum: Ask For Help
Topic: Script press space then f Topic is solved
Replies: 1
Views: 64

Re: Script press space then f Topic is solved

Code: [Select all]GeSHi © Codebox Plus

f1:: ;hotkey
send {space} ;special keypresses enclosed in brackets
sleep 450 ;450 ms
send f
return
by Spawnova
16 Sep 2017, 04:19
Forum: Gaming
Topic: Autojump script Topic is solved
Replies: 2
Views: 144

Re: Autojump script Topic is solved

this may help $Space:: state := 0 while(GetKeyState("space","P")) { ;while physically holding space, send auto jumps state := !state ;invert state variable 0>1>0>1 etc if (state) send, {Space down} else send, {Space up} sleep 50 ;may need to lower/raise this number } return
by Spawnova
16 Sep 2017, 04:13
Forum: Ask For Help
Topic: Simple script
Replies: 1
Views: 111

Re: Simple script

xbutton2:: ;generally the webpage forward side button, xbutton1 is backward while(GetKeyState("xbutton2","P")) { ;while xbutton2 is physically held down, loop click sleep 250 ;250 ms = 1/4th a second } return ;if xbutton2 is let go, the script breaks the while loop and returns t...
by Spawnova
16 Sep 2017, 04:07
Forum: Ask For Help
Topic: What make this Code?
Replies: 6
Views: 248

Re: What make this Code?

MouseGetPos, MouseX, MouseY ;get mouse x/y PixelGetColor, Color1, (MouseX+2), (MouseY+2) ;get pixel color from mouse positions ;Pixelgetcolor returns lets say; 0xBDA998 StringSplit, Colorz, Color1 ;creates 8 variables each containing 1 char from the color string ;variables 1 and 2 are 0 and x, so t...
by Spawnova
19 Aug 2017, 12:01
Forum: Gaming
Topic: Script for specific window only
Replies: 3
Views: 159

Re: Script for specific window only

Hello again, you are looking for ControlSend and ControlClick an example: f1:: ControlSend,,123, ahk_exe calc.exe ;using the exe name, can find in task manager ControlSend,,456, Calculator ;or using the Title name, exact match, can use SetTitleMatchMode for other matching options sleep 1000 ControlC...
by Spawnova
18 Aug 2017, 10:57
Forum: Ask For Help
Topic: Listbox to Listbox item transfer? Topic is solved
Replies: 2
Views: 91

Re: Listbox to Listbox item transfer? Topic is solved

I'm not sure what you meant by numbering so you may need to tweak it a little list1 := ["item1","item2","item3","item9999"] list2 := [] Gui,Add,Listbox,x5 y5 w150 h250 vlb1 gaddItem, % arrayToString(list1,1) Gui,Add,Listbox,x170 y5 w150 h250 vlb2, % arrayToStr...
by Spawnova
18 Aug 2017, 08:59
Forum: Gaming
Topic: Multiple Push to Talk Keys ~ With Delays & Noises?
Replies: 2
Views: 113

Re: Multiple Push to Talk Keys ~ With Delays & Noises?

SoundSet does not work for my microphone, so I cannot test, but this script should work if compatible. supportsMicrohpone := SetMute(1) ;when script starts mute microphone msgbox % supportsMicrohpone ;check if microphone is supported k:: SoundGet, muteToggle, Microphone, volume ;get mute state ON/OF...
by Spawnova
18 Aug 2017, 08:40
Forum: Gaming
Topic: Script for specific window only
Replies: 3
Views: 159

Re: Script for specific window only

It's hard to help when we have no idea what it is that your script is doing =P

you may want to look at ControlSend

If you still need help please post your code or explain more thoroughly.
by Spawnova
18 Aug 2017, 08:38
Forum: Ask For Help
Topic: Dissable right/left mouse click in function
Replies: 4
Views: 149

Re: Dissable right/left mouse click in function

here's one way to do it global blockButtons := false #IF blockButtons ;if blockButtons == true lbutton:: rbutton:: return #IF ;reset hotkey condition, all hotkeys below will always function ~LCtrl & LButton:: if(...){ name(x,y) } Return name(x,y){ ... if(name != ""){ blockButtons := tr...
by Spawnova
17 Aug 2017, 18:59
Forum: Ask For Help
Topic: edit box number increment
Replies: 1
Views: 70

Re: edit box number increment

I had a difficult time understanding. You want the number in the first editbox to increase by 1 when you press OK, and keep the window visible? #SingleInstance force #Persistent ; Keep this sample script running until the user selects Exit. ; EXAMPLE #2: This is a working script that creates a popup...
by Spawnova
16 Aug 2017, 10:54
Forum: Ask For Help
Topic: I Need Good AutoHotKey Documentation
Replies: 4
Views: 140

Re: I Need Good AutoHotKey Documentation

The third link he listed shows a list of hotkey modifiers
by Spawnova
16 Aug 2017, 06:05
Forum: Gaming
Topic: ambitious bot for Heroes of the Storm (HotS)
Replies: 6
Views: 838

Re: ambitious bot for Heroes of the Storm (HotS)

This is something that will be extremely difficult to implement with Image/Pixel searching, especially navigating the map, not even mentioning all the objectives in HoTS. The best way would be to use memory reading, but that requires a lot of knowledge about game structures and how to find them in t...

Go to advanced search