Search found 16 matches

by JFord
07 Jan 2024, 17:38
Forum: Ask for Help (v1)
Topic: Creating a Splash Utility
Replies: 5
Views: 347

Re: Creating a Splash Utility

Thanks for this idea. I thought this sounded encouraging, but in the end it suffers the same fate as the others. After some number of hours it will encountered the same problem. I wonder if you stress tested your code whether you would encounter the same problem. My current idea is to create a watch...
by JFord
02 Dec 2023, 16:53
Forum: Ask for Help (v1)
Topic: Creating a Splash Utility
Replies: 5
Views: 347

Re: Creating a Splash Utility

Do you think that this will eliminate the "Could not close the previous instance" message completely? Usually #SingleInstance Force does the trick, but with a script running 24x7 oddities arise.
by JFord
02 Dec 2023, 16:31
Forum: Ask for Help (v1)
Topic: Creating a Splash Utility
Replies: 5
Views: 347

Creating a Splash Utility

I have a script that creates pop up a splash message of sorts when certain conditions are encountered. The function takes a message and the display duration and presents a UI in the bottom right corner of the screen for that desired time. Normally there is no message being displayed as the popup is ...
by JFord
24 Mar 2022, 10:10
Forum: Ask for Help (v1)
Topic: Prevent Shift Key Hotkey from Being Sent to App
Replies: 4
Views: 460

Re: Prevent Shift Key Hotkey from Being Sent to App

Yeah, I'm aware some apps can hook deep (VNC or VMWare are examples), but they usually have a reason to do so. This app has never exhibited any behavior like this, but I have no idea how it's trapping the event, and given that this is not a hook that is supplied by default it appears that their meth...
by JFord
24 Mar 2022, 09:38
Forum: Ask for Help (v1)
Topic: Prevent Shift Key Hotkey from Being Sent to App
Replies: 4
Views: 460

Re: Prevent Shift Key Hotkey from Being Sent to App

Thanks for the reply. Unfortunately, your solution doesn't address my problem which is NOT that the hotkey doesn't fire, it does using ::Msgbox or something similar will confirm that. The issue is that the app also responds as if the shift key was pressed and that's what I want to prevent.
by JFord
24 Mar 2022, 08:16
Forum: Ask for Help (v1)
Topic: Prevent Shift Key Hotkey from Being Sent to App
Replies: 4
Views: 460

Prevent Shift Key Hotkey from Being Sent to App

I have an app that uses the shift key as its own hotkey (which can't be changed). I assumed that doing something like: LShift::Return would work, however I have found that while my hotkey triggers, the app also sees that the shift key has been pressed. I have never seen this before. It's as if I hav...
by JFord
12 May 2021, 17:59
Forum: Ask for Help (v1)
Topic: Issue with ListView HWND and GetClassName (Can anyone else reproduce this?)
Replies: 2
Views: 321

Re: Issue with ListView HWND and GetClassName (Can anyone else reproduce this?)

Thanks for your reply. I am not sure why I did not see it earlier. I improved my error checking to determine that the underlying error is 1400 (0x578) ERROR_INVALID_WINDOW_HANDLE. Don't know how much we learned from that. I did also confirm that using WinGetClass worked perfectly. The good news (for...
by JFord
07 May 2021, 08:00
Forum: Ask for Help (v1)
Topic: Issue with ListView HWND and GetClassName (Can anyone else reproduce this?)
Replies: 2
Views: 321

Issue with ListView HWND and GetClassName (Can anyone else reproduce this?)

My attempt to instantiate an LV_Colors object was failing and it led me to breakdown the cause to the inability of GetClassName to get a handle on the ListView control based on its HWND. The following short code works perfectly on my laptop, but it will fail on less powerful machines randomly, but o...
by JFord
25 Aug 2020, 08:08
Forum: Ask for Help (v1)
Topic: Refresh GUI when its window is activated
Replies: 3
Views: 504

Re: Refresh GUI when its window is activated

Thanks, A_AhkUser, that's cool code and I will definitely file for future reference.

In the end, I took Boiler's idea, but inserted a WinWaitNotActive before the WinWaitActive and that made everything work smoothly.

Thanks, all.
by JFord
24 Aug 2020, 15:36
Forum: Ask for Help (v1)
Topic: Refresh GUI when its window is activated
Replies: 3
Views: 504

Refresh GUI when its window is activated

I am certain that this is a question with a simple answer that has likely been answered here before, but I can't find anything addressing my issue anywhere. I have a script that creates a GUI and then waits for a hotkey or a timer. The user might interact with the window and then move to other apps,...
by JFord
12 Mar 2019, 08:54
Forum: General Discussion
Topic: AHK Connection to WinBatch
Replies: 7
Views: 3811

Re: AHK Connection to WinBatch

Wow, the members of this forum are truly inspirational. Thanks for the narratives and links. I can certainly testify that converting my several dozen Winbatch (wbt) scripts was like changing different flavors of the same language. I swear some scripts just ran as is. And certainly there are differen...
by JFord
11 Mar 2019, 08:26
Forum: General Discussion
Topic: AHK Connection to WinBatch
Replies: 7
Views: 3811

AHK Connection to WinBatch

One of the reasons that it took me so long to find AHK (I started working with it in 2015) was that since the early Windows 3.1 days I had been using a tool called WinBatch (from Wilson Windoware at the time) which performed many of the desktop automation tasks I normally needed. The upside of this ...
by JFord
04 Aug 2017, 18:05
Forum: Other Programming Languages
Topic: Robotics Automation / Desktop Automation
Replies: 57
Views: 49860

Re: UiPath - Robotics Automation / Desktop Automation

tank wrote:never present technology. Present up to 500% ROI. Yes that's a real industry figure. Companies generally spend less than one fifth on automation as the cost of the staffing reduction as a result
Exactly. Sell the sizzle, not the steak.
by JFord
02 Aug 2017, 16:30
Forum: Off-topic Discussion
Topic: How to Explain Automation to a Non-Tech-Savvy
Replies: 6
Views: 4067

Re: How to Explain Automation to a Non-Tech-Savvy

This is a great discussion. As a career consultant assisting non-technical people to adopt changing technologies has been part of my job for a long time. Another role was attempting to get their managers to sign off on the change in the first place. Most people are averse to change, even if it's for...
by JFord
31 Mar 2017, 03:07
Forum: Ask for Help (v1)
Topic: AHK Crashes
Replies: 2
Views: 1099

AHK Crashes

I have an AHK script that processes video files pulling extended properties from each file. It was working perfectly until recently, but now when it encounters certain files the script crashes (Windows 10 presents the "AutoHotkey has stopped working" dialog). While my code is more complicated I can ...
by JFord
05 Nov 2015, 03:42
Forum: Ask for Help (v1)
Topic: Changing the Directory in a Standard Wndows File Dialog
Replies: 0
Views: 703

Changing the Directory in a Standard Wndows File Dialog

I know that you can use the navigate method of the Shell.Application COM object to change to current directory in Windows Explorer, but is there a similar trick for doing the same thing with the standard Windows file dialogs? What I would like to do is be able to press a hotkey and have the currentl...

Go to advanced search