Search found 204 matches
- 22 Jun 2023, 23:44
- Forum: Ask for Help (v2)
- Topic: GUI ListView KeyPress Detect in v2 Topic is solved
- Replies: 2
- Views: 469
Re: GUI ListView KeyPress Detect in v2 Topic is solved
This worked great for me, thanks!
- 19 Jun 2023, 17:29
- Forum: Suggestions on Documentation Improvements
- Topic: DuckDuck Go Privacy Extension and AutoHotkey docs
- Replies: 0
- Views: 514
DuckDuck Go Privacy Extension and AutoHotkey docs
FYI, I was having problems with extremely high CPU usage with one or more doc web pages loaded (such as this one: https://www.autohotkey.com/docs/v2/lib/StrPtr.htm ). After further testing, it became clear that it was only happening on Firefox, not Chrome, and after individually disabling various ex...
- 19 Jun 2023, 16:36
- Forum: Ask for Help (v2)
- Topic: v2 Nested Class definition Topic is solved
- Replies: 3
- Views: 398
Re: v2 Nested Class definition Topic is solved
Thanks both for replies. The simplified example was particularly useful and marking the classes static enabled the calling notation (in the original code, which I didn't write), to remain the same.
- 16 Jun 2023, 16:06
- Forum: Ask for Help (v2)
- Topic: v2 Nested Class definition Topic is solved
- Replies: 3
- Views: 398
v2 Nested Class definition Topic is solved
Trying to use some v1 code in v2 (with minimal changes where needed). The v1 code has a nested class Encrypt defined inside of class Crypt , and some methods (including StrEncrypt() ) defined inside of class Encrypt ... see excerpt below. User code: hash := Crypt.Encrypt.StrEncrypt(input:="123",pw:=...
- 13 Jun 2023, 23:20
- Forum: Ask for Help (v2)
- Topic: WinWaitNotActive Timeout - Wait Forever Topic is solved
- Replies: 2
- Views: 283
Re: WinWaitNotActive Timeout - Wait Forever Topic is solved
Most excellent, thank you much...
- 12 Jun 2023, 00:20
- Forum: Ask for Help (v2)
- Topic: WinWaitNotActive Timeout - Wait Forever Topic is solved
- Replies: 2
- Views: 283
WinWaitNotActive Timeout - Wait Forever Topic is solved
WinWaitNotActive WinTitle, WinText, Timeout, ExcludeTitle, ExcludeText ... Timeout Type: Integer or Float How many seconds to wait before timing out and returning 0. Leave blank to allow the function to wait indefinitely. ... I use variables sometimes to denote the argument meaning in functions whe...
- 30 Mar 2023, 21:44
- Forum: SciTE4AutoHotkey
- Topic: I can't get scite4 to run v2 Topic is solved
- Replies: 3
- Views: 1207
Re: I can't get scite4 to run v2 Topic is solved
@Datapoint ... Thanks!!
- 26 Feb 2023, 23:41
- Forum: Ask for Help (v2)
- Topic: GUI ListView KeyPress Detect in v2 Topic is solved
- Replies: 2
- Views: 469
GUI ListView KeyPress Detect in v2 Topic is solved
In v1 there were checks that could be used with a GUI ListView to detect a keypress and check the key that was pressed as shown below: MyListView: If ((A_GuiEvent="K" AND Chr(A_EventInfo)=" ")) DoSomething() In the v1 code above, A_EventInfo was used to see if Space was pressed on the ListView (in t...
- 03 Apr 2022, 15:36
- Forum: Ask for Help (v1)
- Topic: Method to move the SciTE divider for search results
- Replies: 3
- Views: 478
Re: Method to move the SciTE divider for search results
Yep, that occurred to me as a possible solution while I was writing the first post, so I went ahead and tried it. The top pane can be reduced in size (temporarily until you click) but the border between panes doesn't move. Changing the size of the bottom pane makes the bottom pane disappear complete...
- 02 Apr 2022, 18:25
- Forum: Ask for Help (v1)
- Topic: Method to move the SciTE divider for search results
- Replies: 3
- Views: 478
Method to move the SciTE divider for search results
I would like to toggle the vertical size of the search result pane in SciTE between 'normal (default)' and 'lots of search results showing, almost no code visible'. This can probably be done with a simulated mouse click+drag but I was looking for a programmatic way first, to adjust the pane size. De...
- 21 Mar 2022, 14:28
- Forum: Ask for Help (v1)
- Topic: Tablet / Touch Events
- Replies: 1
- Views: 441
Tablet / Touch Events
When using a tablet or touch screen along with an application that has a list of items (such as an email or to-do program), swiping left or right on an item can often be associated with an action (archive, delete, etc.). Does AutoHotkey have any way to simulate touch events on a non-touch system, wh...
- 19 Sep 2017, 00:13
- Forum: Scripts and Functions (v1)
- Topic: Excel: get selection screen coordinates (selected cells)
- Replies: 3
- Views: 1664
Re: Excel: get selection screen coordinates (selected cells)
Interesting idea. I like the proof of concept on translating screen coordinates, that may come in handy. Functionally, this doesn't do so well when the selected cell is off-screen (which would go for any highlight mechanism, except for in this case, the code draws a highlight box on top of the ribbo...
- 15 Sep 2017, 20:13
- Forum: Ask for Help (v1)
- Topic: Size the SciTE Output window
- Replies: 1
- Views: 953
Size the SciTE Output window
In SciTE there is an output window that can be used split screen. The class for the window on top is usually Scintilla1 and Scintilla2 for the window on bottom. The splitter bar in the middle appears to show SciTEWindowContent1, which actually encompasses both Scintilla1 and Scintilla 2, but draggin...
- 14 Jul 2017, 14:49
- Forum: Ask for Help (v1)
- Topic: .NET Windows
- Replies: 3
- Views: 1208
Re: .NET Windows
I have just been coming up to speed on using the AccViewer recently... I'll check that out and see if it finds anything.
I saw some of the other posts you had on executing the default action for Excel buttons... are there any other neat things you know of that can be done with it?
I saw some of the other posts you had on executing the default action for Excel buttons... are there any other neat things you know of that can be done with it?
- 14 Jul 2017, 02:37
- Forum: Ask for Help (v1)
- Topic: .NET Windows
- Replies: 3
- Views: 1208
.NET Windows
I think SourceTree is written in .NET, the title/class/process info in Window Spy look like so: SourceTree ahk_class HwndWrapper[SourceTree.exe;;75302d1d-4350-49ed-81e5-c98f7e7b3b2d] ahk_exe SourceTree.exe No ClassNN values for any of the controls (mousing over things) Nothing for Status Bar Text No...
- 05 Jul 2017, 10:48
- Forum: Ask for Help (v1)
- Topic: A Better Way to Read Stdout
- Replies: 3
- Views: 6367
Re: A Better Way to Read Stdout
Didn't find these posts during previous searches... these look promising. Thanks.
- 05 Jul 2017, 00:32
- Forum: Ask for Help (v1)
- Topic: A Better Way to Read Stdout
- Replies: 3
- Views: 6367
A Better Way to Read Stdout
Does anyone have a good code example that shows stdout captured from a console command? Without a console window popping up Without redirecting command output to a file using > or >> and then reading the file Code below is from the RunWait help topic. It captures stdout from an executed command (or ...
- 02 Jul 2017, 18:09
- Forum: Ask for Help (v1)
- Topic: Capture all keystrokes on a GUI
- Replies: 3
- Views: 2509
Re: Capture all keystrokes on a GUI
>Are you talking about an AHK gui/edit control? No. Talking about detecting keystrokes when a ListBox is active, not a an Edit control. >https://autohotkey.com/board/topic/5835 ... ompletion/ This auto-completion script is neat! Very close to the type of GUI interface I was looking for. I see the im...
- 30 Jun 2017, 17:09
- Forum: Ask for Help (v1)
- Topic: Capture all keystrokes on a GUI
- Replies: 3
- Views: 2509
Capture all keystrokes on a GUI
If you open the "Run" dialog in Windows, you can type into an Edit control while simultaneously viewing a popup list of auto-complete options that can be navigated using up/down arrows. Even while you navigate this list with up/down arrows, you can also still continue to type (because the Edit contr...
- 30 Jun 2017, 16:38
- Forum: Ask for Help (v1)
- Topic: Most efficient way to do an array lookup
- Replies: 17
- Views: 7369
Re: Most efficient way to do an array lookup
@Helgef: InStr() will yield the search string location in bytes (characters), not in line numbers.