Search found 403 matches

by TheArkive
16 Nov 2020, 05:32
Forum: Scripts and Functions
Topic: GetFileAttributesEx() - 2020/11/15
Replies: 16
Views: 2128

Re: GetFileAttributesEx() - 2020/11/15

just me thanks for posting. More benchmarking data is always good. It turns out a file loop is a bit faster than a file array loop while using the built in AHK FileGet... functions to get the file properties. 280,362 - 28.297s / 28.64s calling ahk_attribs() (Created/Modified/Size) 280,337 - 28.09s ...
by TheArkive
16 Nov 2020, 05:04
Forum: Scripts and Functions
Topic: GetFileAttributesEx() - 2020/11/15
Replies: 16
Views: 2128

Re: GetFileAttributesEx() - 2020/11/15

@just me
I have to admit, I didn't think of that :facepalm:

Now I'm curious. I'll run some tests.
by TheArkive
16 Nov 2020, 04:51
Forum: Scripts and Functions
Topic: GetFileAttributesEx() - 2020/11/15
Replies: 16
Views: 2128

Re: GetFileAttributesEx() - 2020/11/15

just me Of course, not trying to make wild claims. This is not meant to be used in a file loop at all. This is for a file array only, where the file list may not be sequential in a way that a file loop would require. EDIT: And of course the testing done was with a few hundred thousand files. I'll u...
by TheArkive
15 Nov 2020, 16:53
Forum: AutoHotkey v2 Scripts and Functions
Topic: GetFileAttributesEx() - 2020/11/15 - a122
Replies: 0
Views: 122

GetFileAttributesEx() - 2020/11/15 - a122

Thanks to robodesign for testing, benchmarking, and assistance with optimizations. His work took this already fast function and reduced processing time by several seconds. Thanks to just me for suggesting the "file loop" method. This added more benchmark data for a more complete comparison. AHK v1 v...
by TheArkive
15 Nov 2020, 16:49
Forum: Scripts and Functions
Topic: GetFileAttributesEx() - 2020/11/15
Replies: 16
Views: 2128

GetFileAttributesEx() - 2020/11/15

Thanks to robodesign for testing, benchmarking, and assistance with optimizations. His work took this already fast function and reduced processing time by several seconds. Thanks to @just me for suggesting the "file loop" method. This added more benchmark data for a more complete comparison. AHK v2 ...
by TheArkive
14 Nov 2020, 17:17
Forum: AutoHotkey v2 Scripts and Functions
Topic: JSON - load and dump arrays to/from JSON - AHK v1/2 - 2020/10/10 - a122
Replies: 25
Views: 5539

Re: JSON - load and dump arrays to/from JSON - AHK v1/2 - 2020/10/10 - a122

Curdflappers Look at the 2nd post in this thread. My library is actually already converted from cocobelgica (see 1st post, 1st link). Just don't want you to spend unnecessary time if ya don't have to. Post #1 is for AHK v2 Post #2 is for AHK v1 Hopefully you can just copy-paste for whatever version...
by TheArkive
14 Nov 2020, 05:05
Forum: AutoHotkey v2 Scripts and Functions
Topic: JSON - load and dump arrays to/from JSON - AHK v1/2 - 2020/10/10 - a122
Replies: 25
Views: 5539

Re: JSON - load and dump arrays to/from JSON - AHK v1/2 - 2020/10/10 - a122

@Curdflappers
Sure man, no problem. What exactly are you trying to convert? I have both AHK v1 and v2 scripts posted in this thread. AHK v1 version is in post #2.
by TheArkive
09 Nov 2020, 15:08
Forum: AutoHotkey v2 Scripts and Functions
Topic: IronToolbar - 2020/11/22 - a122
Replies: 4
Views: 352

Re: IronToolbar - 2020/11/09 - a122

Update 2020/11/09: Added enhancements to Easy Mode. Now MixedButtons , List , and Flat Styles/ExStyles are automatically applied to the toolbar. This allows a mixture of only-icon buttons, only-text buttons, and icon+text buttons (where text is to the right of the icon). Added ability to disable Mix...
by TheArkive
05 Nov 2020, 14:26
Forum: AutoHotkey v2 Scripts and Functions
Topic: IronToolbar - 2020/11/22 - a122
Replies: 4
Views: 352

IronToolbar - 2020/11/22 - a122

