Search found 2109 matches

by Hellbent
04 Aug 2023, 18:55
Forum: Ask for Help (v1)
Topic: GUI csv statistics Topic is solved
Replies: 7
Views: 695

Re: GUI csv statistics Topic is solved

Thank you @Hellbent this is want i needed as example to implement in my code. When you have time, I have a issue with search bar in interval of time as you saw the csv file, date and time are one big number. Srch1 looks in MLV1 Srch2 looks in MLV2 Srch3 to look in interval of time display data MLV2...
by Hellbent
04 Aug 2023, 16:13
Forum: Ask for Help (v1)
Topic: Custom Checkbox/Switch Class How to connect Inject: gInject
Replies: 19
Views: 1173

Re: Custom Checkbox/Switch Class How to connect Inject: gInject

I have to ask. Why? ;Yours MyCheckbox := New Flat_Round_Switch_Type_1(x := 10 , y := 10 , w := 120 , Window := "1" ;The name of the parent window that this control belongs to. ( default is 1 ) , Background_Color:="002e3b" , State:=1 ;<<<- the default (starting) state. , Label := "inject" ) ;<<<<----...
by Hellbent
04 Aug 2023, 15:39
Forum: Ask for Help (v1)
Topic: Custom Checkbox/Switch Class How to connect Inject: gInject
Replies: 19
Views: 1173

Re: Custom Checkbox/Switch Class How to connect Inject: gInject

Perhaps you should first figure out how to use a normal checkbox. Gui, Add, Checkbox, vMyCheckboxState gInject, My Checkbox Gui, Show, w200 h200, How to use a checkbox. return Inject: Gui, Submit, NoHide if( MyCheckboxState ){ msgbox, Hello World }else{ Loop, 3 SoundBeep, 999 } return The custom che...
by Hellbent
04 Aug 2023, 03:36
Forum: Ask for Help (v1)
Topic: AHK GUIs - Can parts of a window be made invisible? Topic is solved
Replies: 9
Views: 913

Re: AHK GUIs - Can parts of a window be made invisible? Topic is solved

Yes that is exactly what I had in mind. You are genius, I cannot thank you enough. I understand much better now. I learnt allot here, I did not know it was as easy as += 10 or += 0.1 to implement an incrementing solution! You're welcome. I have been using ahk for around 8 years now and I still pick...
by Hellbent
03 Aug 2023, 15:07
Forum: Ask for Help (v1)
Topic: Custom Checkbox/Switch Class How to connect Inject: gInject
Replies: 19
Views: 1173

Re: Custom Checkbox/Switch Class How to connect Inject: gInject

how can i fix it? image.png Set the background color of the switch to the color of the background of the window. ( i.e. to the color of what it is sitting on ). Color is in RGB Hex. RRGGBB . tf 2.gif . ;... , Background_Color:="002e3b" ;... when i open script how can i make this toggle is off? Set ...
by Hellbent
03 Aug 2023, 03:16
Forum: Ask for Help (v1)
Topic: Custom Checkbox/Switch Class How to connect Inject: gInject
Replies: 19
Views: 1173

Re: Custom Checkbox/Switch Class How to connect Inject: gInject

. 20230803041605.png . #SingleInstance, Force GDIP_Startup() MyCheckbox := New Flat_Round_Switch_Type_1(x := 10 , y := 10 , w := 120 , Text := "My Checkbox" , Font:="Arial" , FontSize:= "12 Bold" , FontColor:="FFFFFF" , Window := "1" ;The name of the parent window that this control belongs to. ( def...
by Hellbent
03 Aug 2023, 02:30
Forum: Ask for Help (v1)
Topic: AHK GUIs - Can parts of a window be made invisible? Topic is solved
Replies: 9
Views: 913

Re: AHK GUIs - Can parts of a window be made invisible? Topic is solved

I'm not sure if this is what you are looking for or not. If you have any questions feel free to ask. . tf 1.gif . ;**************************************************************************************************************************************************************************** #Include <My...
by Hellbent
03 Aug 2023, 00:30
Forum: Ask for Help (v1)
Topic: Custom Checkbox/Switch Class How to connect Inject: gInject
Replies: 19
Views: 1173

Re: Custom Checkbox/Switch Class How to connect Inject: gInject

hi, how do i change this code to be connected to Inject: connect is gInject you know what i mean? I mean that if I have the next code made for Inject: if I switch this button it will work and if I switch it again it will not work. image.png how can i add and where Inject: | gInject: Hi dukuzmo. I'm...
by Hellbent
03 Aug 2023, 00:10
Forum: Ask for Help (v1)
Topic: Requesting help with using Gdip to display several images that each change on mouse over Topic is solved
Replies: 24
Views: 1758

Re: Requesting help with using Gdip to display several images that each change on mouse over Topic is solved

How can I replace the buttons in your newest example with png images files? Here is the replacement code for the button graphics. Replace these two functions ( and edit the paths to your images in the "AddControls" function ). I wrote out the two buttons in different ways so that you can get a bett...
by Hellbent
27 Jul 2023, 01:23
Forum: Ask for Help (v1)
Topic: GUI csv statistics Topic is solved
Replies: 7
Views: 695

Re: GUI csv statistics Topic is solved

