Search found 1125 matches

by TAC109
05 Nov 2023, 00:39
Forum: About This Community
Topic: Autohotkey within the Microsoft Store
Replies: 53
Views: 33501

Re: Autohotkey within the Microsoft Store

I wrote: The Updater does the actual updating using a long DOS command line, mainly to avoid any file contention. For each file to be updated it deletes the file from the target, copies the new file from a temp location to the target, then if the copy succeeds deletes the file from the temp location...
by TAC109
04 Nov 2023, 18:49
Forum: About This Community
Topic: Autohotkey within the Microsoft Store
Replies: 53
Views: 33501

Re: Autohotkey within the Microsoft Store

I will remove the attempts at preserving virtualization in the next version, so your code should work unchanged then. However, keep in mind that if you launch Ahk2Exe through RunWait comspec, then virtualization will be disabled which means that registry read-writes won't work among other things. T...
by TAC109
03 Nov 2023, 22:02
Forum: About This Community
Topic: Autohotkey within the Microsoft Store
Replies: 53
Views: 33501

Re: Autohotkey within the Microsoft Store

Thanks for your reply. I guess I should have stated that I'm running Windows 10 (my system is too old for Win 11). I'm not sure the problem is in execution permissions. I did my testings in a Win 11 standard user environment, and compiling a v1 script with both AHK v1 U64 .bin and .exe created an ex...
by TAC109
02 Nov 2023, 19:47
Forum: About This Community
Topic: Autohotkey within the Microsoft Store
Replies: 53
Views: 33501

Re: Autohotkey within the Microsoft Store

Descolada Thanks for your new store edition of AutoHotkey v2. I’ve been checking it out with regards to the Ahk2Exe compiler and have some comments regarding this: I see that you have included the compiler that was issued with AutoHotkey v1.1.37.01. Unfortunately this is not the latest version, whi...
by TAC109
26 Oct 2023, 17:07
Forum: About This Community
Topic: Autohotkey within the Microsoft Store
Replies: 53
Views: 33501

Re: Autohotkey within the Microsoft Store

It seems that the consultant stopped updating the AHK Store Edition (last update March 2020). … The Microsoft Store version you are referencing indicates that it contains AutoHotkey v1.1.37.01, which is the latest version, so the date you quoted is probably when this item first appeared in the Stor...
by TAC109
19 Oct 2023, 16:57
Forum: Ask for Help (v1)
Topic: run compiled script issue Topic is solved
Replies: 3
Views: 343

Re: run compiled script issue Topic is solved

The Run command seems needlessly complicated. Try replacing it with:

Code: Select all

 Run, *RunAs %ComSpec% /c "tscon.exe 1 /dest:console"
Cheers
by TAC109
17 Oct 2023, 17:46
Forum: Ask for Help (v1)
Topic: Unicode characters in INI files
Replies: 7
Views: 585

Re: Unicode characters in INI files

Note that the documentation states that the contents of an INI file must either be ANSI or UTF-16. UTF-8 is not permitted.

Cheers
by TAC109
17 Oct 2023, 16:44
Forum: Bug Reports
Topic: [BUG] Compiled script: Run/RunWait launch the wrong executable Topic is solved
Replies: 11
Views: 2424

Re: [BUG] Compiled script: Run/RunWait launch the wrong executable Topic is solved

Seems to be an AutoHotkey bug. Also happens with v2.0.10. @boiler Could you please move this thread to the 'bug reports' section of the forum. Thanks.
by TAC109
12 Oct 2023, 17:21
Forum: Ask for Help (v2)
Topic: problem running script after compiling
Replies: 2
Views: 459

Re: problem running script after compiling

In addition to the reply from @mikeyww, you should also update your version of Ahk2Exe to v1.1.37.01c. (See here.)

Cheers
by TAC109
06 Oct 2023, 18:05
Forum: Ask for Help (v1)
Topic: Bat Files
Replies: 17
Views: 1686

Re: Bat Files

Try:

Code: Select all

