Search found 1352 matches

by Capn Odin
09 Nov 2021, 03:27
Forum: Ask for Help (v1)
Topic: Zip file to store passwords Topic is solved
Replies: 5
Views: 855

Re: Zip file to store passwords Topic is solved

You are basically trying to make a password manager, why not just use one of the already tried and tested password managers available? Personally I use keepass 2.
by Capn Odin
09 Nov 2021, 03:14
Forum: Ask for Help (v1)
Topic: git clone in ahk for create auto-update software
Replies: 2
Views: 588

Re: git clone in ahk for create auto-update software

Why not just use the git cli from ahk using run?
by Capn Odin
06 Nov 2021, 12:13
Forum: Scripts and Functions (v1)
Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
Replies: 65
Views: 13677

Re: GridGUI v1.1.11 - Simplify Control Placement and Resizing

Quick update on the state of the docs and the newest release. I updated the way that the class reference is styled to hopefully make it easier to read, any feedback on the current format of the class reference is greatly appreciated. I recently released version 1.1.11 which added a gdi control and s...
by Capn Odin
21 Oct 2021, 11:57
Forum: Ask for Help (v1)
Topic: `WinGet...ControlList` but ONLY get visible controls Topic is solved
Replies: 2
Views: 620

Re: `WinGet...ControlList` but ONLY get visible controls Topic is solved

You can retrieve the hwnds of the controls of the window and then check whether the controls are visible. Here is an example it uses GridGUI to show the properties of the controls in a GUI. #Include <GridGUI> SetBatchLines, -1 SetWinDelay, 0 ; Creating and styling a GUI myGui := new GridGUI("CSV Vie...
by Capn Odin
12 Oct 2021, 10:02
Forum: Scripts and Functions (v1)
Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
Replies: 65
Views: 13677

Re: GridGUI v1.1.10 - Simplify Control Placement and Resizing

For example : I have bt1 := myGui.Add(1, 2, "Button", , "bt1 -> Y", args) bt1.callback := Func("bt1").Bind(bt1) And I use a switch command. But instead of doing switch bt1.vVar { case "bt1 -> Y": msgbox return } Something like switch bt1.vName { case "bt1": msgbox return } Here, the vName is the bt...
by Capn Odin
11 Oct 2021, 11:17
Forum: Scripts and Functions (v1)
Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
Replies: 65
Views: 13677

Re: GridGUI v1.1.10 - Simplify Control Placement and Resizing

