Re: Combo Box?
Re: Combo Box?
- Subject: Re: Combo Box?
- From: Christopher Nebel <email@hidden>
- Date: Tue, 12 Mar 2002 13:05:23 -0800
On Tuesday, March 12, 2002, at 04:35 AM, Toni Weurlander wrote:
Can anyone give me an example of applescript that handles combo boxes?
I need to set number of items in combo box from a variable (a list)!
First off, just to make sure we're talking about the same thing: in Mac
OS land, a "combo box" is a combination pop-up-menu/edit-text control --
you can either select something from the menu or type something in
yourself (which may not appear in the menu.) If you just want the
pop-up-menu part, that's called a pop-up menu. (Windows, as I recall,
doesn't distinguish between these two -- what Mac OS calls a pop-up menu
they call a combo box without the "editable" flag.)
Plain AppleScript doesn't do much with dialogs at all. However,
AppleScript Studio can, and it has classes for both pop-up menus and
combo boxes. Of course, Studio requires that you use Mac OS X -- if
you're using classic Mac OS, you should look at a dialog building tool
like Dialog Director or FaceSpan. I sort of doubt that they have direct
support for combo boxes (as opposed to pop-up menus), but it should be
easy enough to fake.
--Chris Nebel
AppleScript Engineering
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >Combo Box? (From: Toni Weurlander <email@hidden>) |