Search found 49 matches

by bushez
11 Nov 2017, 05:00
Forum: Ask For Help
Topic: help with a script
Replies: 1
Views: 175

help with a script

so what i want it to do is when i enter a number between 0-9999 it will give me his min digit and max digit but its not working if someone can help tnx int main() { int num, max, min; printf("Enter a number between 0 and 9999\n"); scanf("%d", &num); min = num % 10; max = num % 10; num = (num / 10); ...
by bushez
29 Jul 2016, 11:22
Forum: Ask For Help
Topic: Fix Script
Replies: 10
Views: 1089

Re: Fix Script

Gicu wrote::think:

do you have tried the fix?

the problem was

Code: Select all

 Gui, Destroy
if you replace it with

Code: Select all

 Gui, Hide
It should work.

thank you all works great now
by bushez
29 Jul 2016, 10:49
Forum: Ask For Help
Topic: Fix Script
Replies: 10
Views: 1089

Re: Fix Script

Gicu wrote:im sorry
try

Code: Select all


if appear_disappear
	Gui, Show, NA
else
	Gui, Hide ; <--------

you can maybe try it urself and give me the full code because i dont think its working
by bushez
29 Jul 2016, 10:02
Forum: Ask For Help
Topic: Fix Script
Replies: 10
Views: 1089

Re: Fix Script

Gicu wrote:https://autohotkey.com/boards/viewtopic.php?f=7&t=11952

Code: Select all

 
*g::

appear_disappear := !appear_disappear

if appear_disappear
	Gui, Show, NA
else
	Gui, Destroy
	
Return

its works only in the first try after that it dosent work man
by bushez
29 Jul 2016, 08:55
Forum: Ask For Help
Topic: Fix Script
Replies: 10
Views: 1089

Re: Fix Script

Gicu wrote:what do you mean?
never mind man i fix this but i have another qus

i want that when i press g the circle pop and when i press g again he disappear and again and again.
you can help me with that ?
by bushez
29 Jul 2016, 05:09
Forum: Ask For Help
Topic: Fix Script
Replies: 10
Views: 1089

Re: Fix Script

Size := 100, Color := "Black" ; settings CoordMode, mouse, screen Gui, -Caption +ToolWindow +AlwaysOnTop +LastFound Gui, Color, %Color% GuiHwnd := WinExist() DetectHiddenWindows, On WinSet, Transparent, 150, ahk_id %GuiHwnd% WinSet, Region, % "0-0 W" Size " H" Size " E", ahk_id %GuiHwnd% ; An ellip...
by bushez
29 Jul 2016, 01:35
Forum: Ask For Help
Topic: Fix Script
Replies: 10
Views: 1089

Fix Script

so i found this script that make circle gui but i want to add cord for the circle to pop only in the middle of the screen and not where my mouse is located . if someone can help me tnx. Size := 100, Color := "Black" ; settings CoordMode, mouse, screen Gui, -Caption +ToolWindow +AlwaysOnTop +LastFoun...
by bushez
28 Jul 2016, 10:03
Forum: Gaming
Topic: Public | Dead by daylight (Simple)
Replies: 1
Views: 1430

Public | Dead by daylight (Simple)

Simple script for players who want to wiggle more easily and want to spam Space when you on the hook hope it helps someone ~space:: while GetKeyState("space","P") { Send {space} sleep 100 } return *F1:: Suspend Pause,,1 return *F2:: ExitApp return *F:: Loop { Send, {a Down} Sleep, 150 Send, {a Up} S...
by bushez
23 Jul 2016, 11:29
Forum: Ask For Help
Topic: Pause script (Hold key)
Replies: 7
Views: 767

Re: Pause script (Hold key)

now it works perfect thank you both very much
by bushez
23 Jul 2016, 09:46
Forum: Ask For Help
Topic: Pause script (Hold key)
Replies: 7
Views: 767

Re: Pause script (Hold key)

wolf_II wrote:Try this:

Code: Select all

TheScript:
    Loop {
        ToolTip, Test, 0, 0
        Sleep, 500
        ToolTip, Test, 0, 30
        Sleep, 500
    }
Return

e::
    Pause, On, 1
    KeyWait, e
    Pause, Off
Return
I hope that helps.

Edit: oops, wrong way round, sorry
not working man :(
by bushez
23 Jul 2016, 09:04
Forum: Ask For Help
Topic: Pause script (Hold key)
Replies: 7
Views: 767

Pause script (Hold key)

so want i want to do is when i press and hold E he unpause the script and then when i release the E buttom he pause the script again

tnx for the helpers.
by bushez
23 Jul 2016, 05:54
Forum: Ask For Help
Topic: Loop script help
Replies: 14
Views: 1146

Re: Loop script help

what i want it to do is when he found the pixel he start the script and then when he dont find the pixel he send Space ahh ok we had it backwards ;) try: Loop SearchRect( 852, 621, 1071, 678, "0xFFFFFF", 0, "Fast RGB" ) SearchRect( X1, Y1, X2, Y2, ColorID, Variation, Method ) { static s CoordMode, ...
by bushez
22 Jul 2016, 03:39
Forum: Ask For Help
Topic: Loop script help
Replies: 14
Views: 1146

Re: Loop script help

I added some Messages that should indicate whether or not the color code you're using is found Loop SearchRect( 852, 621, 1071, 678, "0xFFFFFF", 0, "Fast RGB" ) SearchRect( X1, Y1, X2, Y2, ColorID, Variation, Method ) { static s CoordMode, Pixel, Screen CoordMode, ToolTip, Screen Loop { PixelSearch...
by bushez
21 Jul 2016, 08:43
Forum: Ask For Help
Topic: Pause Loop script
Replies: 2
Views: 305

Re: Pause Loop script

thank you it works great
by bushez
21 Jul 2016, 06:58
Forum: Ask For Help
Topic: Pause Loop script
Replies: 2
Views: 305

Pause Loop script

I want when i press and hold LButtom he unPause the script and when i release the Lbuttom he Pause the script again tnx. ~*LButton:: Loop { CoordMode, Pixel, Screen PixelSearch, FoundX, FoundY, 1002, 519, 1053, 687, 0xFFFFFF, 0, Fast RGB if ErrorLevel= 1 continue If ErrorLevel = 0 { Loop { CoordMode...
by bushez
21 Jul 2016, 04:23
Forum: Ask For Help
Topic: Loop script help
Replies: 14
Views: 1146

Re: Loop script help

I tested this and it seems to do exactly what you're after. The function SearchRect() wrapper allows you to call sequential instances of the PixelSearch command: SearchRect( 852, 621, 1071, 678, "0xFFFFFF", 0, "Fast RGB" ) Msgbox Pixel color found within rectangle!`nPress Ok to continue SearchRect(...
by bushez
18 Jul 2016, 11:21
Forum: Ask For Help
Topic: Loop script help
Replies: 14
Views: 1146

Re: Loop script help

not working mate :(
by bushez
18 Jul 2016, 01:47
Forum: Ask For Help
Topic: Loop script help
Replies: 14
Views: 1146

Re: Loop script help

but if you say i need to remove the Errorlevel= 1 i will really dont know how to fix the script later nono, don't remove it, I was just pointing out that if ErrorLevel never equals 1, the nested loop will never Break. If you need to change coordinates, consider wrapping this to a function. https://...
by bushez
18 Jul 2016, 01:14
Forum: Ask For Help
Topic: Loop script help
Replies: 14
Views: 1146

Re: Loop script help

i get what you are saying but my script work good (the first loop) only when the Errorlevel= 1is where it is i just want to take my first script loop and make it do the same but in different region thats why i just copy paste it 4 times but if you say i need to remove the Errorlevel= 1 i will really...
by bushez
18 Jul 2016, 00:34
Forum: Ask For Help
Topic: Loop script help
Replies: 14
Views: 1146

Loop script help

I have 4 loops scripts that i want to run together with one actice key but it dosent work if someone can help me please ~*LButton:: Loop { CoordMode, Pixel, Screen PixelSearch, FoundX, FoundY, 1002, 519, 1053, 687, 0xFFFFFF, 0, Fast RGB if ErrorLevel= 1 continue If ErrorLevel = 0 { Loop { CoordMode,...

Go to advanced search