Search found 204 matches

by JJohnston2
30 Jun 2017, 14:53
Forum: Ask for Help (v1)
Topic: Most efficient way to do an array lookup
Replies: 17
Views: 7588

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...
by JJohnston2
30 Jun 2017, 13:53
Forum: Ask for Help (v1)
Topic: Most efficient way to do an array lookup
Replies: 17
Views: 7588

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 ...
by JJohnston2
03 May 2017, 23:42
Forum: Ask for Help (v1)
Topic: #Include lib\*.ahk Topic is solved
Replies: 2
Views: 1805

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.
by JJohnston2
26 Apr 2017, 17:54
Forum: Ask for Help (v1)
Topic: #Include lib\*.ahk Topic is solved
Replies: 2
Views: 1805

#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 ...
by JJohnston2
05 Mar 2017, 21:19
Forum: Ask for Help (v1)
Topic: Set Script Icon in Alt+Tab Window
Replies: 3
Views: 2343

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...
by JJohnston2
04 Mar 2017, 20:36
Forum: Scripts and Functions (v1)
Topic: Animation on Mouse Click
Replies: 1
Views: 3445

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...
by JJohnston2
12 Feb 2017, 22:55
Forum: Ask for Help (v1)
Topic: Detect Keys with RDP Full Screen
Replies: 1
Views: 1019

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...
by JJohnston2
12 Feb 2017, 22:38
Forum: Ask for Help (v1)
Topic: What is the genuine shortcut key for turning off editing mode in MS Excel? Topic is solved
Replies: 13
Views: 3655

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...
by JJohnston2
30 Dec 2016, 02:59
Forum: Ask for Help (v1)
Topic: minimize/hide a process
Replies: 3
Views: 1271

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.
by JJohnston2
30 Dec 2016, 02:56
Forum: Ask for Help (v1)
Topic: Address Pointed to by Value in an Offset
Replies: 3
Views: 1462

Re: Address Pointed to by Value in an Offset

Have you looked into possible Dll Calls that might be able to do that?
by JJohnston2
22 Dec 2016, 18:40
Forum: Ask for Help (v1)
Topic: Format (bold, italic, etc.) for ListView row
Replies: 1
Views: 811

Format (bold, italic, etc.) for ListView row

Does anyone have a creative way to selectively format a ListView row, column or cell?

i.e., make certain rows (but not others) in ListView be shown in bold or italics?
by JJohnston2
17 Dec 2016, 20:49
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 835
Views: 628406

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Yessss... awesome. I tried to "Inspect variable" previously and it wasn't working so figured I might be doing something wrong. Not sure what I changed but it is working ok now. Thanks for the summary description of where to find it.
by JJohnston2
17 Dec 2016, 20:09
Forum: Scripts and Functions (v1)
Topic: DebugVars
Replies: 33
Views: 15551

Re: DebugVars

Thanks for making this available... the GUI is very intuitive and especially helpful with multiple scripts running.
by JJohnston2
17 Dec 2016, 19:56
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 835
Views: 628406

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Thanks!... works... starts without error and I see the DebugVars files in the SciTE folders now. Does this just include the files with the SciTE installation, or does it add something as a new feature or menu option into SciTE?--haven't figured out how to access/use it yet if so. I went through the ...
by JJohnston2
17 Dec 2016, 18:23
Forum: Other Utilities & Resources
Topic: Icon generator for AHK apps
Replies: 4
Views: 6918

Re: Icon generator for AHK apps

Neat idea. Consider Google Translate for an English version.
by JJohnston2
16 Dec 2016, 20:14
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 835
Views: 628406

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Thanks evilC... very convenient for you to zip and attach. I was hoping that method would work but may have to try something else as I am getting COM errors (may not be related to the zipped files themselves of course). Msg 1:"SciTE4AutoHotkey: Can't create COM interface! Some program functions may ...
by JJohnston2
16 Dec 2016, 19:44
Forum: Forum Issues
Topic: Docs Labels
Replies: 12
Views: 8586

Re: Docs Labels

Got this to run... thanks for posting. I like the auto-fill combo-box.
by JJohnston2
16 Dec 2016, 19:32
Forum: Scripts and Functions (v1)
Topic: AutoHotkey Forum Desktop Notifications
Replies: 9
Views: 3603

Re: AutoHotkey Forum Desktop Notifications

I had two or three problems getting this to work... 1) It hung indefinitely on WinWait ahk_pid for the IE window (no timeout delay or error). In those cases, the ahk_pid returned from the run command (the id that winwait was waiting for) didn't exist by the time it got to WinWait. I put up a MsgBox ...
by JJohnston2
15 Dec 2016, 02:12
Forum: Ask for Help (v1)
Topic: Layered GDIP Control Image Possible?
Replies: 1
Views: 612

Layered GDIP Control Image Possible?

Is it possible to create a layered GDIP GUI (Where the Gui has Gui, +E0x80000 set), that is linked to a control ID? See function below for a non-GDIP function to add a border. In this case the secondary 'border' GUI gets linked to a control and returned to the calling function which can then move it...

Go to advanced search