• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Let's have a little fun
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Let's have a little fun


  • Subject: Let's have a little fun
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 7 Mar 2001 10:05:06 -0800

Attach this script to a folder on your favorite victim's computer.

--Michelle

on opening folder thisfolder
tell application "Finder"
set whichwindow to the window of thisfolder
set windowBounds to the bounds of whichwindow
set NoI to the number of items of whichwindow
repeat with loop from 1 to NoI
set NewLocation to my randomize(windowBounds)
set the position of item loop of whichwindow to the NewLocation
end repeat
end tell
end opening folder

on randomize(numberpairs)
set vertical to (random number from item 1 of numberpairs to item 3 of
numberpairs) - (item 1 of numberpairs)
set horizontal to (random number from item 2 of numberpairs to item 4 of
numberpairs) - (item 2 of numberpairs)
return {vertical, horizontal}
end randomize
end

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Follow-Ups:
    • Re: Let's have a little fun
      • From: paul mccabe kampu <email@hidden>
  • Prev by Date: help with Tanaka's
  • Next by Date: help with Tanaka's
  • Previous by thread: help with Tanaka's
  • Next by thread: Re: Let's have a little fun
  • Index(es):
    • Date
    • Thread