Sign in to follow this  
Followers 0
angstd

Windows 7 msPaint

4 posts in this topic

I know that Windows 7 is not officially supported by AutoIt, but I wanted to see if someone had a solution for my problem.

I am automating some stuff in Microsoft Paint. I am in need to open items on the menu bar, such as File and Edit. In most applications and older versions of paint, I can use Win MenuSelectItem() control statement to bring up the menu. That function will not work with this version of paint.

I can do this with a ControlSend(), but I find key sends flaky. Anyone know what kind of control I would use to open those menus up?

Share this post


Link to post
Share on other sites



i think its of the new ribbon-interface. because notepad works...

maybe you can do it with keysend ALT+...

goto paint and press ALT and see what happens...

Share this post


Link to post
Share on other sites

AutoIt runs fine on Windows 7 for me. You can just go with MouseClicks if you need to.


For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Share this post


Link to post
Share on other sites

You can use _SendMessage() with WM_COMMAND (see Winspector tool)

or Toolbar functions if new menu is MS nonstandard one in fact based on toolbar.

Search forum for non standard menu solutions...

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