Positioning popup windows- a workaround solution.
Positioning popup windows- a workaround solution.
- Subject: Positioning popup windows- a workaround solution.
- From: Tim Clark <email@hidden>
- Date: Sun, 25 Feb 2001 14:33:51 -0500
Christopher C. Stone Wrote:
>
You can't position tabbed windows; sorry. It would be nice and is an obvious
>
feature that should have been implemented, but alas..
And so, I took what I knew about the situation, and rethought the whole
thing.
Here's the situation (see attached .gif):
I have two docks positioned in the lower left-hand corner of my display, and
I use several pop-up windows as app launchers. AppleScript aligns popup
windows as far left as it can make tem go, which puts tabs in front of the
docks. I don't want the popup windows covering up the docks.
The (probably obvious) solution was to create a folder with a bunch of M's
as it's name- enough to keep the docks uncovered after that folder was
closed, and another one to create space further down the line (cropped off
the .gif)
In case anyone else out there might find it useful, a "fill in the blanks"
version of the script follows- remember that you need to create your spacer
folders separately, at least in this version:
tell application "Finder"
activate
open folder "MMMMspacerfolderMMM" of folder "Folder1" of startup disk
set popup of window "MMMMspacerfolderMMM" to true
--copy next two steps for your number of popup folders
open folder "Folder2" of folder "Folder1" of startup disk
set popup of window "Folder2" to true
--close your spacer folders, repeat for your number of spacer folders
set popup of window "MMMMspacerfolderMMM" to false
close container window of folder "MMMMspacerfolderMMM" of folder
"Folder1" of startup disk
End tell
Later,
Tim
[demime 0.97c removed an attachment of type image/gif which had a name of popups.gif"; x-mac-creator="3842494D"; x-mac-type="47494666]