Search found 341 matches

by sashaatx
10 May 2024, 14:11
Forum: Ask for Help (v2)
Topic: How to get VSCROLL GUI Style to Scroll?
Replies: 1
Views: 188

How to get VSCROLL GUI Style to Scroll?

https://i.imgur.com/ZNh7xww.gif #Requires Autohotkey v2 ;AutoGUI creator: Alguimist autohotkey.com/boards/viewtopic.php?f=64&t=89901 ;AHKv2converter creator: github.com/mmikeww/AHK-v2-script-converter ;EasyAutoGUI-AHKv2 github.com/samfisherirl/Easy-Auto-GUI-for-AHK-v2 if A_LineFile = A_ScriptFullPa...
by sashaatx
10 May 2024, 07:17
Forum: Scripts and Functions (v2)
Topic: OnScreen Keyboard & Separate NumPad - Dark-themed - Responsive/Resizable Design - Template
Replies: 2
Views: 532

Re: OnScreen Keyboard & Separate NumPad - Dark-themed - Responsive/Resizable Design - Template

Post & Titled edited, including separate NumPad #Requires Autohotkey v2 #SingleInstance force #Include <GuiReSizer> N := Numpad() N.show() Class Numpad { static hwnd := 0 static lastWindow := 0 __New() { local storage := Numpad.Build() this.controls := Map(), this.Gui := Map() this.controls := stora...
by sashaatx
07 May 2024, 04:25
Forum: Scripts and Functions (v2)
Topic: [2024/05/06] ColorButton.ahk | An extended method that lets you customize gui button background colors.
Replies: 11
Views: 1255

Re: ColorButton.ahk | An extended method that lets you customize gui button background colors.

