home / contact 
 Mac
add an appfaqlinkspollsupcoming eventssearch
 Welcome Tue Mar 28 
Sections
 
Site News
Apps: Audio/Video
Apps: Classic
Apps: Command Line
Apps: Database
Apps: Docklets
Apps: Emulation
Apps: Font Tools
Apps: Games
Apps: Graphics
Apps: Internet
Apps: Math/Science
Apps: Miscellaneous
Apps: Networking
Apps: OS X Server
Apps: Productivity
Apps: Programming
Apps: Screen Savers
Apps: Security
Apps: UI
Apps: Utilities
Scripts: Applescript
Scripts: Perl
Scripts: Scripting
System: Appearance
System: Drivers
System: Fonts
System: Services
System: Updates

User Functions
 
Username:

Password:

Don't have an account yet? Sign up as a New User

Pair Networks
 
Don't want to spend $99 on .Mac services from Apple?

Sign up for an account at Pair Networks, for only $5.95/Month. You'll get email, 100MB of disc space, 100MB traffic per day, and super-reliable service on one of the fastest web hosts around.

Click here to learn more!


Windowshade for Finder Windows
Mar 27, 2001 07:37AM
Contributed by: Perry
http://www.apple.com/applescript/MacOSX_Overview/samples/03.htm


Read below for an AppleScript that will turn on window shading in the finder. note that this doesn't work for other apps, just the finder

The following script example demonstrates how to windowshade desktop windows in the Finder:



-- WINDOWSHADE FINDER WINDOWS

tell application "Finder"

-- the desktop is erroneously listed as a window so don't process

repeat with i from 1 to (the count of windows) - 1

try

copy the bounds of window i to {a, b, c, d}

set the bounds of window i to {a, b, c, b + 1}

end try

end repeat

end tell





The following script example demonstrates how to expand desktop windows in the Finder:



tell application "Finder"

-- the desktop is erroneously listed as a window so don't process

repeat with i from 1 to (the count of windows) - 1

try

set zoomed of window i to true

end try

end repeat

end tell


What's Related
 
  • More by Perry
  • More from Scripts: Applescript

  • Story Options
     
  • Mail Story to a Friend
  • Printable Story Format