NumpadUp::
Run %comspec% /c "D:\Batch Fles\File Explorer Restart.bat"
Return
by TAC109
06 Oct 2023, 17:47
Forum: Wish List
Topic: single-line way to write if??
Replies: 2
Views: 1038

Re: single-line way to write if??

See this thread for up-to-date tricks.

Cheers
by TAC109
06 Oct 2023, 17:37
Forum: Ask for Help (v1)
Topic: quote and double-quote " " "
Replies: 22
Views: 2879

Re: quote and double-quote " " "

It is not clear from your code that it is necessary to run your program using either cmd.exe or %comspec% in the first instance. Have you tried this? In this case you would instead need to code the RunWait command like this: Runwait, "%A_ScriptDir%\DATA 123\qpdf.exe" --empty --pages "%outtemp1%" -- ...
by TAC109
05 Oct 2023, 18:57
Forum: About This Community
Topic: Autohotkey within the Microsoft Store
Replies: 53
Views: 33501

Re: Autohotkey within the Microsoft Store

Descolada It seems a bit extreme to set up a separate extension for AutoHotkey v1 just to handle the Windows Explorer 'New' option. As the code for a new v2 is just '#Requires AutoHotkey 2.0' could you perhaps add a comment to that line to change the 2.0 to 1.1 for v1.1. Alternatively you could als...
by TAC109
05 Oct 2023, 17:13
Forum: Ask for Help (v1)
Topic: quote and double-quote " " "
Replies: 22
Views: 2879

Re: quote and double-quote " " "

You should always endeavour to use correct syntax, even if it appears to work otherwise, as a later update may tighten the syntax checking and cause an error message. In this case I expect either 'cmd.exe' or 'qpdf.exe' tolerate the mistake and make a silent correction.

Cheers
by TAC109
04 Oct 2023, 19:31
Forum: Suggestions on Documentation Improvements
Topic: V2 faq UTF8 recommendation Topic is solved
Replies: 10
Views: 2274

Re: V2 faq UTF8 recommendation Topic is solved

@neogna2
I enjoyed reading many of the 'Joel on Software' articles too.

Cheers
by TAC109
02 Oct 2023, 18:51
Forum: Suggestions on Documentation Improvements
Topic: V2 faq UTF8 recommendation Topic is solved
Replies: 10
Views: 2274

Re: V2 faq UTF8 recommendation Topic is solved

The thread you quoted: This 2020 thread is relevant to this topic and has the opposite wish: remove a BOM recommendation. https://www.autohotkey.com/boards/viewtopic.php?t=79309 resulted in no changes to the documentation : Be sure to save the file as UTF-8 with BOM if it will contain non-ASCII char...
by TAC109
01 Oct 2023, 17:51
Forum: Suggestions on Documentation Improvements
Topic: V2 faq UTF8 recommendation Topic is solved
Replies: 10
Views: 2274

Re: V2 faq UTF8 recommendation Topic is solved

My suggested alteration to the faq is to help users having possible problems when editing/processing scripts. If you find that your editor handles UTF-8 files correctly, then that is good, however the editor will still process files correctly when saved as UTF-8 with BOM but with more certainty. Thi...
by TAC109
01 Oct 2023, 04:21
Forum: Suggestions on Documentation Improvements
Topic: V2 faq UTF8 recommendation Topic is solved
Replies: 10
Views: 2274

Re: V2 faq UTF8 recommendation Topic is solved

Having a BOM (Byte Order Mark) written to the start of a UTF-8 file ensures that any modern utility (including editors) that can understand UTF-8, can determine with certainty that the file is actually UTF-8. Without a BOM at the start of the file the program has to make a guess as to the file encod...
by TAC109
30 Sep 2023, 17:38
Forum: Suggestions on Documentation Improvements
Topic: V2 faq UTF8 recommendation Topic is solved
Replies: 10
Views: 2274

V2 faq UTF8 recommendation Topic is solved

Ragnar If you agree, could you change the v2 faq, item Why are the non-ASCII characters in my script displaying or sending incorrectly? replacing Short answer: Save the script as UTF-8. with Short answer: Save the script as UTF-8, or for complete compatibility with utilities such as editors, UTF-8 ...

Go to advanced search