ssubirias3 Posted September 6, 2007 Share Posted September 6, 2007 (edited) In a different post Gif suggested WinMenuSelectItem() to another person that wanted to select Tools > Options from within Skype. Send(!to) works as expected, but here's the code that doesn't work. Opt("WinTitleMatchMode", 4) WinActivate("Skype™ - <user_name>") WinMenuSelectItem ("Skype™ - <user_name>", "", "&Tools", "&Options...")oÝ÷ ÙK"ayìZ^r^~Ösäç-"צ~º&¶zZ_W+"³r#fjÉ"¶«{li» Rȧ7"w趶Ø^®(!µ7±¶Ìz{µé¨+1éîצ!Ú'ßÛlyèhÂðêÞ=¨Iën§ .ÖÞªê-=¨IëZ©ªê-jëh×6; This will select File, Page Setup in notepad WinMenuSelectItem("Untitled - ", "", "&File", "Page Set&up..." ) I would have expected "&File" and "Page Set&up..." to be found in the Visible Text or Hidden Text tabs, but both areas including the other tabs don't show this information required for WinMenuSelectItem() to work correctly. Thoughts?? Thanks in advance guys! Edit: I suspect the reason the WinMenuSelectItem() code doesn't work with Skype is that the Menu Items are either custom or a toolbar "pretending" to be menus. The 2nd paragraph under Remarks for WinMenuSelectItem() says this: WinMenuSelectItem will only work on standard menus. Unfortunately, many menus in use today are actually custom written or toolbars "pretending" to be menus. This is true for most Microsoft applications.If this is the reason AU3Info doesn't display the "&File" and "Page Set&up..." text, shouldn't this be documented somewhere in the Help file? Or is this a bug? Edited September 6, 2007 by ssubirias3 Link to comment Share on other sites More sharing options...
herewasplato Posted September 7, 2007 Share Posted September 7, 2007 ...AU3Info doesn't display the "&File" and "Page Set&up..." text,AFAIK - that is correct when dealing with menus... even notepad's menus.You just have to type carefully....MSP [size="1"][font="Arial"].[u].[/u][/font][/size] 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