Search found 573 matches

by TAC109
17 Sep 2020, 17:19
Forum: Ask For Help
Topic: Switch Statement not a recognized action Topic is solved
Replies: 4
Views: 48

Re: Switch Statement not a recognized action Topic is solved

The Switch command was new at version 1.1.31.00 of AutoHotkey. It might pay to double-check the version of AutoHotkey on the computer where your script doesn’t work.
by TAC109
14 Sep 2020, 00:01
Forum: Scripts and Functions
Topic: ReClip; a Text Reformatting and Clip Management Utility
Replies: 15
Views: 5950

Re: ReClip; a Text Reformatting and Clip Management Utility

The following text has been added to the first page of this thread. Warning: the Clip Management feature is not working correctly with AutoHotkey versions 1.1.33.00, 1.1.33.01, and 1.1.33.02, in that right-clicks on the clips menu are not recognised correctly. If you wish to change the source it is ...
by TAC109
13 Sep 2020, 22:43
Forum: Ask For Help
Topic: Open files in alphabetical order
Replies: 19
Views: 251

Re: Open files in alphabetical order

Or any other order, by date...etc. ... I select a bunch of (mostly PDF) files in Explorer...which IS set to "Sort Alphabetically", I'm looking right at it when I do this. I hit Enter to open all the files so I can print 'em. And they open in some sort of semi-random order. ... On the contrary, Wind...
by TAC109
13 Sep 2020, 18:43
Forum: Scripts and Functions
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 20
Views: 1391

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

c7aesa7r If you can ensure that the original ScriptGuard1 code was executed at the beginning of the script, say by checking a ListLines report, and there was no error message from the included code, then you can be sure that your script got removed from memory (as documented in the first post). I b...
by TAC109
06 Sep 2020, 18:53
Forum: Scripts and Functions
Topic: Upcoming Ahk2Exe Changes (2020)
Replies: 374
Views: 71364

Re: Upcoming Ahk2Exe Changes (2020)

@haichen
See this thread for background information.
by TAC109
05 Sep 2020, 22:20
Forum: AutoHotkey v2 Development
Topic: Syntax for AHK V2 documentation not valid according to compiler Topic is solved
Replies: 13
Views: 444

Re: Syntax for AHK V2 documentation not valid according to compiler Topic is solved

I've posted a new release of Ahk2Exe here which fixes this problem. (This version also contains other fixes and enhancements). JamesR404 I believe your other problem can be cured by following these steps: Unblock the downloaded V2 .zip by right-clicking it, selecting 'Properties', ticking/pressing '...
by TAC109
05 Sep 2020, 21:56
Forum: Scripts and Functions
Topic: Upcoming Ahk2Exe Changes (2020)
Replies: 374
Views: 71364

Re: Upcoming Ahk2Exe Changes (2020)

1.1.33.03_Beta_1, 6 September 2020 - Adds parameters to the PostExec directive. Stops Auto-Includes being executed directly by fall-through. Uses installation 'Default to UTF-8' setting. Allows multiple Bin directive Codepage parameters. Sets default V2 script encoding to UTF-8. Stops confusing erro...
by TAC109
05 Sep 2020, 16:56
Forum: AutoHotkey v2 Development
Topic: Syntax for AHK V2 documentation not valid according to compiler Topic is solved
Replies: 13
Views: 444

Re: Syntax for AHK V2 documentation not valid according to compiler Topic is solved

JoeWinograd JamesR404 Yes, there is a bug! If there is an installed version 1.1 of AutoHotkey and there is not an AutoHotkey.exe in the v2 folder (copied from one of the downloaded v2 AutoHotkeyU32.exe or AutoHotkeyU64.exe files) Ahk2Exe will mistakenly use the installed v1 for its processing. The ...
by TAC109
03 Sep 2020, 18:58
Forum: Bug Reports
Topic: Right-click Menu Item not Recognised Correctly
Replies: 0
Views: 98

Right-click Menu Item not Recognised Correctly

