PreFab...Player...Documentation...AppleScript...User's Guide...Chapter 5, Verbs...One Verb Per Page...

get info: for a pull-down menu


Syntax

get info menu item nameOrPosition of menu nameOrPosition [of submenu nameOrPosition]


Parameters

menu item nameOrPosition -- name or position number (counting menu dividers) of the menu item

of menu nameOrPosition -- name or position number of the pull-down menu

[of submenu nameOrPosition] -- name or position number (counting menu dividers) of the submenu


Result

record of properties (attributes)


Examples

get info menu item "" of menu "Graphics" -- for the menu itself
get info menu item "Select All" of menu "Edit" -- for a menu item
get info menu item "" of submenu "Alignment" of menu "Graphics" -- just for the submenu
get info menu item "Center" of submenu "Alignment" of menu "Graphics"
checked of (get info menu item "Geneva" of menu "Font")


Notes



Errors

Menubar is not available (e.g. a modal dialog is present).


See Also

exists menu
outline menus
yield time
set complete match

| Top |


exists window| Prev | Home | Next |get info popup

Updated on 2/5/97 by Scott S. Lawton (ssl@prefab.com)

Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.

This site built and maintained using Stage Three, a set of custom Frontier scripts.