Search found 24 matches

by SilasDeVis
05 Jun 2020, 07:44
Forum: Gaming
Topic: Try Image Search Topic is solved
Replies: 2
Views: 184

Re: Try Image Search Topic is solved

You can do this: 1:: Imagesearch, FX, FY, StartX, StartY, EndX, EndY, Thefile.png If (ErrorLevel) { MouseClick, L } Else { MouseMove, %FX%, %FY% MouseClick, L } Return Everytime you press the 1key, it will search for the image and if found will go to the coordinates of the image. If not, it will jus...
by SilasDeVis
05 Jun 2020, 07:26
Forum: Gaming
Topic: gui coordinates width and height not working please help
Replies: 0
Views: 116

gui coordinates width and height not working please help

i made a bot for the trex game in chrome. i am searching in a area for pixels, and if a pixel is true on that of a cactus/bird, it jumps. i want a transparant gui so that i can see where i am searching exactly, but the gui i made isn't working properly. it is too wide and the height isn't accurate e...
by SilasDeVis
27 May 2020, 10:24
Forum: Ask For Help
Topic: Gui isn't accurate about x and y coordinates
Replies: 2
Views: 119

Re: Gui isn't accurate about x and y coordinates

Tried that, but i have no idea how to use it (I read the description). What i wrote doesn't work, but am i at least close? SetBatchLines -1 StartX:=630 StartY:=420 EndX:=650 EndY:=470 Width:=(EndX-StartX) Height:=(EndY-StartY) Return F1:: CoordMode, Pixel, Window CoordMode, Menu, Window Gui, Show, x...
by SilasDeVis
27 May 2020, 10:01
Forum: Ask For Help
Topic: Gui isn't accurate about x and y coordinates
Replies: 2
Views: 119

Gui isn't accurate about x and y coordinates

So, i'm trying a way to make it easier to show where i am searching for pixels. What i needed was to make a transparant gui that showed me the area where to search for pixels. It needs to be accurate. But when i add a x and y coordinate to a gui show command, i think it shows a few pixels below the ...
by SilasDeVis
08 Apr 2020, 08:16
Forum: Ask For Help
Topic: Gui doesn't show after calculations Topic is solved
Replies: 4
Views: 271

Re: Gui doesn't show after calculations Topic is solved

