AutoIt WinMenuSelectItem
Version vom 25. November 2016, 22:38 Uhr von Cg (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Schema == Bild:AutoIt WinMenuSelectItem.png == Description == Selects a specific menu item. Fails in case the requested menu is not found. == Input P…“)
Inhaltsverzeichnis
Schema[Bearbeiten]
Description[Bearbeiten]
Selects a specific menu item. Fails in case the requested menu is not found.
Input Pins[Bearbeiten]
- AutoItHandle
The handle to the autoit server - WindowTitle
The title of the window to adress. - MenuItem
The MenuItem to select. - SubMenuItem1
First sub menu item - SubMenuItem2
Second sub menu item - SubMenuItem3
Third sub menu item
Notes[Bearbeiten]
You should note that underlined menu items actually contain a & character to indicate the underlining. Thus, the menu item File would actually require the text "&File", and Convert would require "Con&vert". You can access menu items up to six levels deep; and the window can be inactive, minimized, and/or even hidden.
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.
Revisions[Bearbeiten]
This block is in the AutoIt Library since 1.0.
Back to AutoIt Library.
Previous: AutoIt [ WaitClose ]
Next: AutoIt [ Click ]