Jump to content
Sign in to follow this  

Problem with WinMenuSelectItem function

Recommended Posts

I want to make program choose "Save All" if a text editor:

msgbox(0,0,WinMenuSelectItem("Crimson Editor", "", "&File", "&Save All") )

This comand doesnt work. In the opposite, the following command works normally:

msgbox(0,0,WinMenuSelectItem("Crimson Editor", "", "&File", "&New") )

I can`t understand, what is the reason. I`ve attached a scrinshot, where the needed menu item is marked.


Share this post

Link to post
Share on other sites

I don't have crimson editor, but are you sure the "Save All" menu item has the & before the S?

I'm suspecting that might be the problem...

Edited by FreeFry

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...