Search found 571 matches

by ahk7
16 Mar 2024, 04:05
Forum: Bug Reports
Topic: V2: \ is shown as ¥ in some situation perhaps due to font problem
Replies: 10
Views: 860

Re: V2: \ is shown as ¥ in some situation perhaps due to font problem

I think ¥ as \ is common in Asia, I see it "all the time" in Japanese software and pages, for example look at the screenshots of fastcopy https://fastcopy.jp/ or this Cmd prompt for a 16bit emulator (so you can use 16bit dos in 64bit computers) http://takeda-toshiya.my.coocan.jp/msdos/200415-1.png A...
by ahk7
15 Feb 2024, 15:47
Forum: Scripts and Functions (v1)
Topic: PDF creation from text (no libraries / third party apps)
Replies: 1
Views: 129

Re: PDF creation from text (no libraries / third party apps)

Quite entertaining. With a slight modification you can set the font and size, and assuming 792 in /MediaBox [0 0 612 792] is the page height, using 792-y makes y more natural with 0,0 being top left vs 0,792 being top left. ; Add text to the PDF AddText2(x, y, text, fontName:="Helvetica", fontSize:=...
by ahk7
01 Feb 2024, 17:20
Forum: Scripts and Functions (v1)
Topic: CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins, API, ...
Replies: 59
Views: 32324

Re: CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins, API, ...

v1.110 - https://github.com/hi5/CL3/ Fix: Add minimum (20) and maximum value (100) for MenuWidth setting (safety check) - https://github.com/hi5/CL3/issues/26 Change: Search plugin, only search text after [ID] marker (also excludes possible timestamp) New: ClipChain preview of full item on mouseove...
by ahk7
01 Feb 2024, 16:28
Forum: Ask for Help (v1)
Topic: Need helf seeing my error
Replies: 14
Views: 387

Re: Need helf seeing my error

Now you're just posting nonsense and you won't get much help that way, your regexes don't make any sense either. Go to https://www.regextester.com/ or similar site, choose PCRE and you can SEE what mistake you are making, there are other regex tools as well incl. nice highlighting and regex builders...
by ahk7
01 Feb 2024, 12:38
Forum: Ask for Help (v1)
Topic: Need helf seeing my error
Replies: 14
Views: 387

Re: Need helf seeing my error

Simply comment a few lines, run script, still broken? Comment a few more, etc. At some point you'll find the "what broke it" and then you can fix and uncomment the lines. As you had a working script before, consider making backup copies before modifying, or use something like git to keep track of ch...
by ahk7
28 Jan 2024, 14:42
Forum: Ask for Help (v1)
Topic: Force EnvGet to get new env. variables created _after_ script launch
Replies: 5
Views: 245

Re: Force EnvGet to get new env. variables created _after_ script launch

"Value was not found for " the-temp-env-var, but when I do a simple echo %the-temp-env-var% on the command line it is displayed correctly, so it does exist.
by ahk7
28 Jan 2024, 10:22
Forum: Ask for Help (v1)
Topic: Force EnvGet to get new env. variables created _after_ script launch
Replies: 5
Views: 245

Force EnvGet to get new env. variables created _after_ script launch

It seems when an AutoHotkey script starts, it inherits the environment "at that moment", so if another program creates temporary environment variables EnvGet won't be able to retrieve them and you have to quit/restart the script. Is there a way to "force" EnvGet (or regread, or DLLCall) to read newl...
by ahk7
28 Jan 2024, 10:10
Forum: Forum Issues
Topic: ssl certificate ahkscript.org expired
Replies: 5
Views: 6439

Re: ssl certificate ahkscript.org expired

Still getting www.ahkscript.net and www.ahkscript.org search results in google sometimes, it should be trivially easy to instruct google to only use the .com address (create a webmaster account on Google, claim your domain (you can upload a file generated by Google to the site, verify) - once you're...
by ahk7
20 Jan 2024, 10:51
Forum: Other Programming Languages
Topic: AHK or something close on Linux?
Replies: 5
Views: 467

Re: AHK or something close on Linux?

1. AHK_X11 (Requires X11, does not work with Wayland yet) https://github.com/phil294/AHK_X11
2. Not ready for linux yet but keep an eye on Keysharp viewtopic.php?f=80&t=77248

Install Wine if not already present and try AutoHotkey.
by ahk7
20 Jan 2024, 10:45
Forum: General Discussion
Topic: Putting AHK in Tray notification area - but as an executable button
Replies: 4
Views: 1290

Re: Putting AHK in Tray notification area - but as an executable button

If you want a tray icon to be always visible e.g. not having to click the ^ in tray area, you can just drag the icon to the taskbar and it will place it in the visible area. Probably better would be to setup a hotkey to kill all scripts which is probably faster to access than grabbing for the mouse,...
by ahk7
31 Dec 2023, 07:05
Forum: Ask for Help (v1)
Topic: Autohotkey Getting EditBox Variable Topic is solved
Replies: 25
Views: 1036

Re: Autohotkey Getting EditBox Variable Topic is solved

Perhaps:
ControlSend the ctrl+end to the edit control (now the caret (text insertion) is at the end of the text); and then use https://www.autohotkey.com/docs/v1/lib/Control.htm#EditPaste to "send" (append) the text to the log
by ahk7
31 Dec 2023, 07:00
Forum: Ask for Help (v1)
Topic: Remove from line...
Replies: 2
Views: 229

Re: Remove from line...

fyi for those working with text files, many functions in the TF lib https://github.com/hi5/TF
by ahk7
05 Nov 2023, 08:08
Forum: Ask for Help (v1)
Topic: PUM IconExtract: adding icon associated with file extension (improvements)
Replies: 0
Views: 200

PUM IconExtract: adding icon associated with file extension (improvements)

I only recently had a look at good old PUM, a very nice class to build prettier menus. By default it can only show the icons of an Exe file in the menu. It would of course be nicer to have more options automatically which I've managed to do by butchering some code from an example from the ListView d...
by ahk7
28 Oct 2023, 02:48
Forum: Ask for Help (v1)
Topic: IniWrite speed limit?
Replies: 9
Views: 624

Re: IniWrite speed limit?

If the script works then don't fix it :) Another option could be: keep everything in memory and write to INI on exit, but instead of writing to INI when you use it - which you observe to be slow - just FileAppend the data to a log file (with timestamps). This is just an uneducated guess, but I suspe...
by ahk7
27 Oct 2023, 12:08
Forum: Ask for Help (v1)
Topic: IniWrite speed limit?
Replies: 9
Views: 624

Re: IniWrite speed limit?

The question is why do you need to write it so frequently to ini files, just keep everything in memory and save on exit (or on a timer basis ever X minutes).
by ahk7
22 Oct 2023, 15:29
Forum: Visual Studio Code
Topic: Commented Lines are not in order Topic is solved
Replies: 2
Views: 910

Re: Commented Lines are not in order Topic is solved

That is because both editors have different "tab sizes" and you have mixed tab + spaces to align the comments. Check the tab size setting in notepad++ (settings, preferences, there should be tab size somewhere) - make it the same in vscode (probably 8 in notepad++ and 4 in vscode) Or resort to space...
by ahk7
22 Oct 2023, 08:28
Forum: Ask for Help (v1)
Topic: Delete Line in TXT file
Replies: 2
Views: 316

Re: Delete Line in TXT file

Depending on your further needs, the TF library may be of interest https://github.com/hi5/TF (lots of functions for operation on files)
by ahk7
22 Oct 2023, 04:14
Forum: Scripts and Functions (v1)
Topic: Extended Dijkstra's algorithm for obtaining the reverse Polish notation of a mathematical expression
Replies: 4
Views: 814

Re: Extended Dijkstra's algorithm for obtaining the reverse Polish notation of a mathematical expression

The dropbox link in the first post still works, the link in the second post says "This item was deleted".

Go to advanced search