Search found 2107 matches

by Hellbent
05 Apr 2024, 23:05
Forum: Ask for Help (v1)
Topic: Find color closest to cursor and click Topic is solved
Replies: 18
Views: 324

Re: Find color closest to cursor and click Topic is solved

You didn't use any arrays :think: What if user wanted to find a purple pixel or a green one? Not just variations :lolno: I added an array to hold colors but I didn't bother doin it for variation, it can be added easily by following [ color <---> colorList ] as an example. Before: color := "0xFD0B03...
by Hellbent
04 Apr 2024, 01:43
Forum: Ask for Help (v1)
Topic: Find color closest to cursor and click Topic is solved
Replies: 18
Views: 324

Re: Find color closest to cursor and click Topic is solved

What I want is that I want to send only one space (hold space key)+click onto the detected colour that is closest near my cursor in the range. My code was only set to move the cursor, you would need to edit that action so that it does what you need. Here I replaced the old "MouseMove" with a functi...
by Hellbent
02 Apr 2024, 11:35
Forum: Ask for Help (v1)
Topic: Find color closest to cursor and click Topic is solved
Replies: 18
Views: 324

Re: Find color closest to cursor and click Topic is solved

I wanted to make a gif too That looks really cool :thumbup: I assume that you are using some sort of a grid search and then checking the distance to get the order to do your actions? It inspired me to edit my version to handle multiple targets. . pixel search range 5.gif . #SingleInstance, Force #N...
by Hellbent
31 Mar 2024, 22:48
Forum: Ask for Help (v1)
Topic: Find color closest to cursor and click Topic is solved
Replies: 18
Views: 324

Re: Find color closest to cursor and click Topic is solved

This script searches outwards from your cursor position to a max range and then starts over again. . pixel search range.gif . The rate that it expands the search radius and the max radius are variable. ( i.e. you can change them ) #SingleInstance, Force #NoEnv SetBatchLines, -1 CoordMode, Mouse, Scr...
by Hellbent
29 Mar 2024, 05:37
Forum: Scripts and Functions (v1)
Topic: Bubble Text / Funky Colorful Text
Replies: 0
Views: 115

Bubble Text / Funky Colorful Text

This is pretty much just a first draft / POC class. If you have any improvements that you can make feel free to post your code. Special thanks to jNizM and the others in this thread for their help in making rendering faster. https://www.autohotkey.com/boards/viewtopic.php?f=76&t=112861 This class cr...
by Hellbent
09 Mar 2024, 13:01
Forum: Scripts and Functions (v1)
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 391
Views: 244270

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

@Hellbent i started tring to merge my gui with your scale gui. been following allot of it. not sure how to make them compatible. i tried to just plug in functions into your gui scale. i expected it would be long shot. i understand some things in how your scaling so might be able to tweak somethings...
by Hellbent
09 Mar 2024, 12:15
Forum: Ask for Help (v1)
Topic: Formatting objects/arrays
Replies: 10
Views: 369

Re: Formatting objects/arrays

In AHK v1, there is no difference between [] and {} . #Requires AutoHotkey v1 obj1 := [] obj1.a := 1 obj1.b := 2 obj2 := {} obj2.push("a") obj2.push("b") for k, v in obj1 { MsgBox % k . ": " . v } for k, v in obj2 { MsgBox % k . ": " . v } Thank you. I was playing around after my last post and I fo...
by Hellbent
16 Feb 2024, 17:17
Forum: Ask for Help (v1)
Topic: Formatting objects/arrays
Replies: 10
Views: 369

Re: Formatting objects/arrays

https://biga-ahk.github.io/biga.ahk/#/?id=isarray works like this: isArray(param) { if (param.getCapacity()) { return true } return false } hope this helps Thank you for that but it's not quite what I'm looking for, or at least I don't think it is. What I'm looking to do is distinguish the differen...
by Hellbent
15 Feb 2024, 14:09
Forum: Ask for Help (v1)
Topic: Formatting objects/arrays
Replies: 10
Views: 369

Re: Formatting objects/arrays

Thanks mikeyww . I have expanded out the logic a bit more but it still has some ways to go. One issue of many is that I need a better solution for is how to determine if a key value is an array. #Requires AutoHotkey v1.1.33 ;str1 := "obj := {x: ""a, b"", ""C"": 3}" str1 = myObj := { RectObj: { X: 10...
by Hellbent
15 Feb 2024, 00:57
Forum: Ask for Help (v1)
Topic: Formatting objects/arrays
Replies: 10
Views: 369

Re: Formatting objects/arrays

