Search found 1058 matches

by Hellbent
18 Nov 2017, 16:14
Forum: Ask For Help
Topic: Timers interfering with eachother
Replies: 7
Views: 1012

Re: Timers interfering with eachother

Your 2nd and 3rd timers are resetting the 2nd timer, nothing is resetting the 3rd. Besides that, try this. #SingleInstance,Force gosub,A gosub,B gosub,C return A: All_Timers.="A " Tooltip,% All_Timers Random,Time1,5,7 SetTimer,A,% Time1*-1000 return B: All_Timers.="B " Tooltip,% All_Timers Random,Ti...
by Hellbent
18 Nov 2017, 14:52
Forum: Ask For Help
Topic: detect/Remove duplicate values in array
Replies: 37
Views: 6916

Re: detect/Remove duplicate values in array

Seems like this thread went a bit off topic somewhere in the middle, I haven't had to deal with removing duplicate values too often, but I normally do something like this. #SingleInstance,Force Sort_Array:=["bob","apple","c","d","bob","1","3","4","c","1","apple","3","4","d","5","apple","5","3","6","...
by Hellbent
18 Nov 2017, 12:40
Forum: Ask For Help
Topic: Gui help! Topic is solved
Replies: 7
Views: 1294

Re: Gui help! Topic is solved

Jonas353 wrote:This doesn't seem to work?
I don't see why it wouldn't work for you. What happens when you run it?
by Hellbent
18 Nov 2017, 07:46
Forum: Ask For Help
Topic: Gui help! Topic is solved
Replies: 7
Views: 1294

Re: Gui help! Topic is solved

Or something more like a homing missile #SingleInstance,Force Coordmode,Mouse,Screen global Button_X:=200,Button_Y:=200,Button_W:=50,Button_H:=50,Following_Button,Target_X:=A_ScreenWidth//2,Target_Y:=A_ScreenHeight//2,Button_Speed:=3 Gui,Color,Black Gui,Add,Button,x%Button_X% y%Button_Y% w%Button_W%...
by Hellbent
18 Nov 2017, 06:46
Forum: Ask For Help
Topic: Gui help! Topic is solved
Replies: 7
Views: 1294

Re: Gui help! Topic is solved

How do i make a gui button follow my mouse inside a gui You mean something like this? #SingleInstance,Force Coordmode,Mouse,Screen OnMessage(0x200,"Move_Button") global Button_W:=50,Button_H:=50,Following_Button Gui,Add,Button,x0 y0 w%Button_W% h%Button_H% vFollowing_Button,Button Gui,Show,w600 h60...
by Hellbent
26 Oct 2017, 11:26
Forum: Ask For Help
Topic: how to send keys when start ahk file
Replies: 16
Views: 2850

Re: how to send keys when start ahk file

