evg64 Posted April 6, 2008 Share Posted April 6, 2008 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. Link to comment Share on other sites More sharing options...
FreeFry Posted April 6, 2008 Share Posted April 6, 2008 (edited) 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 April 6, 2008 by FreeFry Link to comment Share on other sites More sharing options...
JustinReno Posted April 6, 2008 Share Posted April 6, 2008 It doesn't look like any of them have the underscore under the letter. Link to comment Share on other sites More sharing options...
FreeFry Posted April 6, 2008 Share Posted April 6, 2008 In that case, try this: WinMenuSelectItem("Crimson Editor", "", "&File", "Save All") Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now