Search found 80 matches

by neogna2
16 Nov 2020, 08:07
Forum: Editors
Topic: new vscode extension allows advanced AHK V1/V2 debugging
Replies: 38
Views: 4911

Re: new vscode extension allows advanced AHK V1/V2 debugging

It looks like it should be possible since accLocation is one of the methods supported for carets. Reference: https://docs.microsoft.com/en-us/windows/win32/winauto/caret That lead me to Acc code by malcev for getting caret position in Chrome. The same approach worked also in VS Code, even on the sa...
by neogna2
16 Nov 2020, 05:07
Forum: Editors
Topic: new vscode extension allows advanced AHK V1/V2 debugging
Replies: 38
Views: 4911

Re: new vscode extension allows advanced AHK V1/V2 debugging

I don't get the script to work on my PC. In fact Acc doesn't read any content from the VS Code window when I try with jeeswg's JEE_AccGetTextAll function . I don't know. The JEE_AccGetTextAll function and other Acc functions just work for me, and I haven't changed any settings on my system to get t...
by neogna2
15 Nov 2020, 06:30
Forum: Editors
Topic: new vscode extension allows advanced AHK V1/V2 debugging
Replies: 38
Views: 4911

Re: new vscode extension allows advanced AHK V1/V2 debugging

This isn't the most elegant solution, but it works. The bottom of the editor window displaying the status bar needs to visible when the window is active (i.e., not hanging off the screen or turned off). It requires the Accessible Viewer Library which can be downloaded here . I don't get the script ...
by neogna2
09 Nov 2020, 15:32
Forum: Ask For Help
Topic: Start file drag drop from AutoHotkey GUI to any other window and use/mimic File Explorer drag drop
Replies: 0
Views: 122

Start file drag drop from AutoHotkey GUI to any other window and use/mimic File Explorer drag drop

I want to drag and drop files from an AutoHotkey GUI ListView to any other application window and as far as possible use or mimic the visuals and functionality of dragging files from File Explorer in Windows 10. Functionality - Press Shift while dragging and the action changes from "Copy to" to "Mov...
by neogna2
09 Nov 2020, 14:24
Forum: Suggestions on documentation improvements
Topic: Add word 'header' to ListView Hdr paragraph, to make that option easier to find with search
Replies: 2
Views: 262

Add word 'header' to ListView Hdr paragraph, to make that option easier to find with search

https://www.autohotkey.com/docs/commands/ListView.htm#Options Change Hdr: Specify -Hdr (minus Hdr) to omit the special top row that contains column titles. To make it visible later, use GuiControl, +Hdr, MyListView. to Hdr: Specify -Hdr (minus Hdr) to omit the header (the special top row that contai...
by neogna2
24 Sep 2020, 06:35
Forum: Scripts and Functions
Topic: [CLASS] LiveThumb - DWM thumbnail implementation
Replies: 7
Views: 1916

Re: [CLASS] LiveThumb - DWM thumbnail implementation

cyruz Could this be extended to include the mouse pointer or something representing the mouse pointer position? edit I extended the example script to transfer left mouse button clicks on LiveThumb to the same position on the source window. #SingleInstance force #Include LiveThumb.ahk Run, mspaint.e...
by neogna2
16 Sep 2020, 17:09
Forum: Scripts and Functions
Topic: WindowList - Viewer and manipulation of window data
Replies: 4
Views: 384

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: 776

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: 364

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: 364

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: 332
Views: 140535

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: 1332

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: 1781

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: 1781

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: 1781

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: 3804

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: 3804

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: 3219

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: 2744

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...

Go to advanced search