I Could be wrong here, but it looks like you are trying to make a hotkey to send a click, or w/e It also looks like you want the coords for your clicks to be related to your screen and not just the active window. Your script is auto executed and that is why when you have been running it (from the fi...
by Hellbent
26 Oct 2017, 09:48
Forum: Ask For Help
Topic: Flood Fill Crashing AHK Issue
Replies: 1
Views: 823

Flood Fill Crashing AHK Issue

I was working on a little game about a week ago. I was hoping to use this project as a way of starting to pick up Gdip, once I had the game working I would rewrite it using Gdip having had everything else already worked out. Anyway, things were going smoothly until I got to the point of adding a fun...
by Hellbent
26 Oct 2017, 07:57
Forum: Ask For Help
Topic: Guys, help me with this. Topic is solved
Replies: 10
Views: 1535

Re: Guys, help me with this. Topic is solved

FileRead, content, my.txt Array := StrSplit(content,"`n") cnt := Array.MaxIndex() Loop,% Array.MaxIndex() MsgBox % Array[--cnt] Not tested (while being on iOS) BTW, your threads subject line is useless. Guess why the forum section is named "Ask for Help"?! :thumbdown: just replace MsgBox % Array[--...
by Hellbent
26 Oct 2017, 04:31
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 309
Views: 147551

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

This is my newest project. Most of the Gui is built using progress bars. Still working on it so once I get everything added I'll likely do a pass over the colors and layout of the controls. https://i.imgur.com/8u4sOCx.jpg This is another older project. https://i.imgur.com/EqHaTN0.jpg https://i.imgur...
by Hellbent
25 Oct 2017, 20:05
Forum: Ask For Help
Topic: Help with making a macro
Replies: 2
Views: 488

Re: Help with making a macro

It really depends on what your "macro" is doing. How many actions are in a loop, is there a loop. Here is one way you can set it up, but again, this is a good fit for some things and not so good for others. #SingleInstance,Force Numpad1:: While GetKeyState("NumPad1","P") { Send,Something Random `n }...
by Hellbent
22 Oct 2017, 02:09
Forum: Ask For Help
Topic: (Newbie) Need help with sending keystrokes with a set timer
Replies: 2
Views: 450

Re: (Newbie) Need help with sending keystrokes with a set timer

Code: Select all

#SingleInstance,Force
SendMode,Input

^j::
SetTimer,Send_12,% 1000 * 30
SetTimer,Send_z,% 1000 * 3
gosub,Send_12
gosub,Send_z
return

Numpad1::
SetTimer,Send_12,Off
SetTimer,Send_z,Off
return

Send_12:
Send, 12
return

Send_z:
Send, z
return

*ESC::ExitApp
by Hellbent
02 Oct 2017, 10:43
Forum: General Discussion
Topic: AutoHotkey Games.
Replies: 7
Views: 2282

Re: AutoHotkey Games.

Just started a new project. This time it is making a Flappy Bird game. These are short videos detailing the progress of the game in steps. https://www.youtube.com/watch?v=2WgvBRvi6cc https://www.youtube.com/watch?v=aUsOIPJJYyI https://www.youtube.com/watch?v=CEppysoLqsI https://www.youtube.com/watch...
by Hellbent
28 Sep 2017, 19:54
Forum: Gaming
Topic: My take on Snake
Replies: 36
Views: 9532

Re: My take on Snake

Very cool.
Adding obstacles might make it a bit more interesting.
by Hellbent
24 Sep 2017, 12:15
Forum: Scripts and Functions
Topic: GUI Font Tool
Replies: 3
Views: 1916

Re: GUI Font Tool

Nicely done! Pairing this with my color tool, and if (and when) I make my AHK command helper and organizer, this little "package" will be highly useful! I needed a quick way to launch the tools that I have/make so I made my own toolbar for Scite4AutoHotkey https://i.imgur.com/jyg0aBu.jpg Still a wo...
by Hellbent
24 Sep 2017, 10:42
Forum: Scripts and Functions
Topic: GUI Font Tool
Replies: 3
Views: 1916

GUI Font Tool

I wrote this a few months ago to help with selecting the font options for gui's. https://i.imgur.com/dMYNYzP.jpg Before I made this script I rarely used anything but the default font, but with this tool I find it much easier to select a font to use on a project. Notes: - To use this script you will ...
by Hellbent
24 Sep 2017, 07:39
Forum: Scripts and Functions
Topic: ARGB & Hex Color Chooser
Replies: 4
Views: 1623

Re: ARGB & Hex Color Chooser

Very nice, this type of tool is so useful. I made a color picker a few months ago to help with making gui's and the like. I use it almost every day. I didn't end up adding alpha to it, but I did add the ability to grab any colour off the screen / add that colour to a mixer while keeping the grabbed ...
by Hellbent
24 Sep 2017, 04:32
Forum: General Discussion
Topic: AutoHotkey Games.
Replies: 7
Views: 2282

Re: AutoHotkey Games.

I'm impressed :o :thumbup: :clap: - and I've to admit I'm a big fan of your tutorial videos at YT!! <kowtow smiley> Thanks BoBo. God damn. AHK has really grown since GDIP was used. None of these use GDIP. They are just .png's. The Space Invaders, Auto Bots, and Pigs use a ActiveX control but the re...
by Hellbent
23 Sep 2017, 15:38
Forum: General Discussion
Topic: AutoHotkey Games.
Replies: 7
Views: 2282

AutoHotkey Games.

Hey, how is it going folks. I have been using AHK for about two years now so I thought I would finally come check out the forum and see if anyone else does some of the same things with AHK as I tend to more often than not do. That is to create games or game like scripts. Up until now I have mostly a...

Go to advanced search