View Full Version : Feature request: Press that f... button
Mastiff
May 24th, 2005, 06:25 AM
Around half a year ago we were discussing "Press that freakin' button" here, and I think it was Mike who said that it was a possible feature for Girder 4. Will that happen? It's simply an easily configured routine that's waiting for a certain dialogue box or other type of window and presses the desired button when it arrives. Like PebblesPC, I have PTFB to press "Hide" whenever it surfaces since it won't start minimized.
Promixis
May 24th, 2005, 06:55 AM
its easily done in lua...
maybe with a UI in G4.1
Mastiff
May 24th, 2005, 06:56 AM
In other words setting a recurring timer to maybe three seconds for each of those dialog boxes? And then targeting the correct button with the mouse? Or another way?
Promixis
May 24th, 2005, 07:09 AM
Yes, a timere and a quick check of the foreground window.
Even every 500 ms would be fine.
Mouse click or a sendmessage command...
Mastiff
May 24th, 2005, 07:10 AM
Or a quick check of any window in the stack, I assume. Or would that kill the CPU?
Promixis
May 24th, 2005, 07:44 AM
most dialog boxes are foreground when they pop up so..
win.GetForegroundWindow will get the handle.
win.GetText will get the text of the window
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.