There is a lib for creating charts in the scripts and functions section of the forum ( v1 ) https://www.autohotkey.com/boards/viewtopic.php?f=6&t=105261 I have never tried it but if I needed to make a graph I might have a look. Other than that, I have no experience making graphs but if I wanted to m...
by Hellbent
26 Jul 2023, 23:14
Forum: Ask for Help (v1)
Topic: GUI help: "Autoposition" commands? Topic is solved
Replies: 9
Views: 898

Re: GUI help: "Autoposition" commands? Topic is solved

Another question: With this function: ReSizeControl(ControlObject){ cc := ControlObject GuiControl, % cc.Parent ":MoveDraw", % cc.Hwnd, % "x" cc.X " y" cc.Y " w" cc.W " h" cc.H } What is " ControlObject ?" It doesn't appear in a search of the documentation. And it doesn't appear anywhere else in yo...
by Hellbent
26 Jul 2023, 22:34
Forum: Ask for Help (v1)
Topic: Requesting help with using Gdip to display several images that each change on mouse over Topic is solved
Replies: 24
Views: 1758

Re: Requesting help with using Gdip to display several images that each change on mouse over Topic is solved

It looks like you are trying to create a custom radio control set. Have a look at this. This is written for windows 8+ and uses invisible text controls as a method of simplifying things. Using this method you can directly call your buttons function / label and you can sort of ping the window to get ...
by Hellbent
23 Jul 2023, 14:18
Forum: Scripts and Functions (v1)
Topic: Resizable Tab Menu / POS Overlay
Replies: 28
Views: 5359

Re: Resizable Tab Menu / POS Overlay

Thanks @ozzii :beer: Wanterful !!!!! how I get button focused control? You can get the selected tab and the selected button by looking at the value of the keys [ POS_Control.TabSelectedTab and POS_Control.ButtonActiveTab ] In this example I have set the value of the Label to "TestLabel". When I cli...
by Hellbent
23 Jul 2023, 12:59
Forum: Ask for Help (v1)
Topic: GUI help: "Autoposition" commands? Topic is solved
Replies: 9
Views: 898

Re: GUI help: "Autoposition" commands? Topic is solved

Question: Regarding this: Gui, % WinHwnd ":Add" , I noticed that you are using colons to separate the parameters, rather than the commas seen in, for example, Gui, Add . Is that syntax required because you are using the Hwnd? Or is it because of the use of functions here? Or because of the use of a...
by Hellbent
23 Jul 2023, 04:35
Forum: Ask for Help (v1)
Topic: Requesting help with using Gdip to display several images that each change on mouse over Topic is solved
Replies: 24
Views: 1758

Re: Requesting help with using Gdip to display several images that each change on mouse over Topic is solved

I don't really understand what your goal is. Can you please give me more info because this seems like a very odd script. Why are you trying to give yourself a seizure? I have a feeling that using multiple windows is a better option but I don't know what this thing is supposed to really do besides gi...
by Hellbent
22 Jul 2023, 16:10
Forum: Ask for Help (v1)
Topic: GUI help: "Autoposition" commands? Topic is solved
Replies: 9
Views: 898

Re: GUI help: "Autoposition" commands? Topic is solved

Thanks HellBent! If you can believe it, in a dozen or so years of working with AutoHotkey, I'm managed to never use Hwnd for anything. Perhaps it's time to learn. :D I was in the same boat up until a few years ago. Since I made the switch I can't imagine going back to using variables for gui contro...
by Hellbent
22 Jul 2023, 13:16
Forum: Ask for Help (v1)
Topic: GUI help: "Autoposition" commands? Topic is solved
Replies: 9
Views: 898

Re: GUI help: "Autoposition" commands? Topic is solved

Here is one way you could go about doing it. . resize gui.gif . #SingleInstance, Force Gui1 := {} Gui1.Controls := {} Gui, New, +AlwaysOnTop +HwndGuiHwnd Gui1.Hwnd := GuiHwnd Gui1.Controls.InfoText := CreateControl( Gui1.Hwnd , "Text" , "" , "your info here" ) Gui1.Controls.InfoEdit := CreateControl...
by Hellbent
22 Jul 2023, 04:41
Forum: Ask for Help (v1)
Topic: Scrolling list cant handle over 1000x shortcuts, should add filter by a-z or input keyword? Topic is solved
Replies: 13
Views: 1386

Re: Scrolling list cant handle over 1000x shortcuts, should add filter by a-z or input keyword? Topic is solved

I love this thing, HellBent! Generally speaking, Windows GUIs don't use enough color. Our brains like color. :D Thanks, 100% agree. I made a few changes to it ( see below ). your script need the GDI+ lib, and after that need paste the code inside. i haven't used this lib before so there is a learni...
by Hellbent
22 Jul 2023, 03:33
Forum: Ask for Help (v1)
Topic: Grayed-out menu item
Replies: 2
Views: 220

Re: Grayed-out menu item

by Hellbent
22 Jul 2023, 03:07
Forum: Ask for Help (v1)
Topic: Requesting help with using Gdip to display several images that each change on mouse over Topic is solved
Replies: 24
Views: 1758

Re: Requesting help with using Gdip to display several images that each change on mouse over Topic is solved

I'm trying to update the images used for the gui live and seamlessly, based on variables set within the script My gui is only displayed while the LALT key is held. At the moment, I have a test variable that an IF statement uses to pick a different image for one of the buttons, but the only way I've...

Go to advanced search