Search found 1129 matches
- 27 Aug 2023, 18:03
- Forum: Ask for Help (v2)
- Topic: (default) alphabetical Sort oversight ?
- Replies: 17
- Views: 1039
Re: (default) alphabetical Sort oversight ?
neogna2 I can’t see that it matters which order the items are presented to the callback function. In any case the offset parameter can be used to determine this. I prefer not to use a callback function as it has a noticeable detrimental effect on the efficiency of the sort except for a trivially sh...
- 26 Aug 2023, 23:58
- Forum: Ask for Help (v2)
- Topic: Run() doesn't run my SCRCPY .vbs
- Replies: 6
- Views: 375
Re: Run() doesn't run my SCRCPY .vbs
Try adding extra single quotes around the parameter.
Run('"D:\phone stuff\scrcpy\example.vbs"')
Edit: As Boiler said!
Cheers
Run('"D:\phone stuff\scrcpy\example.vbs"')
Edit: As Boiler said!
Cheers
- 25 Aug 2023, 23:43
- Forum: Ask for Help (v2)
- Topic: To BOM or not to BOM?
- Replies: 12
- Views: 881
Re: To BOM or not to BOM?
This is because cmd.exe (the batch file interpreter) doesn’t understand UTF8. (It partially understands an early version of UTF16.) However it can’t be updated by Microsoft without potentially breaking the millions of batch scripts out there.
Cheers
Cheers
- 25 Aug 2023, 19:18
- Forum: Ask for Help (v2)
- Topic: To BOM or not to BOM?
- Replies: 12
- Views: 881
Re: To BOM or not to BOM?
I'm happy to leave it that way as a 'safety net' for any future v1 scripts I may create, but as it's superfluous to include BOM for v2 scripts, shouldn't there be a settings option in Dash for the preference to include it or not - can it be assumed that a v2 BOM won't incur a performance hit? The p...
- 24 Aug 2023, 21:39
- Forum: Ask for Help (v2)
- Topic: about V1->V2 and a script with strange behavior
- Replies: 21
- Views: 1104
Re: about V1->V2 and a script with strange behavior
Looking at the error message, the word ‘AutoHotkey' may have been left out of the '#Requires' directive in the failing script.
Cheers
Cheers
- 20 Aug 2023, 23:59
- Forum: Scripts and Functions (v1)
- Topic: Upcoming Ahk2Exe Changes (2024)
- Replies: 630
- Views: 191879
Re: Upcoming Ahk2Exe Changes (2023)
Update - 1.1.37.01b, 21 August 2023
- Fix: compile of new .exe failed in 1.1.37.01a.
- 19 Aug 2023, 20:23
- Forum: Scripts and Functions (v1)
- Topic: Upcoming Ahk2Exe Changes (2024)
- Replies: 630
- Views: 191879
Re: Upcoming Ahk2Exe Changes (2023)
Update - 1.1.37.01a, 20 August 2023
- Avoid copying compiled .exe permissions from temp.
- Fix 'Save script as' when Base compiler directive selected.
- Local help now shows v2 if Base compiler directive selected.
- 15 Aug 2023, 04:31
- Forum: Scripts and Functions (v1)
- Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
- Replies: 77
- Views: 23050
Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
red12sin Can you check that you have copied and pasted the compiler directives correctly into your script. If you past them here from your script I can double-check them as well. Edit: It looks like the two ;@Ahk2Exe-Obey compiler directives further up weren’t executed properly. Could you check the...
- 13 Aug 2023, 22:20
- Forum: Bug Reports
- Topic: UX Launcher ignores multi-line comments around #Requires
- Replies: 3
- Views: 649
- 13 Aug 2023, 21:42
- Forum: Bug Reports
- Topic: UX Launcher ignores multi-line comments around #Requires
- Replies: 3
- Views: 649
UX Launcher ignores multi-line comments around #Requires
UX Launcher ignores multi-line comment characters around #Requires when both v1 + v2 are installed. /* ;#Requires AutoHotkey v2.0 */ v1 := "v2" MsgBox v1 When this code is run, the launcher asks for the version of AutoHotkey to run, as expected. If the ; is removed from the start of line 2, the laun...
- 12 Aug 2023, 18:29
- Forum: Ask for Help (v2)
- Topic: How to properly create a library that loads a dll file to account for compiling.
- Replies: 9
- Views: 1077
Re: How to properly create a library that loads a dll file to account for compiling.
I hope I’m not stating the obvious, but you could adjust the path by checking A_IsCompiled and substituting A_ScriptFullPath in place of A_LineFile. Or perhaps I’m not understanding the question properly…
Cheers
Cheers
- 03 Aug 2023, 18:23
- Forum: Ask for Help (v2)
- Topic: Embedding files in a compiled script and using them without extracting them
- Replies: 17
- Views: 1608
Re: Embedding files in a compiled script and using them without extracting them
Using FileInstall is certainly simpler and more straightforward, especially if the embedded files are to be accessed by a runwait executable.
Cheers
Cheers
- 21 Jul 2023, 00:29
- Forum: Ask for Help (v2)
- Topic: Error when trying to compile a v2 script
- Replies: 4
- Views: 580
Re: Error when trying to compile a v2 script
I would suggest that you should uninstall your existing V2 and v1 AutoHotkey, then reinstall v1 followed by v2. This will ensure that the installation is correct.
Edit: Install into the offered directory.
Cheers
Edit: Install into the offered directory.
Cheers
- 20 Jul 2023, 22:44
- Forum: Ask for Help (v2)
- Topic: Error when trying to compile a v2 script
- Replies: 4
- Views: 580
Re: Error when trying to compile a v2 script
It would help if you could post a screen shot of Ahk2Exe with the failing message.
Edit: In addition you should select a v2 base file (which should be present in the dropdown). Anyway, the screenshots should help me diagnose the problem.
Cheers
Edit: In addition you should select a v2 base file (which should be present in the dropdown). Anyway, the screenshots should help me diagnose the problem.
Cheers
- 18 Jul 2023, 23:21
- Forum: Ask for Help (v2)
- Topic: RUN WAIT A_comspec stops execution
- Replies: 3
- Views: 227
Re: RUN WAIT A_comspec stops execution
When DOS commands are separated with '&&' it means 'only do the second command if the first command is successful'. To do the second command regardless, just use a single '&' to separate them. To complete the picture, if commands are separated by '||' this means 'only do the second command if the fi...
- 18 Jul 2023, 19:14
- Forum: Ask for Help (v2)
- Topic: RUN WAIT A_comspec stops execution
- Replies: 3
- Views: 227
Re: RUN WAIT A_comspec stops execution
If there are files/directories in the 'IndexLinked' directory, use ‘rmdir /s ' to delete these files/directories as well as the top level directory itself.
Cheers
Cheers
- 15 Jul 2023, 19:40
- Forum: Bug Reports
- Topic: Ahk2Exe Start Menu Shortcut Missing, v1 + v2 Topic is solved
- Replies: 4
- Views: 730
Re: Ahk2Exe Start Menu Shortcut Missing, v1 + v2 Topic is solved
That's what I figured…
- 15 Jul 2023, 18:21
- Forum: Bug Reports
- Topic: Ahk2Exe Start Menu Shortcut Missing, v1 + v2 Topic is solved
- Replies: 4
- Views: 730
Ahk2Exe Start Menu Shortcut Missing, v1 + v2 Topic is solved
In the situation when AutoHotkey v1 is installed (including the compiler), then v2 is installed, the Start menu item for Ahk2Exe is removed and not created again even though Ahk2Exe is still present, having been installed with v1.
- 05 Jul 2023, 19:50
- Forum: Scripts and Functions (v1)
- Topic: Upcoming Ahk2Exe Changes (2024)
- Replies: 630
- Views: 191879
Re: Upcoming Ahk2Exe Changes (2023)
Update - 1.1.37.00a, 05 July 2023
Edit: Fixed link In first post.
- Ahk2Exe: Add sub-version check for base file *.exe allowed. (Compile v2.1 scripts correctly.)
Edit: Fixed link In first post.
- 04 Jul 2023, 20:13
- Forum: Scripts and Functions (v1)
- Topic: Upcoming Ahk2Exe Changes (2024)
- Replies: 630
- Views: 191879
Re: Upcoming Ahk2Exe Changes (2023)
Update - 1.1.37.00a, 05 July 2023
- Ahk2Exe: Add sub-version check for base file *.exe allowed. (Compile v2.1 scripts correctly.)