Search found 346 matches

by cyruz
Yesterday, 16:06
Forum: Scripts and Functions (v2)
Topic: Efficient notification of process closure (or Win32 handle signal)
Replies: 3
Views: 840

Re: Efficient notification of process closure (or Win32 handle signal)

lexikos I remember that in the old forum I wrote a library using RegisterWaitForSingleObject with an ordinary AHK callback and you outlined the mistakes in that approach, mentioning machine code callbacks as an alternative. Now after all this time I need this code again and it's cool to see it in V...
by cyruz
25 Jul 2023, 04:26
Forum: Off-topic Discussion
Topic: Lexikos Lexicos
Replies: 6
Views: 4565

Re: Lexikos Lexicos

Still mistaking a lot here, it's lexikos, not Lexikos :mrgreen: :mrgreen:
by cyruz
03 Jul 2023, 10:10
Forum: Scripts and Functions (v2)
Topic: [CLASS] LiveThumb - DWM thumbnail implementation
Replies: 9
Views: 1197

Re: [CLASS] LiveThumb - DWM thumbnail implementation

Thanks for the work Gonz0 and for tagging me neogna2 . Didn't have the time to try yet, but at a first look, this part in QuerySourceSize will probably throw an error. Return False SIZE := Buffer(0) Return [NumGet(SIZE, 0, "Int"), NumGet(SIZE, 4, "Int")] SIZE := Buffer(0) I think you can just forget...
by cyruz
22 Mar 2023, 05:49
Forum: Ask for Help (v2)
Topic: How to use Mutex in V2 Topic is solved
Replies: 8
Views: 998

Re: How to use Mutex in V2 Topic is solved

I remembered I wrote a a class on V1 before: viewtopic.php?t=66454

It’s short, it should be trivial to translate it to V2.
by cyruz
17 Mar 2023, 11:45
Forum: General Discussion
Topic: What has happened to AutoHotkey?!
Replies: 33
Views: 7169

Re: What has happened to AutoHotkey?!

I kind of agree. I’m all for it to be honest, because I have a Computer Science background, but it is evident that the code being created and shared in the past years is more complex. This is what reconciled me with my programming passion, but I can understand that for the casual programmer, underst...
by cyruz
13 Mar 2023, 12:36
Forum: Scripts and Functions (v2)
Topic: WiseGui() : Themed splash text UI
Replies: 31
Views: 8708

Re: WiseGui() : Themed splash text UI

Thanks @NPerovic, I already fixed it that way, I didn't review the code though.
by cyruz
05 Mar 2023, 06:45
Forum: Wish List
Topic: [v2] __Static property and the :: operator
Replies: 15
Views: 2726

Re: [v2] __Static property and the :: operator

Hi geek,

what about %this.__Class%?
by cyruz
04 Mar 2023, 22:47
Forum: Scripts and Functions (v2)
Topic: [LIB] StdoutToVar
Replies: 9
Views: 2002

Re: [LIB] StdoutToVar

@cyruz This seems to be a very nice function. Thanks a lot for this. But one question, what is the advantage of this function compared to this example in the documentation? Cheers Hi, this is an old function that is around since when AutoHotkey basic was the main version, I think. Not sure how it c...
by cyruz
01 Mar 2023, 13:07
Forum: Scripts and Functions (v2)
Topic: ctypes - create struct, union, array and pointer binding
Replies: 8
Views: 1443

Re: ctypes - create struct, union, array and pointer binding

Sick stuff.

PS: how this obj := (Buffer.Call)(this, this.size, 0) differs from obj := super(this.size, 0)?
by cyruz
17 Feb 2023, 22:18
Forum: Scripts and Functions (v1)
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 54
Views: 18989

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

TAC109 wrote:
16 Feb 2023, 17:42
A one time password linked to an external server would be way beyond the scope of this ScriptGuard project.

Cheers
Yeah definitely, I just got carried out by the discussion about the encryption. It's probably something that deserves its own thread.
by cyruz
15 Feb 2023, 17:22
Forum: Scripts and Functions (v1)
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 54
Views: 18989

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

Regarding the encryption, it would be nice (not for the end user though) to user server side code to release an OTP to decrypt the code. It would be an "always online licensing mechanism". As much as I hate "always online" and I cursed Blizzard when they forced me to be be always online when they re...
by cyruz
12 Feb 2023, 01:34
Forum: Scripts and Functions (v2)
Topic: [v2.0.2] File path to file ID and back again
Replies: 3
Views: 864

