• 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: Adjusting properties of container window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adjusting properties of container window


  • Subject: Re: Adjusting properties of container window
  • From: Nigel Garvey <email@hidden>
  • Date: Thu, 25 Jul 2002 17:57:28 +0100

"Michiel (werk)" wrote on Thu, 25 Jul 2002 12:52:24 +0200:

>This really works!
>Also thanks for you explenation......
>
>Only one thing......
>I hoped that it also get faster but that isn't true.

>Nigel wrote:
>tell application "Finder"
> tell container window of folder "test" to set {view, bounds,
>position} to {1, {20, 100, 200, 300}, {100, 100}}
> end tell

Sorry the speed's a disappointment. ;-) Where this sort of 'tell'
construction really pays off is when, say, you need to adjust the
properties of *several* windows to similar settings. Instead of looping
through them individually, you can write something like this:

tell application "Finder"
tell container window of every folder of the selection
open
set {view, bounds, position} to {1, {20, 100, 200, 300}, {100, 100}}
close
end tell
end tell

NG
_______________________________________________
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.

  • Prev by Date: Re: Ragtime
  • Next by Date: Re: Mac OS X Finder views
  • Previous by thread: Re: Adjusting properties of container window
  • Next by thread: Need script editor...??
  • Index(es):
    • Date
    • Thread