Search found 143 matches

by Qysh
26 Jul 2018, 14:33
Forum: Ask For Help
Topic: Code for function
Replies: 2
Views: 317

Re: Code for function

F9::Visor(5) F10:: ExitApp FormatarTempo(segundos) { tempoFormat = 20000101 tempoFormat += %segundos%, Seconds FormatTime, mmss, %tempoFormat%, mm:ss return mmss } Visor(tempo) { Gui, janela: +AlwaysOnTop -SysMenu Gui, janela:Font, s20 bold, Arial Gui, janela:Add, Text, Center w90 h30 vTX, % Format...
by Qysh
21 Jul 2018, 17:14
Forum: Ask For Help
Topic: Very basic autoclclicker with random delay. Topic is solved
Replies: 1
Views: 201

Re: Very basic autoclclicker with random delay. Topic is solved

Code: Select all

F8::
Toggle := !Toggle 
While Toggle{ 
Click 
Random, rand, 1000, 4000 ; ms
sleep %rand%
}
return

f2:: pause
by Qysh
18 Jul 2018, 09:40
Forum: Gaming
Topic: Trying to open a LOT of crates in Injustice... Topic is solved
Replies: 1
Views: 307

Re: Trying to open a LOT of crates in Injustice... Topic is solved

#Persistent #z:: if (isDisabled == 1) { isDisabled = 0 SetTimer, KeyPresser, Off } else { isDisabled = 1 SetTimer, KeyPresser, 500 } Return KeyPresser: if (WinActive("ahk_class LaunchUnrealUWindowsClient")) { Send, {a down} Sleep 20 Send, {a up} } Return #Persistent SetTimer, KeyPresser, 500 Return...
by Qysh
18 Jul 2018, 08:05
Forum: Ask For Help
Topic: Looking for a Guild wars 2 (stealth) - Countdown Scipt
Replies: 1
Views: 220

Re: Looking for a Guild wars 2 (stealth) - Countdown Scipt

currentSecs := 20 ;"floating string" StringTrimLeft, background_color, background_color, 2 Gui, 99:destroy Gui, 99: -Caption +E0x80000 +LastFound +OwnDialogs +Owner +AlwaysOnTop +E0x20 Gui, 99:Color, c888888 Gui, 99:Font, s16 q1 c0xffffff, Arial gui, 99:margin,, 0 gui, 99:add, text, vtimer_text, 10...
by Qysh
17 Jul 2018, 07:00
Forum: Ask For Help
Topic: need help with my code Topic is solved
Replies: 1
Views: 231

Re: need help with my code Topic is solved

Code: Select all

CapsLock::
loop
{
      while GetKeyState("LShift","P"){
	 Sleep, 50
			}
	
      send, {b DOWN}
      sleep, 50
      send, {b UP}
  
}
return
by Qysh
16 Jul 2018, 05:31
Forum: Ask For Help
Topic: capture time (in ms) between pixel changes of color
Replies: 3
Views: 282

Re: capture time (in ms) between pixel changes of color

replace "pixelColorChanged" with your color change check

Code: Select all

lastTick := A_TickCount
;your Code
if(pixelColorChanged)
{	
	ticksPassed := A_TickCount - lastTick
	lastTick := A_TickCount
	MsgBox, % ticksPassed
}
by Qysh
16 Jul 2018, 05:15
Forum: Ask For Help
Topic: Move Enter key to NumpadMult Topic is solved
Replies: 3
Views: 336

Re: Move Enter key to NumpadMult Topic is solved

Code: Select all

*NumpadMult::Enter
by Qysh
15 Jul 2018, 11:17
Forum: Ask For Help
Topic: SoundBeep after GUI moving?
Replies: 4
Views: 567

Re: SoundBeep after GUI moving?

Maybe Something like this

Code: Select all

Gui, Add, MonthCal, x2 y9 w360 h310 , 
Gui, Show, w365 h320, MyGui
return

~$*LButton::
WinGetPos, guiXold, guiYold,,, MyGui
return

~$*LButton Up::
WinGetPos, guiX, guiY,,, MyGui
if(guiXold != guiX or guiYold != guiY)
	SoundBeep, 500, 500
return
by Qysh
14 Jul 2018, 18:13
Forum: Ask For Help
Topic: HELP ME TO EDIT THIS SCRIPT PLEASE
Replies: 3
Views: 348

Re: HELP ME TO EDIT THIS SCRIPT PLEASE

you realy all a very good persons.
Big thanks for no any reply or help.:)
be honest would you click on a post that is called "HELP ME TO EDIT THIS SCRIPT PLEASE"?
by Qysh
14 Jul 2018, 18:09
Forum: Ask For Help
Topic: New to AHK and stuck Topic is solved
Replies: 6
Views: 498

Re: New to AHK and stuck Topic is solved

F7 to toggle the "c" hotkey

Code: Select all

F7::Toggle := !Toggle
#if Toggle
C::MsgBox, hi!
by Qysh
14 Jul 2018, 11:49
Forum: Ask For Help
Topic: : Fix script to pause macro when mouse bottom is pressed
Replies: 3
Views: 346