Re: [v2.0.2] File path to file ID and back again

Interesting, it makes sense. Thanks for describing your usage pattern; I’m kinda obsessed by organizing files and notes and it’s nice to know about how others deal with this very same obsession.
by cyruz
09 Feb 2023, 17:19
Forum: Scripts and Functions (v2)
Topic: [v2.0.2] File path to file ID and back again
Replies: 3
Views: 864

Re: [v2.0.2] File path to file ID and back again

Hi, I was just wondering, in your specific use case, if you have any reason to not use the filepath itself that is also an unique identifier for the file.
by cyruz
01 Feb 2023, 17:00
Forum: Scripts and Functions (v2)
Topic: [FUNCTION] Net_GetNetworkProfilesInfo
Replies: 4
Views: 999

Re: [FUNCTION] Net_GetNetworkProfilesInfo

@cyruz Would you be able/willing to create another Net_GetNetworkProfilesInfo function to work with AHK V1? Hi DataLife, I'm not using V1 anymore, but I'll have a look into it, not soon! I found another solution, so you don't need to do it for me. thanks I have a V1 script that the method I was usi...
by cyruz
31 Jan 2023, 17:33
Forum: Scripts and Functions (v2)
Topic: [FUNCTION] Net_GetNetworkProfilesInfo
Replies: 4
Views: 999

Re: [FUNCTION] Net_GetNetworkProfilesInfo

DataLife wrote:
31 Jan 2023, 14:10
@cyruz
Would you be able/willing to create another Net_GetNetworkProfilesInfo function to work with AHK V1?
Hi DataLife, I'm not using V1 anymore, but I'll have a look into it, not soon!
by cyruz
29 Jan 2023, 01:26
Forum: Scripts and Functions (v2)
Topic: [CLASS] RegFile - .reg file implementation
Replies: 0
Views: 439

[CLASS] RegFile - .reg file implementation

Hi guys, the following class implements a .reg file as object, allowing for key/subkey population and string/file output. Generated files try to be as close as possible to .regs exported by the Registry Editor and can be imported. There is currently no ReadFile function, because I don't need a parse...
by cyruz
24 Jan 2023, 15:56
Forum: Scripts and Functions (v2)
Topic: Run v1 libraries in-process with AutoHotkey.dll
Replies: 5
Views: 1834

Re: Run v1 libraries in-process with AutoHotkey.dll

@lexikos

I see that you are developing the "official" dll... :D
by cyruz
21 Jan 2023, 19:05
Forum: Scripts and Functions (v2)
Topic: WiseGui() : Themed splash text UI
Replies: 31
Views: 8708

Re: WiseGui() : Themed splash text UI

Great stuff as usual SKAN. There is a little bug that can be triggered with this code, clicking on the WiseGui before clicking on the message box: #Include <WiseGui> mon := MonitorGetPrimary() WiseGui("Test", "Theme: Info" , "MainText: Test" , "SubText: Subtext test" , "Move: -10, -10, " mon ) msgbo...
by cyruz
18 Jan 2023, 15:16
Forum: Scripts and Functions (v2)
Topic: [FUNCTION] Gui_QuickAbout - Quick and dirty about/help gui
Replies: 9
Views: 1284

Re: [FUNCTION] Gui_QuickAbout - Quick and dirty about/help gui

Nice function! Anyway, please feel free to modify it or talk about any possible improvement. You can combine the two SendMessage 's SendMessage(0xD3, 1, nPadSx,, "ahk_id " oEditCtrl.Hwnd) ; EM_SETMARGINS = 0xD3 SendMessage(0xD3, 2, nPadRx << 16,, "ahk_id " oEditCtrl.Hwnd) ; EM_SETMARGINS = 0xD3 int...
by cyruz
17 Jan 2023, 18:09
Forum: Scripts and Functions (v2)
Topic: [CLASS] ConfMan - Ini Management Class
Replies: 3
Views: 999

[CLASS] ConfMan - Ini Management Class

Hi guys, due to my recent switch to V2 and the need to dig deep into its object implementation, I decided to rewrite the function I use to manage the configuration in my scripts into a class. This is basically a class that can be used to configure an object representing the content of a "ini" file a...

Go to advanced search