Newbies Question...
Newbies Question...
- Subject: Newbies Question...
- From: sjp <email@hidden>
- Date: Thu, 21 Feb 2002 11:24:03 -0800
Hey, I'm a newbie to Applescript, and need a little help. I have written
a small script to reset the pop up windows on the desktop, but want to
make it a little better (and versatile).
I have a folder on the desktop called "Tab Folders" In it I put either
the actual folder, or an alias to the desired folder.
I open the Tab Folders folder, and select all.
Then I open all the folders.
Then I set each folders popup to true.
Then I close the Tab Folder folder.
This is ok, but what I'd really like to do is have it so it loops thru
whatever folders and aliases are in the Tab Folder so I can change the
contents of the tab Folder folder without having to rewrite the script
each and every time.
So, How do I get this to loop?
Here's what I have so far:
tell application "Finder"
activate
select folder "Tab Folders "
open selection
select every item of container window of folder "Tab Folders "
open selection
set popup of container window of folder "Aliaii " of folder "Tab
Folders " to true
set popup of container window of folder "Desktop Junk " of folder "Tab
Folders " to true
set popup of container window of folder "Downloads" of folder "Claris
Emailer 2.0v3 " of folder "Applications (Mac OS 9)" of startup disk to
true
set popup of container window of folder "Serial Numbers" of folder "Tab
Folders " to true
select folder "Tab Folders "
open selection
close container window of folder "Tab Folders "
end tell
Thanks,
Stephen
_______________________________________________
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.