AutoIt WinMenuSelectItem

Aus expecco Wiki (Version 2.x)
Version vom 15. Juli 2017, 16:01 Uhr von Mawalch (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Schema[Bearbeiten]

AutoIt WinMenuSelectItem.png

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 address.
  • 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 ]




Copyright © 2014-2024 eXept Software AG