Re: : Fix script to pause macro when mouse bottom is pressed

Code: Select all

o:: 
Loop
{ 
	if(GetKeyState("LButton", "p") or GetKeyState("MButton", "p") or GetKeyState("RButton", "p"))
	{
		Sleep, 50
		continue
	}
	Send W 
	Sleep 400 
} 

p::exitapp
by Qysh
14 Jul 2018, 11:36
Forum: Gaming
Topic: Need a little help please
Replies: 1
Views: 297

Re: Need a little help please

*0:: ; Before: 0:: toggle := !toggle if (toggle) { SetTimer, Timer_Spam, 10 } else { SetTimer, Timer_Spam, Off Send {w Up} ; Release the Key Send {LShift Up} ; Release the Key } return Timer_Spam: Send {c} Sleep 800 Send {w Down} ; Before: Send {w, Down} Send {LShift Down} ; Before: Send {LShift, D...
by Qysh
14 Jul 2018, 04:15
Forum: Ask For Help
Topic: check for pixel color of a specific pixel?
Replies: 2
Views: 302

Re: check for pixel color of a specific pixel?

Code: Select all

PixelGetColor, pColor, 1000, 1000
while(pColor == 777777) ; Replace "777777" with your hex color
{
	Sleep, 1000
	PixelGetColor, pColor, 1000, 1000
}
Use this to pick a color

Code: Select all

F7::
MouseGetPos, mx, my
PixelGetColor, mColor, %mx%, %my%
MsgBox, % mColor
Clipboard := mColor
return
return
by Qysh
14 Jul 2018, 04:08
Forum: Ask For Help
Topic: holding shift or alt disabled my script
Replies: 1
Views: 199

Re: holding shift or alt disabled my script

Code: Select all

*WheelDown::
Send {LButton}
return

*WheelUp::
SendInput {LButton}
return
by Qysh
13 Jul 2018, 13:38
Forum: Ask For Help
Topic: Multiple scripts trying to set same hotkey?
Replies: 3
Views: 389

Re: Multiple scripts trying to set same hotkey?

; Disable default CapsLock functionality SetCapsLockState, AlwaysOff ; Post Esc if pressed alone ~CapsLock:: KeyWait, CapsLock If (A_PriorKey="CapsLock") Send {Esc} return ; Map CapsLock modified hotkeys #If, GetKeyState("CapsLock", "P") h::Left j::Down k::Up l::Right SetCapsLockState, AlwaysOff #I...
by Qysh
13 Jul 2018, 13:05
Forum: Ask For Help
Topic: Gui help
Replies: 5
Views: 595

Re: Gui help

Nice idea to use while(!GetKeyState("Enter", "p")) . But at least add 1 milliseconds to it, otherwise the script will take up a lot of CPU, 8% for me. while(!GetKeyState("Enter", "p")) sleep 1 True. i didnt thought about that :) var := sendInputBox() MsgBox, %var% return sendInputBox() { global edi...
by Qysh
13 Jul 2018, 12:34
Forum: Ask For Help
Topic: Find and replace bullet points
Replies: 3
Views: 407

Re: Find and replace bullet points

Code: Select all

	clipboard =  ; Start off empty
			Sleep 200
		Send ^c
			Sleep 200
			Clipboard := StrReplace(StrReplace(Clipboard,"•",""),"`r`n","|*")
			Sleep 200
			Send, %clipboard%
by Qysh
13 Jul 2018, 12:27
Forum: Ask For Help
Topic: Gui help
Replies: 5
Views: 595

Re: Gui help

Do you mean something like this?

Code: Select all

var := sendInputBox()
MsgBox, %var%

sendInputBox()
{
	global editfield
	Gui, 99:Add, Edit, x2 y9 w270 h20 veditfield, 
	Gui, 99:Show, w278 h36, InputBox
	while(!GetKeyState("Enter", "p"))
		continue
	Gui, 99:Submit, nohide
	Gui, 99:Destroy
	return editfield
}
by Qysh
13 Jul 2018, 06:00
Forum: Ask For Help
Topic: how to find two pixelcolors ?
Replies: 3
Views: 416

Re: how to find two pixelcolors ?

Hello I need to add to this code one more color 0x080C0C Can anyone help me ? ;) ~LButton:: while GetKeyState("LButton") { mousegetpos, xx, yy PixelSearch, Px, Py, xx-10, yy-10, xx+10, yy+10, 0x29625F, 3, Fast mousemove %Px%, %Py%, 0 } return ~LButton:: while GetKeyState("LButton") { mousegetpos, x...
by Qysh
13 Jul 2018, 05:54
Forum: Gaming
Topic: Finding text in game by scrolling mouse button. Topic is solved
Replies: 3
Views: 482

Re: Finding text in game by scrolling mouse button. Topic is solved

Ah thanks, but unfortunately it doesn't work. I made a screenshot of the text where should the macro stop on and i saved it on my desktop. Then i've set the coordinates of the corner of my monitor and set the file's name at the end. It seems the macro works in game but it's not able to stop scrolli...

Go to advanced search