Alternatively, you could append the code to your script, run the code, and then use the array itself, but this approach seems more complicated. That might actually be the simplest way (haven't really thought it through yet). One of the issues I could see with doing my splits would have been things ...
by Hellbent
14 Feb 2024, 21:43
Forum: Ask for Help (v1)
Topic: Formatting objects/arrays
Replies: 10
Views: 369

Formatting objects/arrays

Hi I'm hoping someone can help me out with a formatting tool I'd like to have. The purpose of the tool is to swap between a long format and a short format for objects / arrays Something like this but with the ability to deal with nested objects and arrays as well as simple ones. . 20240214211902.png...
by Hellbent
08 Feb 2024, 09:43
Forum: Scripts and Functions (v1)
Topic: [Editor/Code Generator] Gdip Bitmap Maker ( v0.1.12 Feb 8th, 2024 )
Replies: 68
Views: 27806

Re: [Editor/Code Generator] Gdip Bitmap Maker ( v0.1.12 Feb 8th, 2024 )

andymbody wrote:
08 Feb 2024, 09:35
Thanks!

Fyi... these require un-commenting (at the bottom of the main script)
Thank you.
I normally use a version of gdip that has those functions in it so I had them commented out in my copy. I have enabled the functions in the v0.1.12 copy.
by Hellbent
08 Feb 2024, 07:46
Forum: Ask for Help (v1)
Topic: Help with GDip Beziehers
Replies: 2
Views: 210

Re: Help with GDip Beziehers

jay lee wrote:
06 Feb 2024, 16:51
why does this code not make the edges correct?
Set the SmoothingMode to a value of 2 or 4

Code: Select all

SmoothingMode := 2
pGraphics := Gdip_GraphicsFromImage( pBitmap )
Gdip_SetSmoothingMode( pGraphics , SmoothingMode )
by Hellbent
08 Feb 2024, 04:15
Forum: Scripts and Functions (v1)
Topic: [Editor/Code Generator] Gdip Bitmap Maker ( v0.1.12 Feb 8th, 2024 )
Replies: 68
Views: 27806

Re: [Editor/Code Generator] Gdip Bitmap Maker ( v0.1.10 July 19th, 2021 )

Version 0.1.12 Changes: 1. added a checkbox to allow a new type of output. The new type of output creates a class for the bitmap. ;*************************************************************************************************** ;*******************************************************************...
by Hellbent
04 Feb 2024, 19:31
Forum: Ask for Help (v1)
Topic: alternative solutions for embedding pdf in gui
Replies: 10
Views: 607

Re: alternative solutions for embedding pdf in gui

I have not used hellbent's script, looks like it uses a similar technique to the script i am using. I wonder how it handles resizing of the crop. No doubt it would take some time to understand the source good enough to modify. One problem i am trying to solve now is to capture events sent to the ch...
by Hellbent
31 Dec 2023, 14:10
Forum: Ask for Help (v1)
Topic: Get vector Angle ( Deg ) / Set Vector Angle ( Deg ) Topic is solved
Replies: 10
Views: 1018

Re: Get vector Angle ( Deg ) / Set Vector Angle ( Deg ) Topic is solved

Updated the last example to show compass heading and made an example without the graphics. . interceptpoint 3.gif . ;**************************************************************************************************************************************************************************** #Include <...
by Hellbent
30 Dec 2023, 15:08
Forum: Ask for Help (v1)
Topic: Get vector Angle ( Deg ) / Set Vector Angle ( Deg ) Topic is solved
Replies: 10
Views: 1018

Re: Get vector Angle ( Deg ) / Set Vector Angle ( Deg ) Topic is solved

Another example: Hi HB, thanks for sharing the vector class (viewtopic.php?style=19&t=108760). I'm looking for a way to calculate the optimal intercept angle between vehicles that travel at known velocities. Example: vehicles 1 travels at known speed and compass heading. Vehicle 2 has a known veloci...
by Hellbent
29 Dec 2023, 19:15
Forum: Ask for Help (v1)
Topic: Crop bitmap and export as Base64 string? ( Create Icons ) Topic is solved
Replies: 26
Views: 5359

Re: Crop bitmap and export as Base64 string? ( Create Icons ) Topic is solved

@Hellbent Is there any way that i can convert the Bs64 code and save it to an actual ico File format? try this. https://www.autohotkey.com/boards/viewtopic.php?t=93750#p415405 ;**************************************************************************************************************************...
by Hellbent
19 Dec 2023, 15:38
Forum: Gaming Help (v1)
Topic: Click Speed/delay/sleep Topic is solved
Replies: 42
Views: 11055

Re: Click Speed/delay/sleep Topic is solved

can we somehow add variation to the color it search for? Main.Panels[ 1 ].SearchColor := "ff6eff" I have tried Main.Panels[ 1 ].SearchColor := "ff6eff" ColorVariation := 20 and Main.Panels[ 1 ].SearchColor := "ff6eff" Tolerance := 20 but nothing seems to work? I ended up having to put off writing t...

Go to advanced search