Search found 1111 matches

by TAC109
14 Apr 2024, 17:04
Forum: Scripts and Functions (v1)
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 74
Views: 19454

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

helloicanseeu ScriptGuard should work with all recent versions of AutoHotkey v1.1 and v2, so I suspect that something else is going on here. Could you please supply more details about the problem you experienced, including a screenshot of Ahk2Exe with parameters supplied, and the ;@Ahk2Exe- lines i...
by TAC109
14 Apr 2024, 03:21
Forum: Scripts and Functions (v1)
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 74
Views: 19454

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

helloicanseeu It looks like you usually compile with a *.bin base file. Have you inadvertently tried to compile using a *.exe base file? If you wish to continue to compile against an *.exe base file in future you will need to change the relevant ;@Ahk2Exe- lines in your script. (See the summary in ...
by TAC109
12 Apr 2024, 20:44
Forum: Scripts and Functions (v1)
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 74
Views: 19454

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

@jsong55 Could you explain the reason for your request, please.

Cheers
by TAC109
11 Apr 2024, 23:14
Forum: Scripts and Functions (v1)
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 74
Views: 19454

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

guest3456 There is a disadvantage with AutoHotkey_H in that to change the password used, it is necessary to modify it in the AHK_H source and recompile to generate a new AutoHotkey_H executable. With ScriptGuard a different random password key is automatically generated to encode the source, each t...
by TAC109
10 Apr 2024, 23:50
Forum: Ask for Help (v1)
Topic: ahk compile
Replies: 2
Views: 50

Re: ahk compile

You can: Cheers
by TAC109
10 Apr 2024, 21:35
Forum: Visual Studio Code
Topic: Compile Error No default Base file specified on VSCode AutoHotKey Plus Plus Extension
Replies: 1
Views: 89

Re: Compile Error No default Base file specified on VSCode AutoHotKey Plus Plus Extension

The error message is trying to help you with this problem. Press the Windows key and select Ahk2Exe to open the Ahk2Exe GUI (graphical user interface). In the 'base file' drop-down select the 'v2.0.12 U64 AutoHotkey64.exe' entry (for example). (You can select any other options you wish to use as def...
by TAC109
02 Apr 2024, 19:02
Forum: Scripts and Functions (v1)
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 74
Views: 19454

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

Update 03 Apr 2024

Document that ScriptGuard can be used with AutoHotkey_H v2.
by TAC109
30 Mar 2024, 22:04
Forum: Ask for Help
Topic: can't compile with ahk2exe_h but works fine with normal
Replies: 17
Views: 235

Re: can't compile with ahk2exe_h but works fine with normal

thqby wrote:
30 Mar 2024, 20:41
@TAC109

In my tests, ScriptGuard2 also works for ahk_h.
Well, I didn’t know that! Thanks for letting me know.

Cheers
by TAC109
30 Mar 2024, 17:40
Forum: Ask for Help
Topic: can't compile with ahk2exe_h but works fine with normal
Replies: 17
Views: 235

Re: can't compile with ahk2exe_h but works fine with normal

Trying to encrypt the compiled version. So I followed the steps to set the password in C++ with Visual Studio Rather than trying to convert your scripts to AutoHotkey_H so as to allow encryption of your source, you could instead try ScriptGuard which also encrypts compiled scripts and works with re...
by TAC109
30 Mar 2024, 17:29
Forum: General Discussion
Topic: How many have Spinning HDs vs SSDs?
Replies: 12
Views: 225

Re: How many have Spinning HDs vs SSDs?

Thanks for the feedback. Windows caches access to permanent disks anyway. Are you sure it will help performance to write your own caching scheme as well? I'm actually not sure... My main reason for doing this is because I just think it might be annoying to people if their HD has to wake up and spin...
by TAC109
29 Mar 2024, 21:15
Forum: General Discussion
Topic: How many have Spinning HDs vs SSDs?
Replies: 12
Views: 225

Re: How many have Spinning HDs vs SSDs?

Windows caches access to permanent disks anyway. Are you sure it will help performance to write your own caching scheme as well?

Cheers
by TAC109
28 Mar 2024, 20:35
Forum: Ask for Help
Topic: can't compile with ahk2exe_h but works fine with normal
Replies: 17
Views: 235

Re: can't compile with ahk2exe_h but works fine with normal

You should post this question in the AutoHotkey_H section of the forums.

Cheers
by TAC109
22 Mar 2024, 18:07
Forum: Ask for Help (v2)
Topic: Migrating custom compiler to v2 Topic is solved
Replies: 9
Views: 169

Re: Migrating custom compiler to v2 Topic is solved

To compile a script as v2 you can specify a v2 base file in your Run statement, e.g. '/Base C:\Program Files\AutoHotkey\v2\AutoHotkey64.exe'. Alternative methods of specifying a base file to be used for compilation are: Run the Ahk2Exe GUI and select a v2 default base file and press 'save as default...
by TAC109
19 Mar 2024, 15:44
Forum: Ask for Help (v1)
Topic: Hide everything "autohotkey" from a script
Replies: 3
Views: 141

Re: Hide everything "autohotkey" from a script

You can try my ScriptGuard, link is in my signature.

You can change the compiled program's icons by using the compiler directives AddResource and SetMainIcon.

Edit: Also compressing the compiled script with UPX or Mpress will further obscure the code.

Cheers
by TAC109
15 Mar 2024, 20:13
Forum: Scripts and Functions (v1)
Topic: Upcoming Ahk2Exe Changes (2024)
Replies: 626
Views: 181458

Re: Upcoming Ahk2Exe Changes (2024)

Update 1.1.37.01c1, 16 March 2024
  • Send parameter errors to stdout/stderr if in /Silent mode.
  • Prevent compression when compiling Ahk2Exe.
See this post for download details.
by TAC109
27 Feb 2024, 00:05
Forum: Ask for Help (v1)
Topic: works fine as .ahk but bugs when an exe Topic is solved
Replies: 9
Views: 178

Re: works fine as .ahk but bugs when an exe Topic is solved

The error message shown does not relate to the code you posted. Can you double check that you compiled the correct source.

Cheers
by TAC109
11 Feb 2024, 18:55
Forum: Scripts and Functions (v1)
Topic: Upcoming Ahk2Exe Changes (2024)
Replies: 626
Views: 181458

Re: Upcoming Ahk2Exe Changes (2024)

Update - 1.1.37.01c0, 12 February 2024
  • Rationalise detection of major AHK version.
  • Enhance for MS Store version.
See this post for download details.
by TAC109
29 Jan 2024, 23:01
Forum: Ask for Help (v1)
Topic: auto delete script after 7 days ? Topic is solved
Replies: 22
Views: 2181

Re: auto delete script after 7 days ? Topic is solved

You can use this code in your main script after it has decided that it is time to delete the script or .exe file: MsgBox The compiled .exe ; For testing ; Must be compiled with an .exe base file ;@Ahk2Exe-Base ..\AutoHotkeyU32.exe, %A_ScriptName~\.[^\.]+$%_1 if A_IsCompiled ; Code to delete the runn...
by TAC109
27 Jan 2024, 16:20
Forum: Ask for Help (v1)
Topic: how to get the name of the script ? Topic is solved
Replies: 3
Views: 378

Re: how to get the name of the script ? Topic is solved

The code I posted in my previous reply handles script names of up to 39 characters, including the extension (.ahk). If the names are likely to be longer than this, extend the line marked 'A random string' with some more random characters and also extend the duplicate string in the code with the same...

Go to advanced search