Search found 59 matches

by chaoscreater
15 Mar 2024, 10:08
Forum: Scripts and Functions (v1)
Topic: SystemProcessInformation
Replies: 5
Views: 2191

Re: SystemProcessInformation

@jNizM, Thank you for sharing the original post. Based on your function, I wrote the following to get the WorkingSetPrivateSize value from a process PID . It's the closest thing to the memory values shown in the Task Manager. #NoEnv ; Note: See https://stackoverflow.com/a/42986966/12364306 to under...
by chaoscreater
26 Feb 2024, 07:07
Forum: Ask for Help (v1)
Topic: RegExReplace not working as expected
Replies: 3
Views: 91

Re: RegExReplace not working as expected

I've tried this:

Code: Select all

regexComment_Out_Pattern := "`am)^(\h*(" localName ")\s*=\s*(?:\[[^\]]*|\{[^}]*|""[^""]+))"
but it doesn't work still
by chaoscreater
26 Feb 2024, 04:54
Forum: Ask for Help (v1)
Topic: RegExReplace not working as expected
Replies: 3
Views: 91

RegExReplace not working as expected

Hi all, I've got a regex issue that I've been trying to fix for hours and I can't figure out what I'm doing wrong. Here's the regex pattern and example data: https://regex101.com/r/X0Oein/1 In my example script below, LocalsContent contains the exact same data as shown in the link above. regexCommen...
by chaoscreater
20 Nov 2023, 18:22
Forum: Scripts and Functions (v1)
Topic: Automatic Mapping of All Monitors, Move & Resize Windows
Replies: 15
Views: 7945

Re: Automatic Mapping of All Monitors, Move & Resize Windows

Hi there, I also use DisplayFusion and in the advanced setting, there's an option to set the monitor order for which your app window gets moved, as well as an option to ignore a specific monitor. For example, if you have a monitor layout like this: 4 3 2 1 and if you have the monitor order like this...
by chaoscreater
17 Jul 2023, 17:59
Forum: Ask for Help (v1)
Topic: Windows Event Log API examples / libs?
Replies: 13
Views: 6769

Re: Windows Event Log API examples / libs?

How can I read from the Application and Services Logs?
by chaoscreater
29 Jun 2023, 23:51
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 567929

Re: FindText - Capture screen image into text and then find it Topic is solved

@chaoscreater, setting display affinity to 0 for Authy Desktop seems to fix that problem. I'm not sure whether it's necessary to call SetWindowDisplayAffinity before every FindText call or just periodically, but the following code seems to fix it. Unfortunately it's an incomplete solution, because ...
by chaoscreater
29 Jun 2023, 22:40
Forum: Ask for Help (v1)
Topic: Connect to bluetooth headset via shortcut Topic is solved
Replies: 33
Views: 11445

Re: Connect to bluetooth headset via shortcut Topic is solved

How to get the current connection status of the device? I don't see a BluetoothGetServiceState option
by chaoscreater
29 Jun 2023, 22:39
Forum: Ask for Help (v1)
Topic: Check for bluetooth device if connected
Replies: 12
Views: 1960

Re: Check for bluetooth device if connected

How to get the current connection status of the device? I don't see a BluetoothGetServiceState option
by chaoscreater
13 Apr 2023, 07:23
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 567929

Re: FindText - Capture screen image into text and then find it Topic is solved

Hi guys, I use an app called Authy Desktop and it got updated automatically today (it's possible to downgrade, but the upgrade happens automatically). After the upgrade, it broke my scripts. Turns out that this app uses Electron and the app can now hide itself from screenshot apps, including FindTex...
by chaoscreater
10 Apr 2023, 09:29
Forum: Ask for Help (v1)
Topic: How can I get the memory usage of a process? Topic is solved
Replies: 12
Views: 3463

Re: How can I get the memory usage of a process? Topic is solved

How to get the memory as shown under Windows task manager? Is it possible to just specify a process name (e.g. vivaldi.exe) and the script will automatically determine what the parent process is and get the memory info of the parent + child processes?
image.png
image.png (73.86 KiB) Viewed 645 times
by chaoscreater
25 Feb 2023, 21:40
Forum: Scripts and Functions (v1)
Topic: Disable all keyboard buttons
Replies: 27
Views: 23991

Re: Disable all keyboard buttons

Hello, I added an option to also hide the screen and choose the hiding color 8-) :thumbup: Press Alt + F3 to test how to use the function: hk(keyboard:=false, mouse:=0, message:="", timeout:=3, displayonce:=false,screen:=false, screencolor:="blue") keyboard (true/false).......................... di...
by chaoscreater
19 Aug 2022, 23:51
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 567929

