- on run
- tell application "Finder"
- set theList to selection
- -- i.e., if the droplet is run, it will work on selected items
- end tell
- changeItems(theList)
- end run
- on open theList
- changeItems(theList)
- -- i.e., if the droplet is activated by dragAndDrop, then theList will contain the files
- end open
- to changeItems(theList)
- tell application "Finder"
- repeat with thisItem in theList
- if kind of thisItem is in ("Folder", "disk") then
- set wasOpen to false
- try
- --this tells if the folder's window is not a popup
- get popup of window of thisItem
- on error
- -- if the folder's window isn't a popup, make sure it's open
- if exists window of thisItem then set wasOpen to true
- open thisItem -- non popup window must be open to set view options
- end try
- try
- --due to a bug, both of the following commands are required to set the 'always snap to grid' option.
- -- ***here is where to put other commands to set view options.***
- set keep arranged of thisItem to true
- set keep arranged of thisItem to «class grid»
- on error
- displaying dialog "Couldn't set '" & (name of thisItem) & "'." buttons "Continue" default button 1
- end try
- if wasOpen is false then close thisItem
- end if
- end repeat
- select theList --restore the selection
- end tell
- end changeItems
Technology |
When Avail-able |
Max devices/bus |
Max bus length (metres) |
Mb/sec max through-put |
Parallel |
|
|
|
|
SCSI-1 |
1984 |
8 |
6 |
5 |
Fast SCSI |
now |
8 |
3 |
10 |
Fast Wide SCSI |
now |
16 |
3 normally |
20 |
Ultra SCSI |
now |
4 or 8 |
3 if 4 devices |
20 |
Wide Ultra SCSI |
now |
4 or 8 or 16 |
NA if 16 devices 1.5 if 8 devices |
40 |
Ultra 2 SCSI |
late 97 |
8 |
12 if low voltage differential |
40 |
Wide Ultra 2 SCSI |
late 97 |
16 |
12 if low voltage differential |
80 |
|
|
|
|
|
Serial |
|
|
Max distance between devices |
|
SSA |
late 97 |
127 |
25 |
4x20 |
FC-AL |
mid 97 |
127 |
30 |
2x100 |
USB |
98 |
127 |
5 |
1.5 |
FireWire |
98-99 |
63 |
10 |
25 now |
FC-EL |
99-2000 |
? |
? |
200-400 |
Ethernet |
? |
? |
? |
? |
Fast Ethernet |
? |
? |
? |
? |