Re: can any one help?
Re: can any one help?
- Subject: Re: can any one help?
- From: Andy Wylie <email@hidden>
- Date: Thu, 01 Aug 2002 23:35:36 +1200
on 8/1/02 10:51 PM +1200: Trevor Allett wrote:
>
Hi,
>
can any one fix this bit of script for me? i need to set the attributes
>
of a server volume window so that when it is opened it is viewed as a
>
list by name and only has date modified and size, and it is big, so far
>
i have;
>
try
>
tell application "Finder"
>
set view of container window of disk "serverHD2" to name
>
set shows kind of disk "serverHD2" to false
>
set shows version of disk "serverHD2" to false
>
set uses relative dates of disk "serverHD2" to false
>
set has custom view settings of disk "serverHD2" to true
>
set size of container window of disk "serverHD2" to {436, 664}
>
end tell
>
end try
>
>
this works for the most part but only the first line is achieved unless
>
the window is open, is this the only way?
>
yes the window must be open, you can 'double tell'... 'tell container window
of disk "serverHD2" ...' to save continually addressing it.
_____________________________ Andy
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.