BTW: class NMCUSTOMDRAWINFO { static Call(ptr) { return { hdr: { hwndFrom: NumGet(ptr, 0 ,"uptr"), idFrom : NumGet(ptr, 8 ,"uptr"), code : NumGet(ptr, 16 ,"int") }, dwDrawStage: NumGet(ptr, 24, "uint"), hdc : NumGet(ptr, 32, "uptr"), rc : RECT( NumGet(ptr, 40, "uint"), NumGet(ptr, 44, "uint"), NumG...
by sashaatx
06 May 2024, 11:19
Forum: Scripts and Functions (v2)
Topic: [2024/05/06] ColorButton.ahk | An extended method that lets you customize gui button background colors.
Replies: 11
Views: 1255

Re: [2024/05/06] ColorButton.ahk | An extended method that lets you customize gui button background colors.

As far as I can tell, nothing of the code presented in this thread pertains to the size of the button. It merely colors the button as it is sized. sh*t youre right. this worked just fine, resizer and dark mode. Not sure why last time I tried, something conflicted. #Requires Autohotkey v2 #SingleIns...
by sashaatx
06 May 2024, 10:44
Forum: Scripts and Functions (v2)
Topic: [2024/05/06] ColorButton.ahk | An extended method that lets you customize gui button background colors.
Replies: 11
Views: 1255

Re: ColorButton.ahk | An extended method that lets you customize gui button background colors.

BTW: class NMCUSTOMDRAWINFO { static Call(ptr) { return { hdr: { hwndFrom: NumGet(ptr, 0 ,"uptr"), idFrom : NumGet(ptr, 8 ,"uptr"), code : NumGet(ptr, 16 ,"int") }, dwDrawStage: NumGet(ptr, 24, "uint"), hdc : NumGet(ptr, 32, "uptr"), rc : RECT( NumGet(ptr, 40, "uint"), NumGet(ptr, 44, "uint"), NumG...
by sashaatx
04 May 2024, 17:03
Forum: Scripts and Functions (v2)
Topic: [Class] GuiReSizer - Position and Resize Gui Controls
Replies: 28
Views: 6287

Re: [Class] GuiReSizer - Position and Resize Gui Controls

FanaticGuru idk your github to send pull reqs. I have a whole library for addons to guiresizer I'd love to fork if youve got one. https://github.com/samfisherirl/GuiResizer-Addons/tree/main simple redraw function for dark backgrounds, I find stylized backgrounds have artifacts when resizing but I d...
by sashaatx
27 Apr 2024, 20:00
Forum: Scripts and Functions (v2)
Topic: OnScreen Keyboard & Separate NumPad - Dark-themed - Responsive/Resizable Design - Template
Replies: 2
Views: 532

OnScreen Keyboard & Separate NumPad - Dark-themed - Responsive/Resizable Design - Template

I needed this for a commercial application, it'll divulge from this point to something more application specific. It utilizes GuiResizer which can be found here: https://www.autohotkey.com/boards/viewtopic.php?f=83&t=113921&hilit=guiresizer I used Easy AutoGui Clone, and my GuiResizer converter http...
by sashaatx
28 Mar 2024, 04:12
Forum: Scripts and Functions (v2)
Topic: LV_GridColor()
Replies: 3
Views: 1378

Re: LV_GridColor()

Related: ListView Grid line color option #Requires AutoHotkey v2.0 MainGui := Gui( , "LV Test") MainLV := MainGui.AddListView("w400 r15 BackgroundLime Grid CNavy", StrSplit("Col1|Col2|Col3|Col4", "|")) Loop 25 MainLV.Add("", A_Index, A_Index, A_Index, A_Index) LV_GridColor(MainLV, "Red") MainGui.Sh...
by sashaatx
14 Mar 2024, 20:31
Forum: Scripts and Functions (v2)
Topic: Pulover's Macro Creator for v2 [mod]
Replies: 23
Views: 7373

Re: Pulover's Macro Creator for v2 [mod]

guest3456 wrote:
03 Oct 2023, 13:31
guest3456 wrote:
04 May 2023, 12:34
you've added MIT license but you are required by the GPL to keep your derivative work also as GPL. you should also keep Pulover's original license and copyright in the main dir
^

this project is still ILLEGALLY licensed as of the time of this post
I'm sorry I missed this, I have updated.
by sashaatx
08 Mar 2024, 15:14
Forum: Scripts and Functions (v2)
Topic: GUI for Testing Multiple Scripts Over 1ks Of Iterations for Speed Optimization
Replies: 8
Views: 1750

Re: GUI for Testing Multiple Scripts Over 1ks Of Iterations for Speed Optimization

Try this test, runs faster than first one, so commas still win! Loop 1000000 t2a:=t2b:=t2c:=t2d:=t2e:=1 t2f:=t2g:=t2h:=t2i:=t2j:=1 test2 := QPC(0), QPC(1) Loop 1000000 t3a:=1,t3b:=1,t3c:=1,t3d:=1,t3e:=1 t3f:=1,t3g:=1,t3h:=1,t3i:=1,t3j:=1 test3 := QPC(0), QPC(1) Good catch! But Let me know if I unde...
by sashaatx
07 Mar 2024, 17:02
Forum: Scripts and Functions (v2)
Topic: GUI for Testing Multiple Scripts Over 1ks Of Iterations for Speed Optimization
Replies: 8
Views: 1750

Re: AHKv2 Test Multiple Scripts for Speed Optimization

updated to include richcode, and some surprising findings. When you go to modify and re-share code developed by other people, please pay attention to how their code is licensed and make sure to follow the license terms. RichCode is licensed under the MIT license, which does allow redistribution wit...
by sashaatx
04 Mar 2024, 23:27
Forum: Scripts and Functions (v2)
Topic: GUI for Testing Multiple Scripts Over 1ks Of Iterations for Speed Optimization
Replies: 8
Views: 1750

Re: GUI for Testing Multiple Scripts Over 1ks Of Iterations for Speed Optimization

Great finding. Any idea why combining in single line is slightly slower? How about if else vs ternary and switch cases I would only be speculating. From reading when I first discovered this, as an interpreter for a language becomes more efficient, deviations from that designed path can be inhibitiv...
by sashaatx
03 Mar 2024, 19:35
Forum: Scripts and Functions (v2)
Topic: GUI for Testing Multiple Scripts Over 1ks Of Iterations for Speed Optimization
Replies: 8
Views: 1750

Re: AHKv2 Test Multiple Scripts for Speed Optimization

updated to include richcode, and some surprising findings. Commas and Combined lines aren't faster in v2; with caveats. ============================================================ Over the course of 3 months, I've learned some optimization tricks. After a deeper dive and some reflection, I've found...
by sashaatx
20 Feb 2024, 20:16
Forum: Scripts and Functions (v2)
Topic: AutoResizer => Responsive Gui Controls without code change
Replies: 5
Views: 1402

Re: AutoResizer => Responsive Gui Controls without code change

cgx5871 wrote:
20 Feb 2024, 02:31
How to specify a control not to follow changes?@sashaatx
i have a method built in but it depends on the changes, theres colors, sizes, show or not show. If you specify, happy to help
by sashaatx
15 Feb 2024, 06:14
Forum: Tutorials (v2)
Topic: Combining lines for Expressions isn't faster in v2; with caveats.
Replies: 1
Views: 538

Combining lines for Expressions isn't faster in v2; with caveats.

Hello AHK Community, Over the past few months, I’ve been fine-tuning my skills in AHKv2 and have come across some interesting findings regarding optimization. While exploring, I realized that some of the speed optimization tricks that worked in AHKv1 don’t translate well to AHKv2. Key Point : In AHK...
by sashaatx
14 Feb 2024, 15:01
Forum: General Discussion
Topic: Opinion: For AHKv2, We should move away from writing Examples into inline comment docs, adopt if __main__
Replies: 7
Views: 784

Re: Opinion: For AHKv2, We should move away from writing Examples into inline comment docs, adopt if __main__

[Mod edit: Reduced giant, unspecific quote. Please use quotes more selectively.] hi geek quick question as a uninformed user of interpreted languages I understand a bit about static methods, try to keep my class methods static where possible to reduce memory overhead, static __New() intuitively thi...
by sashaatx
13 Feb 2024, 15:12
Forum: General Discussion
Topic: Opinion: For AHKv2, We should move away from writing Examples into inline comment docs, adopt if __main__
Replies: 7
Views: 784

Re: Opinion: For AHKv2, We should move away from writing Examples into inline comment docs, adopt if __main__

I may be misunderstanding, but I don't agree with this suggestion. I don't intend to be harsh here, just thorough, so if I come off as aggressive at all I do apologize. Python's if __name__ == '__main__': construct, in my opinion at least, has more to do with making runnable files also includable r...
by sashaatx
13 Feb 2024, 02:40
Forum: General Discussion
Topic: Opinion: For AHKv2, We should move away from writing Examples into inline comment docs, adopt if __main__
Replies: 7
Views: 784

Opinion: For AHKv2, We should move away from writing Examples into inline comment docs, adopt if __main__

This is addressed towards authors in the community of Class Libs. I believe we should adopt the python-esk clean data standard. The below example and titles' thesis would not only clean up organization and standardized, it would heavily encourage an abstracted focused formatting. As in python, a scr...
by sashaatx
13 Feb 2024, 02:12
Forum: Scripts and Functions (v2)
Topic: simple no-cost json storage API
Replies: 2
Views: 473

simple no-cost json storage API

warning: insecure. dont store sens data. There was a simple no cost json from this github called anon storage, I believe. https://github.com/samfisherirl/public-apis I found this in its stead in the pull requests. I use it for testing non-commercial api data and for basic tasks between computers lik...

Go to advanced search