Search found 2102 matches

by Hellbent
09 Mar 2024, 13:01
Forum: Scripts and Functions (v1)
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 391
Views: 244017

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: 362

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: 362

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: 362

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: 362

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: 362

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: 27740

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: 27740

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: 604

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: 5331

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: 10988

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...
by Hellbent
02 Dec 2023, 00:07
Forum: Ask for Help (v1)
Topic: Gui Listview questions Topic is solved
Replies: 4
Views: 467

Re: Gui Listview questions Topic is solved

Thank you just me . I am currently toggling a variable so that the listview subroutine calls get ignored while changes are being made to the listview, do you know of a more efficient method of doing it? Set_SelectedWindowElement(){ local project := This.SelectedProject local window := This.Projects[...
by Hellbent
29 Nov 2023, 02:07
Forum: Ask for Help (v1)
Topic: Gui Listview questions Topic is solved
Replies: 4
Views: 467

Gui Listview questions Topic is solved

Hi, I have a questions related to the listview gui control. What is the syntax to specify a particular window and listview control? For example, how would I use the F1 hotkey to make changes to the 3rd listview on Gui2 in the code below? Loop, 5 { Gui, New, % "+hwndGui" A_Index Loop, 5 { Gui, Add, L...
by Hellbent
19 Nov 2023, 06:19
Forum: Ask for Help (v1)
Topic: Toggle Gui Listbox Multi-Select Topic is solved
Replies: 2
Views: 239

Toggle Gui Listbox Multi-Select Topic is solved

Does anyone know of a way to turn on and off the "Multi" option for listbox controls? I have a functioning workaround but it would be nice to be able to just turn it on and off. I would like for the second listbox ( bottom one ) in this example to be able to toggle multi select. #SingleInstance Forc...
by Hellbent
11 Nov 2023, 19:29
Forum: Scripts and Functions (v1)
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 391
Views: 244017

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

@Hellbent fantastic work as always!!! i was working on a basic gui using your controls to make it easier for people to make guis. but using your functions/controls. but now i need to revamp and try to use this in the gui. also i somehow over time lose the ability to show button pressed . well its a...

Go to advanced search