Search found 8 matches

by zorg
03 Feb 2019, 15:23
Forum: Bug Reports
Topic: ControlGet Line
Replies: 11
Views: 2576

Re: ControlGet Line

jeeswg your work is impressive. It is far more advanced than my little workaround of 3 lines.
Thank you guys.
by zorg
03 Feb 2019, 10:18
Forum: Bug Reports
Topic: ControlGet Line
Replies: 11
Views: 2576

Re: ControlGet Line

Yes it would be great to use the messages for the Scintilla Control directly. But I don't know how to do that in my ahk script :?
by zorg
03 Feb 2019, 08:28
Forum: Bug Reports
Topic: ControlGet Line
Replies: 11
Views: 2576

Re: ControlGet Line

That's it. Scintilla is "messages performing the actions of a normal Edit control". Well, maybe not all of them... But it would be surprising if it missed GETLINE.
by zorg
03 Feb 2019, 05:40
Forum: Bug Reports
Topic: ControlGet Line
Replies: 11
Views: 2576

Re: ControlGet Line

It may be an explanation.
Now I suspect the Notepad++ Scintilla control is a Rich Edit Control, that comes with Unsupported Edit Control Functionalities indeed, but EM_GETLINE is not part of them. So it should be usable by AutoHotkey.
by zorg
02 Feb 2019, 06:45
Forum: Bug Reports
Topic: ControlGet Line
Replies: 11
Views: 2576

Re: ControlGet Line

Code: Select all

WinActivate, ahk_class Notepad++
ControlGetFocus, Scintilla, ahk_class Notepad++
Does retrieve an Edit control: ControlGet CurrentLine, ControlGet CurrentCol and ControlGetText work that way.
But not ControlGet Line.
by zorg
02 Feb 2019, 05:50
Forum: Bug Reports
Topic: ControlGet Line
Replies: 11
Views: 2576

ControlGet Line

AutoHotkey version 1.1.30.01 WinActivate, ahk_class Notepad++ ControlGetFocus, Scintilla, ahk_class Notepad++ ControlGet, count, CurrentLine,, %Scintilla% Works. WinActivate, ahk_class Notepad++ ControlGetFocus, Scintilla, ahk_class Notepad++ ControlGet, count, CurrentCol,, %Scintilla% Works. WinAct...
by zorg
01 Feb 2019, 14:44
Forum: Ask For Help
Topic: Execute option (X) with Hotstring function not working
Replies: 2
Views: 506

Re: Execute option (X) with Hotstring function not working

The FanaticGuru's workaround works indeed.
A million thanks.
by zorg
01 Feb 2019, 12:00
Forum: Ask For Help
Topic: Execute option (X) with Hotstring function not working
Replies: 2
Views: 506

Execute option (X) with Hotstring function not working

Hello, Cf. the help: https://autohotkey.com/docs/Hotstrings.htm#X Running this code with AutoHotkey version 1.1.30.01: Hotstring(":X:btw", "replace") replace() { $ := A_ThisHotkey Msgbox %$% was entered! } The function is not executed and the hotstring is interpreted as normal hotstring: the trigger...

Go to advanced search