• 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
Re: can any one help?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >can any one help? (From: Trevor Allett <email@hidden>)

  • Prev by Date: Re: {}'s end
  • Next by Date: Jaguar for $60
  • Previous by thread: can any one help?
  • Next by thread: Re: quicksorts [Re: List sorting dilemma]
  • Index(es):
    • Date
    • Thread