Fixed it by changing the first loop. It loops 10 times now instead of 40. Figured out that 2^40 a very big number is (I wouldn't like it anymore either :lol: )
by SilasDeVis
08 Apr 2020, 07:54
Forum: Ask For Help
Topic: Gui doesn't show after calculations Topic is solved
Replies: 4
Views: 271

Re: Gui doesn't show after calculations Topic is solved

That doesn't look to work. I don't know exactly how to use the "Gui, New" command, but i wrote this: Times:=1 yAxis:=195 Gui, New,,The plant Gui, Color, White Random, StartX, 0, 180 MinX:=%StartX% MaxX:=%StartX% Gui, Add,Text, x50 y200, ======================== Loop 40 { Loop %Times% { Random, xAxis...
by SilasDeVis
08 Apr 2020, 07:25
Forum: Ask For Help
Topic: "~LButton & Space::" ignores LButton
Replies: 3
Views: 235

Re: "~LButton & Space::" ignores LButton

No problem, i hope you can find out
by SilasDeVis
08 Apr 2020, 07:16
Forum: Ask For Help
Topic: "~LButton & Space::" ignores LButton
Replies: 3
Views: 235

Re: "~LButton & Space::" ignores LButton

What you can do is pressing ctr and space. Than the script will look like this: ^Space:: Send {Ctrl down}c{Ctrl up} ; <snipp> Cleaing unwanted content like spaces etc. from the clipboard and filling the variable "callonme" run, %portableappsdir%\Private\Softphone MicroSIP\microsip.exe %callonme% ret...
by SilasDeVis
08 Apr 2020, 07:13
Forum: Ask For Help
Topic: Gui doesn't show after calculations Topic is solved
Replies: 4
Views: 271

Gui doesn't show after calculations Topic is solved

I am trying to make a "shape" of a plant (doesn't matter what plant), but i want it to be a little bit more random. I already set up a code, and i think it is calculating a lot because the cpu is on 40%, but the gui doesn't show. I tried to create a break in one of my loops, but that doesn't work ei...
by SilasDeVis
08 Apr 2020, 07:01
Forum: Ask For Help
Topic: goto and gosub Topic is solved
Replies: 3
Views: 338

Re: goto and gosub Topic is solved

Nice man, didn't think of that by myself. I think you solved some of my problems too, thanks!
by SilasDeVis
06 Apr 2020, 14:45
Forum: Ask For Help
Topic: Trying to combining files
Replies: 2
Views: 201

Re: Trying to combining files

Alright, than i would let it to what i have now. Guess programming isn't going the easy way. But thanks a lot anyway.
by SilasDeVis
06 Apr 2020, 13:50
Forum: Ask For Help
Topic: goto and gosub Topic is solved
Replies: 3
Views: 338

Re: goto and gosub Topic is solved

This is how goto works Layer1: ;The first layer that is going to be active MsgBox, A cow ;The messagebox Goto, Layer3 ;this ensures that it goes to layer3 Layer2: ;Layer2 is going to be skipped MsgBox, A cat ;just like this messagebox Layer3: ;After Layer1, This layer is going to be active MsgBox, A...
by SilasDeVis
06 Apr 2020, 13:41
Forum: Ask For Help
Topic: Trying to combining files
Replies: 2
Views: 201

Trying to combining files

I have made a whole system with batch files and ahk files, but i am at a point that i want it all in one file, because i cannot oversee the things, and if i want to change something, i have to open all files to change that one little thing. The point is that i have keys that need a lot of options on...
by SilasDeVis
16 Feb 2020, 13:37
Forum: Ask For Help
Topic: Calculator with InputBox Topic is solved
Replies: 4
Views: 430

Re: Calculator with InputBox Topic is solved

I'm to dump for this kinda thing. :dance: But, thanks a lot. I think i can handle my calculator now.
by SilasDeVis
16 Feb 2020, 12:14
Forum: Ask For Help
Topic: Calculator with InputBox Topic is solved
Replies: 4
Views: 430

Re: Calculator with InputBox Topic is solved

It almost works perfect. Thanks a lot!It can calculate, but i can't exit the app. If i click "no, in MsgBox, it just returns. And instead of writing a number with a lot of decimals, i would like to just type %Answer%. When i do that, the answer is always 0. I am not fimiliar with the code, and the c...
by SilasDeVis
16 Feb 2020, 10:39
Forum: Ask For Help
Topic: Calculator with InputBox Topic is solved
Replies: 4
Views: 430

Calculator with InputBox Topic is solved

I'm a newbie, and i need some help. I want to make a calculator with inputbox, but it ain't work. This is my code: Answ= Layer1: InputBox, PreAnswer, Calculator, Write down a sum. %Answ%,,,,,,,, InputBox, Decimals, Calculator, on how many decimals do you want me to calculate?,,,,,,,, Var := %PreAnsw...
by SilasDeVis
15 Feb 2020, 04:47
Forum: Ask For Help
Topic: How to randomly select a character from a string
Replies: 10
Views: 898

Re: How to randomly select a character from a string

I think it worked. It isn't fast, but it'll get there. Your code looks very complicated for me, and autohotkey doesn't explain the command "RandomChar". Can you help me out with that? Already thanks a lot!
by SilasDeVis
14 Feb 2020, 12:39
Forum: Ask For Help
Topic: How to randomly select a character from a string
Replies: 10
Views: 898

Re: How to randomly select a character from a string

Thank you for your comment. I changed it, and i hope this now will meet your meanings to. Me and a friend are contantly challenging each other to program something, and he gave me a exercise to program a ahk file that could "guess" or calculate his given word. not just display it.(I did that last ti...
by SilasDeVis
14 Feb 2020, 08:31
Forum: Ask For Help
Topic: How to randomly select a character from a string
Replies: 10
Views: 898

How to randomly select a character from a string

me and a friend wanted to check on how to get a word exactly the same as a few random strings with some luck. We constantly challenge each other to program something, and now it is my turn, but i can't figure this out. I tried, but the only information i get from ToolTip are zero's and ones. InputBo...
by SilasDeVis
30 Jan 2020, 09:47
Forum: Ask For Help
Topic: Let Autohotkey React on a launch of a file
Replies: 3
Views: 281

Re: Let Autohotkey React on a launch of a file

Thanks, i think that may be the code i needed, now i just have to apply this on my own PC Something like this? I tested it, but it doesn't work properly. It doesn't affect the way my keys on my mouse work. BTW it needs to shut down the last script. This is what i wrote: #IfWinExist D:\Games\Steam\st...

Go to advanced search