Re: OS 9.2.1 - popup windows - scriptable?
Re: OS 9.2.1 - popup windows - scriptable?
- Subject: Re: OS 9.2.1 - popup windows - scriptable?
- From: bryan <email@hidden>
- Date: Tue, 15 Oct 2002 08:07:25 -0400
I use the following script to make sure that I have all the popups I want on my
desktop for every folder desired on startup (OS 9.2.2):
tell application "Finder"
activate
set theList to every item of folder "System Folder:Popups:" of startup disk
repeat with i from 1 to the number of items in theList
set theFolder to item i of theList
try
get (popup of (window of (original item of (theFolder as reference))))
on error
select theFolder
open selection
set popup of front window to true
set pulled open of front window to false
end try
end repeat
close every window
end tell
To use this, 1) create a folder in your System Folder called 'Popups'.
2) Put aliases to every folder (that you want a popup on your desktop of)
inside the 'Popups' folder.
3) Drop this script (which I call simply 'make popups') in your startup folder.
That's it. Now, every time you restart; the script will make sure your folders
are in popup mode on your desktop, without having to reset the popups if
they are already present.
Bryan Kaufman
Mr Tea wrote:
>
This from Max Rutherford - dated 15-10-02 04.17 am:
>
>
> Can anyone tell me how I can get a window of a folder to open AND go
>
> straight to being a 'popup' i.e. that tab state at the bottom of a monitor
>
> window. I keep getting access denied etc. It open's fine etc. and is part of
>
> a larger script with various Quark calls - but I cannot get this element to
>
> work.
>
>
These lines, inside a 'Finder' tell block, should do it for you:
>
>
set popup of container window of [folder ref]to true
>
set pulled open of container window of [folder ref]to false
>
>
HTH
>
>
Mr Tea
>
_______________________________________________
>
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.
[demime 0.98b removed an attachment of type text/x-vcard which had a name of bryan.vcf]
_______________________________________________
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.