Search found 193 matches
- 19 Sep 2017, 00:13
- Forum: Scripts and Functions
- Topic: Excel: get selection screen coordinates (selected cells)
- Replies: 1
- Views: 897
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
- Topic: Size the SciTE Output window
- Replies: 1
- Views: 728
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
- Topic: .NET Windows
- Replies: 3
- Views: 943
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
- Topic: .NET Windows
- Replies: 3
- Views: 943
.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
- Topic: A Better Way to Read Stdout
- Replies: 3
- Views: 3609
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
- Topic: A Better Way to Read Stdout
- Replies: 3
- Views: 3609
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
- Topic: Capture all keystrokes on a GUI
- Replies: 3
- Views: 1570
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
- Topic: Capture all keystrokes on a GUI
- Replies: 3
- Views: 1570
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
- Topic: Most efficient way to do an array lookup
- Replies: 17
- Views: 4531
Re: Most efficient way to do an array lookup
@Helgef: InStr() will yield the search string location in bytes (characters), not in line numbers.
- 30 Jun 2017, 14:53
- Forum: Ask For Help
- Topic: Most efficient way to do an array lookup
- Replies: 17
- Views: 4531
Re: Most efficient way to do an array lookup
Thanks, this is very close to what I was considering doing but it would have taken me a while to get to what you are showing here. Also, if anyone wanders along later, it looks like the StringSplit function can be used regarding my original Question #1. This solution however needs the loop to assign...
- 30 Jun 2017, 13:53
- Forum: Ask For Help
- Topic: Most efficient way to do an array lookup
- Replies: 17
- Views: 4531
Most efficient way to do an array lookup
For... A search string I'd like to find in a text file The string will be an exact match of one full line in the text file, and one line only i.e., there are no duplicates in the file And if there were, only the first result is needed The files have potential to be thousands of lines long and maybe ...
- 03 May 2017, 23:42
- Forum: Ask For Help
- Topic: #Include lib\*.ahk Topic is solved
- Replies: 2
- Views: 1176
Re: #Include lib\*.ahk Topic is solved
Already had a launcher running for the scripts that needed this, so this solution worked quite nicely without having to add very much... thanks.
- 26 Apr 2017, 17:54
- Forum: Ask For Help
- Topic: #Include lib\*.ahk Topic is solved
- Replies: 2
- Views: 1176
#Include lib\*.ahk Topic is solved
Is it possible to include all function libraries in the lib\ folder via a single include statement somehow? For a few scripts I am calling functions via fn.call() where I want to automatically include libraries. Since the function isn't explicitly referenced, the include statements have to list the ...
- 05 Mar 2017, 21:19
- Forum: Ask For Help
- Topic: Set Script Icon in Alt+Tab Window
- Replies: 3
- Views: 1524
Re: Set Script Icon in Alt+Tab Window
So the tray icon selector index (for lack of a better term) is not the same lookup number when used with the LoadImage DLL call, i.e., it does not reference the same icon. When the value 255 is used for the Tray Icon it yields one thing and when 255 is used for the Resource ID it yields another. I c...
- 04 Mar 2017, 20:36
- Forum: Scripts and Functions
- Topic: Animation on Mouse Click
- Replies: 1
- Views: 2370
Animation on Mouse Click
This is proof-of-concept code that will animate mouse clicks with concentric/fading circles that can be adjusted to taste. I wanted something like this to show an automated mouse-click event at a particular location--this demo code fires the animation any time the user clicks the mouse. It also requ...
- 12 Feb 2017, 22:55
- Forum: Ask For Help
- Topic: Detect Keys with RDP Full Screen
- Replies: 1
- Views: 588
Detect Keys with RDP Full Screen
When you are on a local machine that is connected via Remote Desktop to another machine and full screen mode is active locally, the local keystrokes pressed are sent to the remote machine. On the local machine, if an AutoHotkey script is running, the keystrokes (for the most part) will not be detect...
- 12 Feb 2017, 22:38
- Forum: Ask For Help
- Topic: What is the genuine shortcut key for turning off editing mode in MS Excel? Topic is solved
- Replies: 13
- Views: 2874
Re: What is the genuine shortcut key for turning off editing mode in MS Excel? Topic is solved
I stumbled upon the same solution recently (Ctrl+Enter) trying to get Jethrow's accessibility function to work more reliably when retrieving a reference to an Excel window in edit mode. I took the following approach (this particular syntax requires a separate function for ControlGetFocus()) xlWinTit...
- 12 Feb 2017, 22:25
- Forum: Scripts and Functions
- Topic: [LogonDesktop] AHK on the lock/logon screen: control Spotify with the media keys there, e.g.
- Replies: 3
- Views: 4089
Re: AHK on the lock screen - control Spotify with the media keys
Thanks for posting
- 30 Dec 2016, 02:59
- Forum: Ask For Help
- Topic: minimize/hide a process
- Replies: 3
- Views: 1019
Re: minimize/hide a process
Looks like your pid variable would be null at the WinWait statement since you didn't add it as an argument to the Run command.
- 30 Dec 2016, 02:56
- Forum: Ask For Help
- Topic: Address Pointed to by Value in an Offset
- Replies: 3
- Views: 1269
Re: Address Pointed to by Value in an Offset
Have you looked into possible Dll Calls that might be able to do that?