Search found 7 matches
- Tue Nov 28, 2006 12:02 am
- Forum: Beginners
- Topic: THintWindow
- Replies: 10
- Views: 14078
Well... if you are just looking for the cursor position there are a few things you can do. GetCursorPos>X,Y If> blah.... Message>Cursor is at %X%, %Y% Endif write your if statement and modify the message as needed... or if you just want to know the cursor position for writing the macro... use the cu...
- Tue Oct 31, 2006 8:40 pm
- Forum: Technical / Scripting
- Topic: VB/WMI help needed.
- Replies: 1
- Views: 3402
VB/WMI help needed.
So I'm not well versed in VB... but I'm trying to get a "footprint" script together that will snapshot my process vital statistics over time (CPU use and memory useage) using WMI. I've used the example to see if the process is running but how do I get to the statistics of the process itself. I think...
- Wed Sep 27, 2006 7:24 pm
- Forum: Technical / Scripting
- Topic: Any limitation on how "deep" you can walk controls
- Replies: 1
- Views: 4299
Any limitation on how "deep" you can walk controls
Ok... my head hurts. :? So here is the scenario... I'm writing a simple macro to check to see if a button is enabled. If yes... click it and log the transaction. If no log a "not ready transaction". I've done this before on a different control and it worked great. But now I'm having troubles after t...
- Thu Sep 21, 2006 10:28 pm
- Forum: Beginners
- Topic: Would like to avoid using FindImage or WaitPixelColor...
- Replies: 4
- Views: 6989
Looks like 2 layers are involved here... //Find the handle of the Take Call Button //Get left pane handle (child of main window) LibFunc>User32,FindWindowExA,leftPaneWnd,hwndAStation,0,WindowsForms10.Window.8.app.0.378734a, //Get button handle (child of left pane) LibFunc>User32,FindWindowExA,btnTak...
- Thu Sep 21, 2006 9:11 pm
- Forum: Beginners
- Topic: Would like to avoid using FindImage or WaitPixelColor...
- Replies: 4
- Views: 6989
Ack... Still having issues. Not getting the right handle.
Still not working... here is my code. I've included the related debug return codes in the comments. //Set Focus SetFocus>A Station //Get handle of Options window GetWindowHandle>A Station,hwndAStation //Returns hwndAgentStation=2163180 //Is Take call available? GetControlText>A Station,WindowsForms1...
- Thu Sep 21, 2006 6:24 pm
- Forum: Beginners
- Topic: Would like to avoid using FindImage or WaitPixelColor...
- Replies: 4
- Views: 6989
Would like to avoid using FindImage or WaitPixelColor...
I have a button that has different states and captions. I'd like to not have to worry about the resolution of the application. I need to know if the button has the right text AND if the button is enabled. Currently I'm waiting for the pixel color of some text to turn black indicating that the button...
- Sat Sep 09, 2006 12:17 am
- Forum: Beginners
- Topic: Seems simple enough... but not working. (aka I'm a noob)
- Replies: 1
- Views: 3838
Seems simple enough... but not working. (aka I'm a noob)
Label>Start Let>WW_TIMEOUT=5 MouseMove>179,389 WaitPixelColor>179,389,0,0 MouseMove>179,389 LClick Wait>7 WaitPixelColor>179,389,10070188,0 Goto>Start The idea is that the script runs and waits for a button to become active (changes color from something to black @ 179, 389) Then when active clicks w...