Search found 850 matches
- 05 Feb 2024, 21:48
- Forum: Other Utilities & Resources
- Topic: My experience porting AHK scripts to Linux.
- Replies: 42
- Views: 48372
Re: My experience porting AHK scripts to Linux.
Unless you set your WINE to run in Windows 9x/ME mode by default you don't have to install the old Basic/1.0 version of AHK. The 1.1 version runs fine and would allow you to run the relatively more recent scripts too - except for those meant specifically for AHK 2.0+. But you can always deploy the 1...
- 02 Jan 2024, 05:20
- Forum: Scripts and Functions (v1)
- Topic: Church Bells Tower - auto bell chimer
- Replies: 66
- Views: 22169
Re: Church Bells Tower - auto bell chimer
Guess soon you'll make it to the Microsoft team for such persistence.
Happy New Year, best wishes Marius!
Happy New Year, best wishes Marius!
- 22 Aug 2023, 15:38
- Forum: Ask for Help (v1)
- Topic: SmartGui Creator
- Replies: 4
- Views: 3413
Re: SmartGui Creator
Hi guys. :wave: For what it's worth I'm in the process of uploading some of my mostly-working scripts to my new GitLab account after deleting the GitHub one due to unacceptable forced 2FA requirement. I have just finished uploading SmartGUI XP Creator Mod minutes ago. There is the last known ANSI-co...
- 16 Apr 2023, 00:50
- Forum: Scripts and Functions (v1)
- Topic: Upcoming Ahk2Exe Changes (2024)
- Replies: 626
- Views: 181855
- 15 Apr 2023, 14:37
- Forum: Scripts and Functions (v1)
- Topic: Upcoming Ahk2Exe Changes (2024)
- Replies: 626
- Views: 181855
Re: Upcoming Ahk2Exe Changes (2023)
Do you know of an easy/automated way to do that? Off the top of my head no, way too rusty with Windows generally, but I seem to remember there was some EnumResource API or something similar. A very quick search returned EnumResourceTypes() and EnumResourceNames() . However they need to be run in co...
- 15 Apr 2023, 11:18
- Forum: Scripts and Functions (v1)
- Topic: Upcoming Ahk2Exe Changes (2024)
- Replies: 626
- Views: 181855
Re: Upcoming Ahk2Exe Changes (2023)
But I'm wondering if I can include many icon files in the EXE from Ahk2Exe, not just the four from the AddResource directives (160, 206, 207, 208). You can include as many as you want, theoretically as long as no resource number overlaps. For that you'd have to first make a list of all resource num...
- 05 Oct 2022, 12:33
- Forum: Scripts and Functions (v1)
- Topic: [Class] SQLiteDB - Update on 2022-10-04
- Replies: 303
- Views: 205864
Re: [Class] SQLiteDB - Update on 2022-10-04
I vaguely remember some old problems with INVALID_POINTER (-1) or similar negative numbers returned by APIs that were misinterpreted in 64bit vs 32bit.
- 04 Oct 2022, 13:43
- Forum: Scripts and Functions (v1)
- Topic: [Class] SQLiteDB - Update on 2022-10-04
- Replies: 303
- Views: 205864
Re: [Class] SQLiteDB - Update on 2022-10-04
Maybe the better way to approach this issue is to research where and in which situations could a signed pointer be safely passed to the library or returned by the library. This should be done separately for 32bit and for 64bit AHK, then the results should be compared. If there are such situations th...
- 18 Sep 2022, 03:48
- Forum: Scripts and Functions (v1)
- Topic: [Class] SQLiteDB - Update on 2022-10-04
- Replies: 303
- Views: 205864
Re: [Class] SQLiteDB - Update on 2022-09-18
You're welcome. BTW, that's not my PR - just happened to notice it as I follow the repository.
- 17 Sep 2022, 22:19
- Forum: Scripts and Functions (v1)
- Topic: [Class] SQLiteDB - Update on 2022-10-04
- Replies: 303
- Views: 205864
Re: [Class] SQLiteDB - Update on 2021-10-10
You're welcome.
- 17 Sep 2022, 21:46
- Forum: Scripts and Functions (v1)
- Topic: [Class] SQLiteDB - Update on 2022-10-04
- Replies: 303
- Views: 205864
Re: [Class] SQLiteDB - Update on 2021-10-10
At line 401 in Class_SQLiteDB.ahk you have to remove the ByRef in the function call so it would become This._DB._StrToUTF8(Param3, UTF8). After that it'll work.
The issue has been opened on GitHub as a PR but there has been no reaction so far from the developer.
The issue has been opened on GitHub as a PR but there has been no reaction so far from the developer.
- 15 Sep 2022, 15:18
- Forum: Other Programming Languages
- Topic: Python MessageBox display variable
- Replies: 2
- Views: 2032
Re: Python MessageBox display variable
If the format in that example still stands you could try
But that's only a theory.
Code: Select all
messagebox.showinfo("Title here", "You opened %s" % myvar)
- 08 Sep 2022, 17:31
- Forum: Scripts and Functions (v1)
- Topic: Church Bells Tower - auto bell chimer
- Replies: 66
- Views: 22169
Re: Church Bells Tower - auto bell chimer
I ran the AHK script retrieved directly fromGitHub master branch, not the zip. AHK version is the current 1.1.34.04. Wine is set for XP compatibility but that shouldn't affect in any way the simple display of a GUI. Also tried with Wine 7.15 (latest is 7.16 in the devel branch). Situation seemed wor...
- 08 Sep 2022, 11:00
- Forum: Scripts and Functions (v1)
- Topic: Church Bells Tower - auto bell chimer
- Replies: 66
- Views: 22169
Re: Church Bells Tower - auto bell chimer
Apparently you're using a dark theme in your system. With a light theme many controls in the Settings dialog are unreadable because of black on black. However setting a dark interface in the script shows other problems. At least that's how it looks here in Linux Mint/Wine 5.14: Screenshot from 2022-...
- 07 Sep 2022, 23:16
- Forum: Scripts and Functions (v1)
- Topic: Upcoming Ahk2Exe Changes (2024)
- Replies: 626
- Views: 181855
Re: Upcoming Ahk2Exe Changes (2022)
Yep, that's the one. I had just updated the AHK package to latest, and yesterday when compiling a script it complained about a helper file that I knew was in the main Lib. Didn't bother to search further, just dragged a copy of that file to script's own Lib folder and it went through smoothly. AHK w...
- 07 Sep 2022, 20:01
- Forum: Scripts and Functions (v1)
- Topic: Upcoming Ahk2Exe Changes (2024)
- Replies: 626
- Views: 181855
Re: Upcoming Ahk2Exe Changes (2022)
Thanks, good to know it wasn't me or the system.
- 24 Aug 2022, 12:29
- Forum: Scripts and Functions (v1)
- Topic: Upcoming Ahk2Exe Changes (2024)
- Replies: 626
- Views: 181855
- 24 Aug 2022, 10:35
- Forum: Scripts and Functions (v1)
- Topic: Upcoming Ahk2Exe Changes (2024)
- Replies: 626
- Views: 181855
Re: Upcoming Ahk2Exe Changes (2022)
For script files (.ahk files). Executables have their own MZ header. Obviously every coder would have to manually add those headers and footers to their own scripts. The idea was to first agree upon a standard. Many years ago after a similar drive disaster I began to build a recovery script in AHK. ...
- 24 Aug 2022, 08:36
- Forum: Scripts and Functions (v1)
- Topic: Upcoming Ahk2Exe Changes (2024)
- Replies: 626
- Views: 181855
Re: Upcoming Ahk2Exe Changes (2022)
That has a limited scope. A file header (plus optional but recommended footer) would much better fit multipurpose, such as recovery software, text search patterns across the system, and any other usage purposes yet to be identified. Recently I had a partition screwed up by a defrag software which le...
- 24 Aug 2022, 00:40
- Forum: Scripts and Functions (v1)
- Topic: Upcoming Ahk2Exe Changes (2024)
- Replies: 626
- Views: 181855
Re: Upcoming Ahk2Exe Changes (2022)
An idea came to mind; might be a stupid one or a good one, may have even been discussed before without my knowledge. Here goes nothing. Standardize AHK scripts by providing all of them with a sort of file header that would allow for: - a clear distinction between various AHK target versions (1.0/1.1...