The facility to recognise a right-click to a menu item has ceased to work in AHK v1.1.33.00 and later. Instead it is mistakenly treated as a left-click. See here for background information. The following script demonstrates this problem. It is known to work correctly with versions 1.1.26.01 through ...
by TAC109
02 Sep 2020, 19:50
Forum: Ask For Help
Topic: variable unexplicably changes value
Replies: 2
Views: 37

Re: variable unexplicably changes value

You have an error in line 259:

Code: Select all

259: if (DailyNeeded := 0)    ; This line assigns 0 to DailyNeeded
259: if (DailyNeeded = 0)     ; This line checks DailyNeed against 0
by TAC109
01 Sep 2020, 18:17
Forum: AutoHotkey v2 Development
Topic: Syntax for AHK V2 documentation not valid according to compiler Topic is solved
Replies: 13
Views: 444

Re: Syntax for AHK V2 documentation not valid according to compiler Topic is solved

JamesR404 You need to copy the Ahk2Exe.exe from latest v1.1.33.02 download to the v2 Compiler directory and run it from there. It will then make use of the v2 AutoHotkey file(s) in the directory above the Compiler directory, as needed. So the file structure should be: AutoHotkey directory (v2) | (A...
by TAC109
27 Aug 2020, 02:31
Forum: Ask For Help
Topic: How to add .bmp file inside .exe? Topic is solved
Replies: 17
Views: 615

Re: How to add .bmp file inside .exe? Topic is solved

This line (number 94): ;@Ahk2Exe-PostExec %A_ScriptFullPath~\.[^\.]+$~PostExec.ahk% "%A_WorkFileName%" %A_ScriptName~\.[^\.]+$~.exe% is probably not needed in your script. It was in the demo script just to show how the PostExec directive works, but is not needed for your situation. Is this solution ...
by TAC109
26 Aug 2020, 23:35
Forum: Ask For Help
Topic: How to add .bmp file inside .exe? Topic is solved
Replies: 17
Views: 615

Re: How to add .bmp file inside .exe? Topic is solved

Apologies for the mistake in the demo. I’ve fixed this and you can download it again if you require.

Is your application working now?
by TAC109
26 Aug 2020, 19:10
Forum: Ask For Help
Topic: How to add .bmp file inside .exe? Topic is solved
Replies: 17
Views: 615

Re: How to add .bmp file inside .exe? Topic is solved

If you are using AutoHotkey version 1.1.33.00 or later, these facilities are built into the Ahk2Exe Compiler. Look in the AutoHotkey help file 'Miscellaneous topics' -> 'Convert a Script to an EXE' -> 'Compiler Directives'. At the end of the second 'Introduction' section in the 'Examples' there is a...
by TAC109
25 Aug 2020, 18:06
Forum: Scripts and Functions
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 20
Views: 1391

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

JoeWinograd There is a note in BinMod.ahk near the end of Example 1 which should deal with the situation you encountered: Users of ScriptGuard1 (bit.ly/ScriptGuard) should add a 1 to the 3rd line: ;@Ahk2Exe-Cont "1%U_au%2.>AUTOHOTKEY SCRIPT<. DATA " ~ If you use this method rather than changing Scr...
by TAC109
24 Aug 2020, 23:15
Forum: Scripts and Functions
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 20
Views: 1391

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

@guest3456
ScriptGuard2 will definitely not work with H, but ScriptGuard1 should work if the resource name is changed in the script above to that used in the H version of Ahk2Exe. @HotKeyIt could confirm?
Cheers
by TAC109
24 Aug 2020, 23:00
Forum: Scripts and Functions
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 20
Views: 1391

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

@JoeWinograd
I believe that discussing this would violate the forum rules on decompilation.
Cheers
by TAC109
24 Aug 2020, 18:10
Forum: Scripts and Functions
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 20
Views: 1391

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

ScriptGuard is not designed to be the complete answer to preventing compiled scripts from being revealed by a determined hacker, but is more to prevent casual examination of the script in a running compiled .exe. It grew from an idea I had that the script in memory was no longer needed after the .ex...

Go to advanced search