Search found 632 matches

by TAC109
01 Mar 2021, 14:50
Forum: AutoHotkey v2 Development
Topic: About traditional assignments
Replies: 6
Views: 312

Re: About traditional assignments

Apologies, I’m clearly not paying enough attention. :thumbdown:
by TAC109
28 Feb 2021, 20:19
Forum: AutoHotkey v2 Development
Topic: About traditional assignments
Replies: 6
Views: 312

Re: About traditional assignments

@john_c Referring to your first post, in v2 literals can be enclosed with either " or ', so by using ' for literal enclosure there is no need to double the embedded " marks.
by TAC109
27 Feb 2021, 03:43
Forum: Forum Issues
Topic: Spam on the Forum
Replies: 1
Views: 131

Spam on the Forum

I regularly see spam appearing on the forum from the first post of new users! As the posts of all new users are supposed to be moderated, how is this possible? Is there some loophole in the forum software that allows this to happen?
by TAC109
21 Feb 2021, 19:25
Forum: Ask For Help
Topic: Error Compiling Topic is solved
Replies: 2
Views: 95

Re: Error Compiling Topic is solved

This problem is fixed in the latest Ahk2Exe 1.1.33.03_Beta_2. To obtain this version you should follow this link and check the download and installation instructions in the first post. Replace the AutoHotkey_L version of the compiler with the beta version just downloaded. (You can update the AutoHot...
by TAC109
10 Feb 2021, 15:39
Forum: Ask For Help
Topic: Compiled script, needs AutoHotkey.exe?? Topic is solved
Replies: 11
Views: 171

Re: Compiled script, needs AutoHotkey.exe?? Topic is solved

If you look at the first few line of the encryptor there is facility for it to change the name of the included AutoHotkey.exe when it is extracted later, so you could make use of this to achieve what you want. Edit: In particular, see this line Ahk=%A_ScriptDir%\AutoHotkey.exe and the comments a few...
by TAC109
29 Jan 2021, 04:14
Forum: Ask For Help
Topic: AHK2exe compiled vs Resourcetuner
Replies: 11
Views: 577

Re: AHK2exe compiled vs Resourcetuner

;@Ahk2Exe-Obey U_au, = "%A_IsUnicode%" ? 2 : 1 ; .Bin file ANSI or Unicode? ;@Ahk2Exe-PostExec "BinMod.exe" "%A_WorkFileName%" ;@Ahk2Exe-Cont "%U_au%2.>AUTOHOTKEY SCRIPT<. DATA " In the last line, make sure that there is a leading space in the replacement string as shown here.
by TAC109
29 Jan 2021, 03:38
Forum: Ask For Help
Topic: AHK2exe compiled vs Resourcetuner
Replies: 11
Views: 577

Re: AHK2exe compiled vs Resourcetuner

Using the .exe compiled with BinMod, can you post a screen dump from Resource Tuner with the RCDATA item opened (similar to the screen shot in your second post in this thread)?

Thanks
by TAC109
25 Jan 2021, 18:50
Forum: Scripts and Functions
Topic: Upcoming Ahk2Exe Changes (2021)
Replies: 378
Views: 75526

Re: Upcoming Ahk2Exe Changes (2021)

1.1.33.03_Beta_2, 26 January 2021 -
  • Clarifies an anti-virus warning message.
  • Fixes a possible spurious '#Warn Unreachable' message.
See this post for download details.
by TAC109
23 Jan 2021, 03:26
Forum: Ask For Help
Topic: regex needle without using an additional variable Topic is solved
Replies: 1
Views: 58

Re: regex needle without using an additional variable Topic is solved

Use expression syntax:

Code: Select all

x := RegExReplace(myHaystack,"i)\b" myNeedle "\w*")
by TAC109
22 Jan 2021, 18:24
Forum: Ask For Help
Topic: AHK2exe compiled vs Resourcetuner
Replies: 11
Views: 577

Re: AHK2exe compiled vs Resourcetuner

I see in the advanced feature list of Resource Tuner that it supports: Automatic UPX unpacking. Now you can open files compressed with UPX even without knowing that: your file will be unpacked automatically! This will be why you can see your script using this utility even though the compiled script ...
by TAC109
21 Jan 2021, 22:53
Forum: Ask For Help
Topic: AHK2exe compiled vs Resourcetuner
Replies: 11
Views: 577

Re: AHK2exe compiled vs Resourcetuner

I see you have downloaded the Ahk2Exe source from the GitHub web site. Have you altered Ahk2Exe in any way? A simple way of determining if UPX is working is to examine the size of the compiled .exe. It should be much smaller when compressed than when uncompressed. Incidentally, I’m sure you know tha...
by TAC109
21 Jan 2021, 19:05
Forum: Ask For Help
Topic: How to set icons for compiled script (tray, taskbar, gui)?
Replies: 3
Views: 104

Re: How to set icons for compiled script (tray, taskbar, gui)?

As you say, there is Menu, Tray, icon.

For the others, there are some interesting results if you go to search from the front page of AutoHotkey.com and search for different taskbar icon.

Cheers
by TAC109
21 Jan 2021, 17:22
Forum: Ask For Help
Topic: AHK2exe compiled vs Resourcetuner
Replies: 11
Views: 577

Re: AHK2exe compiled vs Resourcetuner

The .exe which does not show rcdata was probably compiled using version 1.0 of AutoHotkey. This version used its own method of storing resource data and did not use the more standard rcdata method used in the more recent AutoHotkey version 1.1. Although you cannot hide the rcdata information in Auto...
by TAC109
20 Jan 2021, 15:52
Forum: Ask For Help
Topic: How to set icons for compiled script (tray, taskbar, gui)?
Replies: 3
Views: 104

Re: How to set icons for compiled script (tray, taskbar, gui)?

If you are using Ahk2Exe version 1.1.33.00 or later you can use Compiler Directives to set icons into the compiled .exe, rather than using Resource Hacker. (Check out the AddResource directive.) To make use of the embedded resources there are some examples here , and you could have a look at the cod...
by TAC109
16 Jan 2021, 20:59
Forum: Gaming
Topic: See /show AHK processing Topic is solved
Replies: 14
Views: 260

Re: See /show AHK processing Topic is solved

You are probably aware of this, but you can right-click the icon of your script in the system tray area to get a menu of different windows that can be opened to see what your script is doing. Alternatively, by downloading and running DebugVars you can monitor the variables of a running script in rea...
by TAC109
16 Jan 2021, 20:46
Forum: AutoHotkey v2 Help
Topic: Help with Ahk2Exe (AHK v2.0)
Replies: 5
Views: 122

Re: Help with Ahk2Exe (AHK v2.0)

It would appear that the version of Class_RitchEdit.ahk you have downloaded is not compatible with the version of AutoHotkey v2 you are using. Does your textcompare.ahk script run correctly without compiling? AutoHotkey v2 is a Beta product, and many script-breaking changes have been made to it over...
by TAC109
16 Jan 2021, 19:39
Forum: AutoHotkey v2 Help
Topic: Help with Ahk2Exe (AHK v2.0)
Replies: 5
Views: 122

Re: Help with Ahk2Exe (AHK v2.0)

The latest beta of Ahk2Exe may fix this problem. You can download it from here.
by TAC109
16 Jan 2021, 15:56
Forum: Ask For Help
Topic: if - compare - why does not work (as desired) Topic is solved
Replies: 11
Views: 209

Re: if - compare - why does not work (as desired) Topic is solved

the whole comparison becomes always a comparison with strings? (It's not needed "" on both sides of the equals sign like this?) if ("" 0064 = "" 64) MsgBox true Else MsgBox false As long as at least one side of the comparison is a string, the comparison will be done alphabetically. Cheers
by TAC109
15 Jan 2021, 21:00
Forum: Ask For Help
Topic: if - compare - why does not work (as desired) Topic is solved
Replies: 11
Views: 209

Re: if - compare - why does not work (as desired) Topic is solved

You can force an alphabetic comparison by using code like this:

Code: Select all

if ("" 64 = 0064)
     MsgBox true
Else MsgBox false

Concatenating an empty string to a number in this way forces an alphabetic comparison.
by TAC109
13 Jan 2021, 22:44
Forum: Ask For Help
Topic: Click menu by name
Replies: 2
Views: 62

Re: Click menu by name

Also, according to your screenshot, Send +{F4} should also select the item underlined.

Go to advanced search