can any one help?
can any one help?
- Subject: can any one help?
- From: Trevor Allett <email@hidden>
- Date: Thu, 1 Aug 2002 11:51:41 +0100
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?
(The script is run via MacAdmin as a "Login agent" as is the mounting of
the server volume)
thanks in advance -t
--
Trevor Allett
IT Support Team Member
North Oxfordshire College & School of Art
Banbury, OXON. United Kingdom
===================================================
This message may contain information which is legally
privileged and/or confidential. If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such notification
notwithstanding, any comments or opinions expressed are those of
the originator and not those of North Oxfordshire College and
School of Art, unless otherwise explicitly stated.
===================================================
_______________________________________________
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.