Search found 73 matches

by neogna2
16 Sep 2020, 17:09
Forum: Scripts and Functions
Topic: WindowList - Viewer and manipulation of window data
Replies: 4
Views: 243

Re: WindowList - Viewer and manipulation of window data

Kind of like Window Spy but for keyboard use - I like it! Got this error Error: Call to nonexistent function. Specifically: Acc_Get Solved by including Acc #Include Acc.ahk The menu action "Get Acc" can takes a little while for the Acc data listview to show up. Maybe add a visual cue that the comman...
by neogna2
12 Sep 2020, 13:19
Forum: Scripts and Functions
Topic: Emoji() : 40 unicode icons
Replies: 14
Views: 625

Re: Emoji() : 40 unicode icons

Nice script SKAN! Just FYI the Win10 bundled emoji picker is about to get a rework soon, see https://blogs.windows.com/windows-insider/2020/09/02/announcing-windows-10-insider-preview-build-20206/. But I like having your function as an alternative. Emoji script v0.21 by SKAN on D397/D39A The D397/D3...
by neogna2
04 Sep 2020, 17:31
Forum: Editors
Topic: Wish: one VS Code editor AutoHotkey extension to rule them all
Replies: 2
Views: 167

Re: Wish: one VS Code editor AutoHotkey extension to rule them all

Some languages do have very clear go to extensions. For example the Python one with 25 million installs. You can be pretty certain that changes in newer versions of Python will quickly be reflected there. Not so with a lot of the smaller extensions. They may have niche uses but aren't the first thin...
by neogna2
04 Sep 2020, 11:38
Forum: Editors
Topic: Wish: one VS Code editor AutoHotkey extension to rule them all
Replies: 2
Views: 167

Wish: one VS Code editor AutoHotkey extension to rule them all

The general purpose code editor VS Code has 11 million active users and is the most popular in Stack Overflow Developer Survey This means that anyone who is a programmer and encounters AutoHotkey for the first time is likely to have VS Code installed already. Unfortunately there is currently no defi...
by neogna2
17 Aug 2020, 11:10
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 314
Views: 133043

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Worth mentioning again that the latest release on https://github.com/G33kDude/Chrome.ahk/releases is Chrome.ahk_v1.2.zip and its file Chrome.ahk has a typo. Search for App Pahs\chrome.exe and replace with App Paths\chrome.exe
by neogna2
07 Aug 2020, 07:11
Forum: Scripts and Functions
Topic: Font Picker and Color Picker - 2020/05/05
Replies: 3
Views: 1297

Re: Font Picker and Color Picker - 2020/05/05

AHK v1 Font Picker gives this error
Error at line 16.
#Include file "_Font_Picker_Dialog.ahk" cannot be opened.
But it works after commenting out the #Include line in the script.

What is the point of having two GUI edit fields?
by neogna2
28 Jul 2020, 12:34
Forum: Ask For Help
Topic: InputHook: limit scope similar to #IfWinActive #If for hotkeys?
Replies: 3
Views: 1760

Re: InputHook: limit scope similar to #IfWinActive #If for hotkeys?

Back at this... When the "V" option is off we can in the callback still send the key to the underlying window without that too being blocked by the InputHook if we temporarily adjust the SendLevel. InputHook.MinSendLevel := 100 Send %key% InputHook.MinSendLevel := 0 With that I can branch and kind o...
by neogna2
27 Jul 2020, 18:14
Forum: Ask For Help
Topic: InputHook: limit scope similar to #IfWinActive #If for hotkeys?
Replies: 3
Views: 1760

Re: InputHook: limit scope similar to #IfWinActive #If for hotkeys?

set up a permanently active inputhook. write ur branching logic in the onchar/onkeydown/up callback. however, ull have to handle input collection and termination urself I'm attempting that now but got stuck on how to write the if/else part of the callback function in a way that (1) for some particu...
by neogna2
27 Jul 2020, 14:36
Forum: Ask For Help
Topic: InputHook: limit scope similar to #IfWinActive #If for hotkeys?
Replies: 3
Views: 1760

InputHook: limit scope similar to #IfWinActive #If for hotkeys?

Is there some smart way to add conditionals/scope to InputHook to only collect input when a particular window is active or when some control has focus? Similar to how we use #IfWinActive and #If to limit the scope of hotkeys?
by neogna2
28 Apr 2020, 16:03
Forum: Scripts and Functions
Topic: NotStr() : Switch between multiple states
Replies: 43
Views: 3651

Re: Code updated: NotStr() v0.6a

Nice to now have two functions! Thank you both. :thumbup: Code enhanced to handle a couple of exceptions NotStr("True","True") was returning True. It will correctly result in a blank. NotStr("","") was returning blank. Now it will be 1. Note that the basic rule of NotStr() is to Not return the sourc...
by neogna2
23 Apr 2020, 03:17
Forum: Scripts and Functions
Topic: NotStr() : Switch between multiple states
Replies: 43
Views: 3651

