Jump to content

Anything new to help control non-standard GUIs?


Mbee
 Share

Recommended Posts

Drat!  The third-party GUI I wish to control (Comodo Firewall 10) is - gasp! - non-standard! :'(  I'm not aware of any alternative but brute-force, horrifically ugly MouseClick() calls after using the AutoIt Info tool to manually determine the mouse coordinates of the two dozen pseudo-controls in six different windows  (kill me now!)

I don't suppose anyone's come up with a better alternative, like a magical UDF that finds the correct mouse coordinates of all those pseudo-controls based on it's text or something?  Anything?  Please let me know...

Thanks!

Link to comment
Share on other sites

before someone steps in with the IUIAutomation UDF, may i suggest you consider very carefully what is the purpose of your automation. i.e., what exactly are you trying to do, and is there another way to do it.

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

 

Link to comment
Share on other sites

On 2/23/2018 at 1:54 AM, orbs said:

before someone steps in with the IUIAutomation UDF, may i suggest you consider very carefully what is the purpose of your automation. i.e., what exactly are you trying to do, and is there another way to do it.

Thanks for the advice, which I find to be sound.  Before turning to the very unpleasant task of writing a script that needs to employ MouseClick(), I posted a question in the Comodo Firewall help forum asking if there was any way -- any way at all -- of communicating with the firewall application or controlling its operations other than by manually pressing the (pseudo)-buttons on the GUI.  I wondered if I might do this by sending it Windows messages or using the command line.  Unfortunately, although many had read the OP, no one has yet replied.  I then sent an email to the tech support staff, but I do not expect a helpful reply.

May I ask a question, please?  I took a brief look at the start of the thread describing the IUIAutomation UDF, and at first glance, it doesn't look like it will help me control a third-party application with a totally non-standard GUI. Of course, I could quite easily be extremely wrong about that. Do you have some experience or knowledge regarding that UDF that suggests it could indeed do that?

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...