• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Combo Box?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: RE: Combo Box
  • Next by Date: Re: Question: Arrays and Matrixes
  • Previous by thread: Re: creating pulldown menu
  • Next by thread: Re: Combo Box?
  • Index(es):
    • Date
    • Thread