https://raw.githubusercontent.com/TheArkive/IronToolbar_AHK/master/images/Preview2.gif https://github.com/TheArkive/IronToolbar_AHK/raw/master/images/preview.gif Download on :arrow: GitHub The goal with this class script is simplicity. You can still exercise lots of granular control manually, but I...
by TheArkive
01 Nov 2020, 05:00
Forum: Scripts and Functions
Topic: CNG (Cryptography API: Next Generation)
Replies: 82
Views: 44178

Re: CNG (Cryptography API: Next Generation)

Could this possibly be used to replicate TLS v1.2 or v1.3 protocol over socket connections?
by TheArkive
28 Oct 2020, 08:19
Forum: AutoHotkey v2 Scripts and Functions
Topic: Windows Service Control Functions - 2020/10/28 - a122
Replies: 3
Views: 1160

Re: Windows Service Control Functions - 2020/10/28 - a122

Update 2020/10/28: Fixed up Service_Add() and Service_Delete() (tested and working on my system - make sure you have admin rights!) Added text output option for Service_State(svcName,textOutput := false) Created a better example for looping through the output Map() returned by Service_List() Can't g...
by TheArkive
27 Oct 2020, 15:51
Forum: AutoHotkey v2 Scripts and Functions
Topic: Msgbox2 - customizable msgbox - 2020/10/27 - a122
Replies: 3
Views: 717

Re: Msgbox2 - customizable msgbox - 2020/10/27 - a122

Update 2020/10/27: optimized / condensed code (managed to cut over 250 lines / 5000+ chars) added optional callback function for help button changed auto-sizing up a bit to be more intuitive added options: x, y, width, height, margin updated docs modified options syntax to be more consistent though ...
by TheArkive
23 Oct 2020, 08:36
Forum: About This Community
Topic: My absense for several months now
Replies: 4
Views: 355

Re: My absense for several months now

Sorry to hear about your struggles. And I'm happy you have found a way through it so far. I hope you get better :)
by TheArkive
23 Oct 2020, 07:38
Forum: AutoHotkey v2 Scripts and Functions
Topic: Save/Load TreeView Part 2 - 2020/10/23
Replies: 0
Views: 252

Save/Load TreeView Part 2 - 2020/10/23

AHK v1 version is here . Main highlights: Save TreeView nodes, structure, and properties to array. Load TreeView nodes, structure, and properties from array. TreeView items can contain any valid text (no semicolon used as separator in this method). Preserves Expand, Bold, Check properties of each no...
by TheArkive
23 Oct 2020, 05:51
Forum: Scripts and Functions
Topic: Save/Load TreeView Part 2 - 2020/10/22
Replies: 2
Views: 205

Re: Save/Load TreeView Part 2 - 2020/10/22

@elModo7

Glad ya like it :D ... I've started going through some of the libs i've created (some of them are silly - some more useful) ... and it was high time to find a way to remove the limitations of the last version of this script.
by TheArkive
22 Oct 2020, 16:39
Forum: Scripts and Functions
Topic: Save/Load TreeView Part 2 - 2020/10/22
Replies: 2
Views: 205

Save/Load TreeView Part 2 - 2020/10/22

AHK v2 version is here . Main highlights: Save TreeView nodes, structure, and properties to array. Load TreeView nodes, structure, and properties from array. TreeView items can contain any valid text (no semicolon used as separator in this method). Preserves Expand, Bold, Check properties of each no...
by TheArkive
20 Oct 2020, 16:06
Forum: AutoHotkey v2 Scripts and Functions
Topic: Socket Class - 2020/10/20 - a122
Replies: 0
Views: 233

Socket Class - 2020/10/20 - a122

Thanks to GeekDude and Bentschi for their work. This is my version, fixed up for AHK v2. Socket-result.png Download on GitHub This class simply makes sockets accessible, and reasonably easy to manage. The buffer in the callback function is a raw binary buffer, but can be easily converted to plain te...
by TheArkive
17 Oct 2020, 18:37
Forum: Scripts and Functions
Topic: AHK Portable Installer v1.11
Replies: 47
Views: 11612

Re: AHK Portable Installer v1.10

Update 2020/10/18
  • Rewrote registry handling to be as fast as it was in v1.8
  • Reorganized some GUI controls and labeled some things better.
  • Updated docs.
  • Updated OP with a more concise list of features.

Go to advanced search