Search found 253 matches
- 15 Apr 2024, 05:45
- Forum: Ask for Help (v2)
- Topic: How to call nested function? Topic is solved
- Replies: 15
- Views: 317
Re: How to call nested function? Topic is solved
@xMaxrayx thanks for your contribution but the context of my question wasn't clear. And in that context lexikos answer is best and I have marked his
- 14 Apr 2024, 06:27
- Forum: Ask for Help (v2)
- Topic: How to call nested function? Topic is solved
- Replies: 15
- Views: 317
- 13 Apr 2024, 19:26
- Forum: Ask for Help (v2)
- Topic: How to call nested function? Topic is solved
- Replies: 15
- Views: 317
Re: How to call nested function? Topic is solved
Code: Select all
MyGui.Click := Button_Click
- 12 Apr 2024, 03:25
- Forum: Ask for Help (v2)
- Topic: How to call nested function? Topic is solved
- Replies: 15
- Views: 317
Re: How to call nested function? Topic is solved
@lexikos
Sorry to make you guess. I'll use example code next time I ask the question.
Sorry to make you guess. I'll use example code next time I ask the question.
- 12 Apr 2024, 03:24
- Forum: Ask for Help (v2)
- Topic: How to call nested function? Topic is solved
- Replies: 15
- Views: 317
Re: How to call nested function? Topic is solved
Oh Brilliant suggestion. I did just that. Used BoundFunc to attach it to the Gui object as a method.
So now it can be called anywhere.
So now it can be called anywhere.
- 12 Apr 2024, 02:09
- Forum: Scripts and Functions (v1)
- Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
- Replies: 74
- Views: 19917
Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
@TAC109 can we request a feature to use our own password? Say from a disposable ini file.
- 12 Apr 2024, 01:54
- Forum: Ask for Help (v2)
- Topic: How to call nested function? Topic is solved
- Replies: 15
- Views: 317
Re: How to call nested function? Topic is solved
Thanks! Yes I think my use case is such where I build the gui with a function BuildGui() Then I added a button and have a nested function BtnClicked(*) Now somewhere else in the code I want to run the BtnClicked function, without having to Focus the Control and Send {enter} as the Gui Window may not...
- 11 Apr 2024, 21:17
- Forum: Scripts and Functions (v1)
- Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
- Replies: 74
- Views: 19917
Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
I go with ScriptGuard as there are some differences in _H vs _L and I don't have time to modify too much code to adjust
- 11 Apr 2024, 21:09
- Forum: Ask for Help (v2)
- Topic: How to call nested function? Topic is solved
- Replies: 15
- Views: 317
How to call nested function? Topic is solved
Code: Select all
fn1()
{
fn2()
{
}
}
- 10 Apr 2024, 00:16
- Forum: Scripts and Functions (v1)
- Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
- Replies: 74
- Views: 19917
Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Good point but let's not discuss in this thread.. is there a thread to tackle that?
- 09 Apr 2024, 22:25
- Forum: Scripts and Functions (v1)
- Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
- Replies: 74
- Views: 19917
Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
UPX works! Guess I'll stick to it for now. About the AntiVirus, it's a false positive so just have to put on allow list. I sometimes encounter Windows Defender trying to remove it even without any compression
- 09 Apr 2024, 20:49
- Forum: Scripts and Functions (v1)
- Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
- Replies: 74
- Views: 19917
Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
@JoeWinograd
Interesting. Maybe I'll try UPX then.
Interesting. Maybe I'll try UPX then.
- 09 Apr 2024, 10:55
- Forum: Ask for Help (v2)
- Topic: Anyone know a AHK Native Equivalent or Know how to rewrite this Fuzzy Search?
- Replies: 1
- Views: 133
Anyone know a AHK Native Equivalent or Know how to rewrite this Fuzzy Search?
csharp_code(){ return c := " ( using System; class FuzzyMatcher { public int LevenshteinDistance(string string1, string string2) { if (string.IsNullOrEmpty(string1)) { if (string.IsNullOrEmpty(string2)) return 0; return string2.Length; } if (string.IsNullOrEmpty(string2)) { if (string.IsNullOrEmpty...
- 09 Apr 2024, 10:16
- Forum: Scripts and Functions (v1)
- Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
- Replies: 74
- Views: 19917
Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
I'm compiling with v2.0.9 U64 AutoHotkey64.exe and MPRESS, script does not run. Without MPRESS works fine. Can help please?
- 04 Apr 2024, 09:16
- Forum: Ask for Help (v2)
- Topic: ideas for a auto updating app
- Replies: 5
- Views: 137
Re: ideas for a auto updating app
It ended up less straight forward than a few lines of code... But I pushed to production. Main App needs to write version number to text file, then call updater. Updater checks version by downloading json and prompts user. If current version = exit If yes proceed else exit. Then processclose main ap...
- 03 Apr 2024, 03:10
- Forum: Ask for Help (v2)
- Topic: ideas for a auto updating app
- Replies: 5
- Views: 137
Re: ideas for a auto updating app
boiler We would want to let the user choose whether to update the app and also to revert to a previous version... If needed. So the installer exe will need to ask the user if they wish to update and download the new version if so. I would use the command line 7z app to extract the password protecte...
- 02 Apr 2024, 23:44
- Forum: Ask for Help (v2)
- Topic: ideas for a auto updating app
- Replies: 5
- Views: 137
Re: ideas for a auto updating app
Kind of was looking forward to someone to point me to an existing library. But I couldn't find one on the forum.
- 02 Apr 2024, 09:50
- Forum: Ask for Help (v2)
- Topic: ideas for a auto updating app
- Replies: 5
- Views: 137
ideas for a auto updating app
Whenever, user runs it, uses something like URLDownloadToVar to get a JSON with newest version, check current version. Download new exe file reload and delete old?
- 01 Apr 2024, 10:21
- Forum: Ask for Help (v2)
- Topic: Trying to Parse a CSV that has line breaks the way excel does it Topic is solved
- Replies: 6
- Views: 166
Re: Trying to Parse a CSV that has line breaks the way excel does it Topic is solved
@mikeyww
thanks for your input sorry I wasn't clearer
thanks for your input sorry I wasn't clearer
- 01 Apr 2024, 10:07
- Forum: Ask for Help (v2)
- Topic: Trying to Parse a CSV that has line breaks the way excel does it Topic is solved
- Replies: 6
- Views: 166
Re: Trying to Parse a CSV that has line breaks the way excel does it Topic is solved
@flyingDman you hit the nail on the head, just needed that 2d array