Re: Arranging a window?
Re: Arranging a window?
- Subject: Re: Arranging a window?
- From: Nigel Garvey <email@hidden>
- Date: Sat, 5 May 2001 11:42:30 +0100
In my message of Saturday, 5 May 2001 10:32:05, I wrote:
>
The integer alternatives to the named 'view' settings are:
>
>
small: 0
>
icon: 1
>
name: 2
>
modification date: 3
>
size: 4
>
kind: 5
>
comment: 6
>
label: 7
>
version: 8
>
creation date: 9
>
large button: 15
>
small button: 16
>
[...]
>
tell application "Finder"
>
set scw to open container window of folder src
>
set v to (view of scw) as integer -- coerce the 'view' to integer
>
if v is in {0, 1, 2, 15, 16} then
Sorry. I don't know how that '2' slipped in! :-\
if v is in {0, 1, 15, 16} then
>
-- sort out the icon positions
>
end if
>
end tell
NG