AutoIt WinMenuSelectItem: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 25.x)
Zur Navigation springen Zur Suche springen
Inhalt gelöscht Inhalt hinzugefügt
Mawalch (Diskussion | Beiträge)
KKeine Bearbeitungszusammenfassung
Mawalch (Diskussion | Beiträge)
KKeine Bearbeitungszusammenfassung
 
Zeile 7: Zeile 7:


== Input Pins ==
== Input Pins ==
*'''AutoItHandle'''<br>The handle to the autoit server
*'''AutoItHandle'''<br>The handle to the AutoIt server
*'''WindowTitle '''<br>The title of the window to address.
*'''WindowTitle '''<br>The title of the window to address.
*'''MenuItem'''<br>The MenuItem to select.
*'''MenuItem'''<br>The MenuItem to select.
Zeile 24: Zeile 24:
<!--AutoUpdateNavPanel-->
<!--AutoUpdateNavPanel-->


----
<hr>
Back to [[AutoIt Library#Window Specific Functions|AutoIt Library]].<br>
Back to [[AutoIt Library#Window Specific Functions|AutoIt Library]].<br>
Previous: [[AutoIt WinWaitClose|AutoIt [ WaitClose ]]]<br>
Previous: [[AutoIt WinWaitClose|AutoIt [ WaitClose ]]]<br>

Aktuelle Version vom 15. Juli 2017, 16:01 Uhr

Schema

Description

Selects a specific menu item. Fails in case the requested menu is not found.

Input Pins

  • 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

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

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