Search found 70 matches

by Spark
24 May 2018, 21:14
Forum: Ask For Help
Topic: Click Action on GUI Topic is solved
Replies: 7
Views: 957

Click Action on GUI Topic is solved

Hello.. is there a way to make every click command on a GUI? Left click working, but how about Right Click and Middle click?? thanks in advance. Z1 = C:\Program Files\AutoHotkey\AutoHotkey.exe Z2 = C:\Program Files\AutoHotkey\AU3_Spy.exe Gui, 8:Add, Picture, x5 y5 w50 h50 gPic1, %Z1% Gui, 8:Add, Pic...
by Spark
05 Mar 2018, 22:20
Forum: Gaming
Topic: image search problem
Replies: 1
Views: 376

Re: image search problem

Hi, based on your script, try `:: loop { ImageSearch, foundX, foundY, 0, 0, %A_ScreenWidth%, %A_ScreenHeight%, C:\Users\Floq\Desktop\4.png If ErrorLevel = 0 { ToolTip, Image 1 Found, 10, 10, 2 Click, %foundX%, %foundY% Sleep, 150 Send, q } if ErrorLevel { ImageSearch, aX, aY, 0, 0, %A_ScreenWidth%, ...
by Spark
01 Mar 2018, 22:19
Forum: Gaming
Topic: Healing script
Replies: 56
Views: 4636

Re: Healing script

The names Key and Value can be anything you want to call it. ie: for myPlayerNames, myKeyboardKeys in Object myPlayerNames is the key myKeyboardKeys is the value Expression is an object in this case Look in the Docs for more examples to show how to use it maybe I should read it over and over again ...
by Spark
01 Mar 2018, 06:33
Forum: Gaming
Topic: Healing script
Replies: 56
Views: 4636

Re: Healing script

yes you can..
Hint : Nested IF's
something like this :

Code: Select all

if (a = "true") {
	if { b = "true"} {
		if ( c = "true") {
			if (d = "True") {
			; Do Something ! ! !
			}
		}
	}
}
ErrorLevel docs https://autohotkey.com/docs/misc/ErrorLevel.htm
good luck
by Spark
28 Feb 2018, 21:20
Forum: Gaming
Topic: Healing script
Replies: 56
Views: 4636

Re: Healing script

;NOTE: change as needed (Looks like you have instant_heal and quick_heal with the same keypresses) My bad, typos :oops: Just messing around, based on your script. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecti...
by Spark
28 Feb 2018, 08:56
Forum: Gaming
Topic: Healing script
Replies: 56
Views: 4636

Re: Healing script

Take a look at PixelSearch. Example: PixelGetColor, Krenn1, 1177, 542, RGB if (Krenn1 = 0xC26F93) MsgBox Color Found! Do something Could be changed to this to get 5 variations of color for the pixel you want to check: PixelSearch,,, 1177, 542, 1178, 543, 0xC26F93, 5, RGB if (ErrorLevel = 0) MsgBox ...
by Spark
27 Feb 2018, 22:17
Forum: Gaming
Topic: Healing script
Replies: 56
Views: 4636

Re: Healing script

Maybe the pixel color not same, to be honest I don't know how to make the shades of pixel color variations (I'm beginner too :oops: ) let's try to check again: I need help from you 1. make all HP bar 100% and try running this script (Ctrl s), and post the result 2. make all HP bar below 70% and try ...
by Spark
27 Feb 2018, 11:09
Forum: Gaming
Topic: Healing script
Replies: 56
Views: 4636

Re: Healing script

...except how it determine which heal to send as to me it looks like it sends 1,2,3,4 at THE same time? Yes, but it will send 1 of 4 buttons due to delay skills (tricky part) I don't really know about array, but i'll try according to the documentation about StringSplit posX = 1208,923,1065,779,637,...
by Spark
27 Feb 2018, 04:42
Forum: Gaming
Topic: Healing script
Replies: 56
Views: 4636

Re: Healing script

What's HP75v1 and HP75v2? I'm assuming v1 and v2 is named so because of the different color codes? Krenn & Dreyel uses the same, while K,i,D uses the same? v1 and v2 is just used to separate them? HP75v1 = 0xAE6485 ; Krenn-Dreyet HP75v2 = 0xAE6484 ; Kostus-Ilia-Danicus Yes, based on Your Screenshot...
by Spark
27 Feb 2018, 03:53
Forum: Gaming
Topic: Healing script
Replies: 56
Views: 4636

Re: Healing script

assume "heal" is in button 1,2,3,4 #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDi...
by Spark
27 Feb 2018, 03:21
Forum: Gaming
Topic: Healing script
Replies: 56
Views: 4636

Re: Healing script

How does your healing work?
Single Heal or Mass Heal?

usually if single heal = Press "Heal" Button, move cursor to HP bar, and then click
OR
Mass heal = Press the "Heal" Button, and all characters heal
by Spark
26 Feb 2018, 17:45
Forum: Ask For Help
Topic: Detect if 3 Times a row Topic is solved
Replies: 8
Views: 914

Re: Detect if 3 Times a row Topic is solved

thank you so much :clap:
by Spark
26 Feb 2018, 07:29
Forum: Ask For Help
Topic: Detect if 3 Times a row Topic is solved
Replies: 8
Views: 914

Re: Detect if 3 Times a row Topic is solved

@garry and @BoBo Thanks for the response, maybe this (?) ;-------- https://autohotkey.com/boards/viewtopic.php?f=5&t=44788 --- #persistent i1=0 i2=0 i3=0 ;`:: Loop, { Random, Output, 1, 9 if Output between 1 and 3 { i1++ x1=Side-A e1 .= output . "`n" msgbox, 262208,%x1% ,var=%output% `, %x1%,1 if i1...
by Spark
25 Feb 2018, 23:22
Forum: Ask For Help
Topic: Detect if 3 Times a row Topic is solved
Replies: 8
Views: 914

Re: Detect if 3 Times a row Topic is solved

Like this ? `:: Loop, { Random, Output, 1, 9 if Output between 1 and 3 { Side = A } else if Output between 4 and 6 { Side = B } else { Side = C ToolTip, Value = %Output%`n Side = %Side%, 50, 50, 2 Msgbox, Done Sleep, 1000 Continue ; in this case restart } } return ^r::Reload ^x::ExitApp sorry for m...
by Spark
25 Feb 2018, 21:09
Forum: Ask For Help
Topic: Detect if 3 Times a row Topic is solved
Replies: 8
Views: 914

Detect if 3 Times a row Topic is solved

Hello all, I just want to make a simple script where if "Side" 3 times in a row it will come out msgbox and back to the loop again but i'm still confused how to make it.. thanks in advance `:: Loop, { Random, Output, 1, 9 if Output between 1 and 3 Side = A else if Output between 4 and 6 Side = B els...
by Spark
21 Feb 2018, 02:11
Forum: Gaming
Topic: Help with sound (simple noob script)
Replies: 1
Views: 343

Re: Help with sound (simple noob script)

Hi.. try this : x:: Suspend, permit if (State = 0) ; Checks the current state of variable "State". And if it is False (zero)... { SoundPlay *48 ; Plays a system sound... State++ ; And changes the value of variable "State" to True (one) } Else ; Otherwise... { State := 0 ; Sets the value of State var...
by Spark
07 Feb 2018, 21:53
Forum: Gaming
Topic: 1 key, multiple functions, base on number of times pressed.
Replies: 2
Views: 443

Re: 1 key, multiple functions, base on number of times pressed.

hi,
i'm not sure what do you want,

try this

Code: Select all

list=a,b,c,d,e ; the list of keys and combos. comma separated.
stringsplit, list, list,`,
Counter = 0

o::                                ; press o to cycle through
  Counter := (Counter=list0) ? (1) : (Counter+1)
  send % list%counter%
return
by Spark
25 Jan 2018, 23:33
Forum: Ask For Help
Topic: If condition with several ORs
Replies: 4
Views: 649

Re: If condition with several ORs

Hi Scr1pter: Please try ^F12:: XL := ComObjActive("Excel.Application") value1 := XL.ActiveCell.Offset(0,0).text ; copy value from current active cell value2 := XL.ActiveCell.Offset(0,1).text ; copy value from current active cell + 1 row cell value3 := XL.ActiveCell.Offset(0,2).text value4 := XL.Acti...
by Spark
22 Jan 2018, 20:50
Forum: Gaming
Topic: Ctrl macro spam help ;c
Replies: 4
Views: 575

Re: Ctrl macro spam help ;c

by Spark
21 Jan 2018, 21:56
Forum: Ask For Help
Topic: ahk read .txt or .doc file from google drive Topic is solved
Replies: 9
Views: 1755

Re: ahk read .txt or .doc file from google drive Topic is solved

@theimmersion : BaseGoogleDriveLink=https://drive.google.com/uc?export=download&confirm=no_antivirus&id= VersionLink=%BaseGoogleDriveLink%*The ID of the .txt file* ReleaseDate=%BaseGoogleDriveLink%*Some other .txt file* BaseDropBoxLink=https://www.dropbox.com/s/XXXXXXXXXXX/AppVer.txt?dl=1 StringRepl...

Go to advanced search