• 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: scripting pop-up windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripting pop-up windows?


  • Subject: Re: scripting pop-up windows?
  • From: Mr Tea <email@hidden>
  • Date: Mon, 19 Nov 2001 09:46:52 +0000

This from Jim at Mac.com - dated 18/11/01 10.34 pm:

> Is it possible to script the creation of "pop-up windows"

Sure is. Your window needs to be open, before you can pop it, and will
initially appear in its 'pulled open' state (as if you'd just clicked on the
popup tab), but you can also script it to collapse neatly down to the bottom
of the screen. The only thing you can't do (without a lot of messing about)
is set the position and sequence of the popup tabs.

The two lines below, when wrapped in a Finder "tell" block, will do what you
need - once you have defined the variable 'theWindow'

set popup of theWindow to true
set pulled open of theWindow to false

A useful trick is to have a folder action script that automatically 'pops'
the window of the folder it's attached to when that folder is opened...

HTH

Mr Tea

--


  • Follow-Ups:
    • Entourage: Changing current folder viewed
      • From: Jason Bourque <email@hidden>
References: 
 >scripting pop-up windows? (From: "Jim at Mac.com" <email@hidden>)

  • Prev by Date: RE: Appleworks 5: Make new object at ???
  • Next by Date: Re: Strange raw code problem
  • Previous by thread: Re: scripting pop-up windows?
  • Next by thread: Entourage: Changing current folder viewed
  • Index(es):
    • Date
    • Thread