Re: NotStr() : Switch between multiple states

Nice function SKAN! :thumbup: I didn't understand what it did on first read through, until I got to the examples. Perhaps this sentence could be updated? NotStr() will return next key if first parameter (key) is matches a value. If match fails, the first value is returned. "is matches" looks like a ...
by neogna2
12 Apr 2020, 04:23
Forum: Scripts and Functions
Topic: LV_SetSelColors() - user-defined selection colors for ListViews
Replies: 17
Views: 3157

Re: LV_SetSelColors() - user-defined selection colors for ListViews

Sorry, I mean the font color of the selected row. You can change text color and/or background color for selected cells with just_me's LV_Colors class , see the SelectionColors() method in that class. @just_me: is there any performance difference or any other notable difference between using this fu...
by neogna2
08 Apr 2020, 09:20
Forum: Scripts and Functions
Topic: [Gdip] How to draw shapes and lines with the mouse
Replies: 12
Views: 2386

Re: [Gdip] How to draw shapes and lines with the mouse

Very nice script SpeedMaster! It is a bit similar to ZoomIt . There's a small error in the tooltip text helptext.="F1 = toggle help" should be helptext.="F1 = toggle Gui`n" helptext.="Ctrl+F1 = toggle help" It would be cool to make it work with with Screen Clipping to let us draw on the clipping bef...
by neogna2
08 Apr 2020, 09:12
Forum: Ask For Help
Topic: Is there a simple and reliable way to process JSON data? Topic is solved
Replies: 82
Views: 12377

Re: Is there a simple and reliable way to process JSON data? Topic is solved

teadrinker wrote:
07 Apr 2020, 07:44
I'm not sure if this is possible. See: Force float value when using JSON.stringify
Ok, so a JSON/Javascript limitation rather than something specific to your code then. Luckily the 790.0 vs 790 issue didn't cause any problem in my use case after all so I can use your class.
by neogna2
07 Apr 2020, 07:12
Forum: Ask For Help
Topic: Is there a simple and reliable way to process JSON data? Topic is solved
Replies: 82
Views: 12377

Re: Is there a simple and reliable way to process JSON data? Topic is solved

Thank you. The true/false values are correctly carried over to the new file when using your JSON class. But decimal numbers with a zero, for example 790.0, get lost when reading, changing some value and writing back to file. sJson = {"x": 790.0, "y": 80.0} MsgBox % sJson sJson := JSON.Setkey(sJson, ...
by neogna2
07 Apr 2020, 04:26
Forum: Ask For Help
Topic: Is there a simple and reliable way to process JSON data? Topic is solved
Replies: 82
Views: 12377

Re: Is there a simple and reliable way to process JSON data? Topic is solved

@teadrinker: I want to parse a local .json file, read a few values and later on change a few values and then save (overwrite) the local .json file. The .json file has some values that are true / false and it is important that I write them back as true / false (not 1 / 0). Can this be done using your...
by neogna2
07 Mar 2020, 12:26
Forum: Ask For Help
Topic: Lag/freeze problem in DllCall to extract many icons for display in ListView
Replies: 17
Views: 2043

Re: Lag/freeze problem in DllCall to extract many icons for display in ListView

Another test, this time with C# and Windows Forms. The pattern is the same here. - extracting icons from a set of .exe files in C:\example takes several seconds (lag!) on the first run after the PC was rebooted. - during that first run the Windows antimalware process CPU use ramps up to around 30% -...
by neogna2
03 Mar 2020, 17:46
Forum: Ask For Help
Topic: Lag/freeze problem in DllCall to extract many icons for display in ListView
Replies: 17
Views: 2043

Re: Lag/freeze problem in DllCall to extract many icons for display in ListView

I took another shot at this today. Running the same kind of test in AutoIt test.au3 #Include <File.au3> #Include <Array.au3> #Include <WinAPI.au3> Local $Path = "C:\example" $FileList = _FileListToArray($Path, "*", 1, 1) For $fileInf in $FileList Local $Ret = DllCall('shell32', 'long', 'ExtractAssoc...
by neogna2
23 Feb 2020, 17:21
Forum: Scripts and Functions
Topic: Optical character recognition (OCR) with UWP API
Replies: 45
Views: 8826

Re: Optical character recognition (OCR) with UWP API

It seems possible Super useful script! Here is a tiny enhancement to the hotkeys in your script. Replace this line KeyWait, LButton With this KeyWait, LButton WinGetPos, , , WW, , ahk_id %hGui% if !WW KeyWait, LButton, D That lets us also do (click, release, draw area, click again) which can be les...

Go to advanced search