Re: FindText - Capture screen image into text and then find it Topic is solved

In the older versions of FindText, you would first have to click "Capture" and then text will be generated inside the text box for you to copy into your script. If you didn't click on Capture, then the edit box would be blank. For some reason, the newer version of FindText pre-populates the edit tex...
by chaoscreater
08 Jun 2022, 01:28
Forum: Scripts and Functions (v1)
Topic: ToolTipFont / ToolTipColor - options for the ToolTip command
Replies: 92
Views: 50894

Re: ToolTipFont / ToolTipColor - options for the ToolTip command

These wonderful wee functions no longer work for me in AHK 1.1.34.03. Specifically ToolTipFont: font and size. I just get the standard Windows tooltip. If I downgrade to AHK 1.1.33.10 then functionality returns. Using AHK Unicode x64 in Win 10 x64 21H2. Anyone else? cheers. same. Doesn't work with ...
by chaoscreater
28 Mar 2022, 23:28
Forum: Scripts and Functions (v1)
Topic: ToolTipFont / ToolTipColor - options for the ToolTip command
Replies: 92
Views: 50894

Re: ToolTipFont / ToolTipColor - options for the ToolTip command

I just wanted to report this error. I recently update AHK to 1.1.33.09. I think this coincided with me getting a fatal error. It is easy to replicate. #Include common_tooltip.ahk ToolTipFont("s12","Arial") ToolTipColor("blue","White") !k:: ToolTip, Test, 130, 100 sleep 1000 ToolTip Clipboard := "Te...
by chaoscreater
25 Dec 2021, 04:17
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 567929

Re: FindText - Capture screen image into text and then find it Topic is solved

Sorry, found another issue with the previous approach. If the app is running in fullscreen, then the blahX and blahY values generated by WinGetPos will not be the same when the app is running in non-fullscreen: WinGetPos, blahX, blahY, blahW, blahH, A The goal is to check which monitor the app is ru...
by chaoscreater
24 Dec 2021, 21:30
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 567929

Re: FindText - Capture screen image into text and then find it Topic is solved

Just continuing from the discussions in the posts above, I just want to share a workaround for the issue that I was having. Just to re-iterate the issue - the script I'm trying to make is not just for myself. It is for multiple people. I need to make sure that FindText will be able to scan/find the...
by chaoscreater
21 Dec 2021, 18:54
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 567929

Re: FindText - Capture screen image into text and then find it Topic is solved

Just continuing from the discussions in the posts above, I just want to share a workaround for the issue that I was having. Just to re-iterate the issue - the script I'm trying to make is not just for myself. It is for multiple people. I need to make sure that FindText will be able to scan/find the ...
by chaoscreater
13 Dec 2021, 20:11
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 567929

Re: FindText - Capture screen image into text and then find it Topic is solved

I've just tested your code against the screenshots I've shared in the previous page and it works, awesome! Unfortunately, the code doesn't work for the actual app I'm using. I'm guessing that when I took a screenshot, it probably shows a slightly different background compared to the actual app itsel...
by chaoscreater
13 Dec 2021, 17:52
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 567929

Re: FindText - Capture screen image into text and then find it Topic is solved

hmmmm, interesting. You never said what scale your 1080 screen is. mine is 100% and it has to be your Main Monitor too. Is yours? If so the script should work. if it still doesn't work then try the Multicolor method. It's the most powerful and accurate, Replace the string with this. Text:="|<NoTick...
by chaoscreater
12 Dec 2021, 16:14
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 567929

Re: FindText - Capture screen image into text and then find it Topic is solved

[I tried my code again, I deleted the TICK CODE it does exactly what you want. It only finds the 'Unticked CC' and that's it. It never goes to Contact. ever So just use the no tick string then. Text:="|<NoTick>#369@0.62$37.Ty0000E0U00080E0D04080Ak204049n02021gU1010UE0U0VE80E0NgY0807Xb0A0000zw0000U"...

Go to advanced search