image ResEx Logo
ResExcellence www : Powered by Google
Cell Phone Themes Icons Mighty Mouse Cursors Software Reviews Widgets & Widgets


Files are in Stuffit 5 or greater format.
Free download.

Tell us about a bad link.

Thank You!


Running 10 days
without a restart.

Window Scripts

These deal with window arrangement,

Contents:

Stagger Finder Windows
Change nested folder views
Random icon moves
Set pop-up windows
Close other windows
Custom window settings


Arion Paylo has taken a previously posted script for cleaning up Findeer Windows and added a few new options. You can now conform all windows to the same dimensions and icon layout. Download it here.

If you often feel your desktop is a clutter of Finder windows scattered about, this script by Victor Yee can help clean things up.

Using a predetermined staggering value of 22 pixels, the script adjusts all windows based on the position of the last active Finder Window when the applet was launched. Not only are they staggered, but they get resized as well. Do you want the windows staggered a little farther apart? Simply adjust the value in the first line.


Here's a great script written by WTF and submitted by Blake. Drag a folder onto it, and the folder, and all sub-folders, will be changed to "List by Name". You can easily modify it to View by Icon.

on open theList
my SetView(theList)
end open

on SetView(theViewList)
tell application "Finder"
repeat with theItem in theViewList
if the kind of theItem is "folder" then
open theItem
set view of theItem to name
close theItem
set theFolderContents to the contents of theItem
my SetView(theFolderContents)
end if
end repeat
end tell
end SetView


If this next AppleScript wasn't so much fun to watch, it would almost be categorized as a virus! xyz created this script that randomly moves your desktop icons around the screen. After pasting it into the Script Editor, save it as an application with the startup screen off, and "always stay open" on.

    on idle
    try
    tell application "Finder" to set AllItems to every item of desktop
    repeat with AnItem in AllItems
    set RX to random number from 60 to 750 --change these as desired
    set Ry to random number from 60 to 750 --change these as desired
    tell application "Finder" to set position of AnItem to {RX, Ry}
    end repeat
    on error
    return
    1 * 5
    end try
    return
    1 * 5 --change these as desired
    end idle

    --Xtra : Save as stay open/application.
    --Use Resedit to change file type to "appe".
    --Open the Size resource scroll to only background,
    --and switch this setting from 0 to 1
    --Give it a fun icon and drop on your closed system folder.
    --(to move to the Extensions folder)
    --Restart. Have fun chasing your icons around. My 2 children love it.


Jeremy asks this AppleScript question:

    I was wondering if you could provide a script to place in Start Up items that would open a folder, and position it so that it became a pop-up folder. I have recently set up an iMac for a friend and her entire family is totally new to computers. In order to help them I've made three folders containing aliases of their applications, games, and personal files. These fodlers are in another folder called •POP-UP FOLDERS which sits in the HD. Every so often I get a frantic phone call saying that they've lost the games, or something. I thought if I had a script to do all this at startup, it would solve many problems.

This script was primarily made by recording actions with the Script Editor:

    tell application "Finder"
    activate
    select folder "
    Games" of startup disk
    open selection
    set popup of container window of folder "
    Games" of startup disk to true
    close container window of folder "
    Games" of startup disk
    -- the above line was added to close the popup window
    end tell


This simple Applescript submitted by Bill Ferriot will close all but the active Finder windows:

    tell application "Finder"
    close (every window whose index is not 1)
    end tell


Another sample Applescript to tidy up windows was written by ßob. After downloading the file, open it in the Script Editor and adjust the settings to suit your needs:


Back to the Archive

Cell Phone Themes Icons Mighty Mouse Cursors Software Reviews Widgets & Widgets

Maintained by the Staff of ResExcellence. This entire site ©1997-2006 ResExcellence
Privacy Statement? Sure we gotta Privacy Statement. [an error occurred while processing this directive]