The example with the tooltip works. Thank you for the help and the explanation. Sorry to ask the question again (because I didn't see an answer from you message from the 9th), but did you see my question about testing the 'id/name' of the button instead of his vVal :oops: :oops: :oops: :oops: About...
by Capn Odin
09 Oct 2021, 14:31
Forum: Scripts and Functions (v1)
Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
Replies: 65
Views: 13677

Re: GridGUI v1.1.9 - Simplify Control Placement and Resizing

One more question.. Sorry :oops: :oops: :oops: ... Is there any way/possibility to have a tooltip (different for each button) when a button is hovered? If it's easier to do that I can put the Gui not resizable. Because I need to put some information and put them in the button is not the best way (t...
by Capn Odin
06 Oct 2021, 05:19
Forum: Scripts and Functions (v1)
Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
Replies: 65
Views: 13677

Re: GridGUI v1.1.9 - Simplify Control Placement and Resizing

I think I found (even if I don't understand the way it works) with this 1C.callback := Func("FuncNext").Bind(1C) instead of 1C.callback := Func("1C") Just tell me if it's the 'right' way to do it. Yes, using Func(funName).Bind(args) is the way I intended to allow for using the same function for cal...
by Capn Odin
02 Oct 2021, 02:44
Forum: Ask for Help (v1)
Topic: Resize after GUI formed
Replies: 6
Views: 1720

Re: Resize after GUI formed

You can try my lib GridGUI . It won't allow you to keep the aspect ratio after resizing the GUI, but it does handle resizing for you. It allows you to define the relative position of controls, that is which controls should be above, below or to the sides of other controls. It may be possible to do s...
by Capn Odin
01 Oct 2021, 14:41
Forum: Scripts and Functions (v1)
Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
Replies: 65
Views: 13677

Re: GridGUI v1.1.9 - Simplify Control Placement and Resizing

I try also to digest your tab example but couldn't. Could you make and example with for example one text line, 3 buttons line and that they are not fill the height of the Gui. But that they have they're normal height. I try just to change the background/font in the tab but without luck. And even th...
by Capn Odin
30 Sep 2021, 13:54
Forum: Scripts and Functions (v1)
Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
Replies: 65
Views: 13677

Re: GridGUI v1.1.9 - Simplify Control Placement and Resizing

ozzii wrote:
30 Sep 2021, 12:51
P.S.: in you example, for me the input example didn't work. I have an error
I have pushed a fix for the error, in regards to the other message I will try to make an example tomorrow, I am writing on the documentation right now.
by Capn Odin
30 Sep 2021, 11:47
Forum: Scripts and Functions (v1)
Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
Replies: 65
Views: 13677

Re: GridGUI v1.1.9 - Simplify Control Placement and Resizing

ozzii I tried to keep the changes to a minimum but personally, I would probably not use globals as much as I did here. Basically, I added the variable as a global in the LEnd function and bound the second GUI as an additional argument to the ok button so that the GUI could be destroyed since the bu...
by Capn Odin
28 Sep 2021, 12:52
Forum: Scripts and Functions (v1)
Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
Replies: 65
Views: 13677

Re: GridGUI v1.1.9 - Simplify Control Placement and Resizing

I made a side with documentation for the project it is still in its early stages but you can find it here https://capnodin.github.io/GridGUI/
by Capn Odin
26 Sep 2021, 15:59
Forum: Ask for Help (v1)
Topic: Since when was sleep an expression in v1???
Replies: 8
Views: 852

Re: Since when was sleep an expression in v1???

Yeah it has been like this for a while but the reason you see people use % is because it always work so there is no reason to try and remember which commands accepts expressions. I always use % myself unless I only need something that can be written using command syntax.
by Capn Odin
26 Sep 2021, 02:22
Forum: Scripts and Functions (v1)
Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
Replies: 65
Views: 13677

Re: GridGUI v1.1.9 - Simplify Control Placement and Resizing

Hi, it would be cool if you could release a bundled single file library for easier distribution. I do not want to maintain multiple release versions of the lib, so I opted to make a small script that you can find in /Examples/Utils/ called To Single File.ahk it generates a file that has all the lib...
by Capn Odin
23 Sep 2021, 10:55
Forum: Scripts and Functions (v1)
Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
Replies: 65
Views: 13677

Re: GridGUI v1.1.9 - Simplify Control Placement and Resizing

Hi, Thank you for your script. How can I apply below user input codes https://www.autohotkey.com/boards/viewtopic.php?f=6&t=93513#:~:text=true)-,user%20input,-When to this https://github.com/CapnOdin/GridGUI/blob/master/Examples/Example%20Tabs.ahk Thank you. You can retrieve the control added to th...
by Capn Odin
19 Sep 2021, 07:11
Forum: Ask for Help (v1)
Topic: Overlapping controls disables mouse input Topic is solved
Replies: 2
Views: 548

Re: Overlapping controls disables mouse input Topic is solved

I solved the issue by combining the style WS_CLIPSIBLINGS suggested in the previous message with setting the Z-order of the control as was done in the thread I linked.
by Capn Odin
18 Sep 2021, 07:58
Forum: Ask for Help (v1)
Topic: Overlapping controls disables mouse input Topic is solved
Replies: 2
Views: 548

Overlapping controls disables mouse input Topic is solved

I just noticed that I cant use the mouse to select controls that are overlapping when both are drawn properly but if only one of them is drawn properly and the other first appears when the mouse is over it then I can click it. Here is the example that is giving me trouble https://github.com/CapnOdin...
by Capn Odin
17 Sep 2021, 12:37
Forum: Scripts and Functions (v1)
Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
Replies: 65
Views: 13677

Re: GridGUI v1.1.8 - Simplify Control Placement and Resizing

I guess I forgot to add support for GuiEscape, I never really used it so I am not sure if it is really a useful event to support. If anyone has used it, can you tell me why you used it instead of a conditional hotkey?

Go to advanced search