Sign in to follow this  
Followers 0
ShiftyGeezer

Noob : Can I control an application through its GUI?

9 posts in this topic

I've just learnt about AutoIt, sounded fabulous, but now I'm wondering if I got the wrong end of the stick!

I'm wanting to script a graphics application that has no scripting functions, to batch process a load of animation frames to composite and blend them. I thought from an article I read that AutoIt would enable an application to be controlled through its GUI, which I guess meant simulating mouse-clicks in screen-zones or something. Reading briefly through the documentation, it seemed to me that the GUI aspect is about creating a GUI for scripts, and not controlling an application.

So is this possible?! My graphics app (PSP 7) dosen't have keyboard shortcuts for changing a layer's blend mode and I could only do this by automating mouse clicks on GUI controls.

Share this post


Link to post
Share on other sites



You can still do this. Go in the help file and look up "Mouse Management". This will help ;)

Share this post


Link to post
Share on other sites

Also, keyboard shortcuts may help cut down on the need to interact with specific buttons.

Share this post


Link to post
Share on other sites

Very predictably, look up "Keyboard Management". ;)

Share this post


Link to post
Share on other sites

Doh. my fault Drifter. I didn't see you reply to his post. I should have refreshed before I clicked post. ;)

Share this post


Link to post
Share on other sites

ugh and I thought that what you said about keyboards was his post. My fail too! lol.

Share this post


Link to post
Share on other sites

Aha, thanks! That's today's job.

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

Just want to say it's working brilliantly and I've recommended AutoIt to a couple of developer mates! I'm amazed this app isn't more well-known as the flexibility is superb. Prior to finding this I was thinking back to AREXX on the Amiga and how a universal scripting interface is so useful. AutoIt is even better as it isn't dependent on scripting ports. As I was suggesting to a friend, for off-site testing this is perfect, as instead of requiring users to follow instructions which they won't do because 'they know best,' you can supply an executable to perform exactly the required input and get exactly the right output for problem solving.

Plus it's well documented unlike most freeware apps, and it has a useful, supportive community unlike most freeware apps! (Am I sounding too cynical yet? :))

If I ever make any money, I'll be sure to support AutoIt financially as well as by word of mouth. ;)

Edited by ShiftyGeezer

Share this post


Link to post
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
Sign in to follow this  
Followers 0