• 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: "Arthur J. Knapp" <email@hidden>
  • Date: Thu, 25 Jul 2002 11:09:06 -0400

> Date: Thu, 25 Jul 2002 12:52:24 +0200
> Subject: Adjusting properties of container window
> From: "Michiel (werk)" <email@hidden>

> Nigel,
>
> You're Brilliant!!
> This really works!
> Also thanks for you explenation......

Hey, praising Nigel is my job... ;-)


> 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


The same number of AppleEvents are being sent. You might recieve
a speed up of script execution by ignoring application responses,
but this is usually considered bad, as you can't know if a Finder
error occured. It is also only "virtually" faster, as it is simply
a case of your script continuing to process, meanwhile, the Finder
is still taking the same amount of time to execute the commands it
has received.

tell app "Finder"

ignoring application responses

tell container window of folder "test"

set view to 1
set bounds to {20, 100, 200, 300}
set position to {100, 100}



{ Arthur J. Knapp, of <http://www.STELLARViSIONs.com>
a r t h u r @ s t e l l a r v i s i o n s . c o m
}
_______________________________________________
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: URL Access Scripting
  • Next by Date: Re: Mac OS X Finder views
  • Previous by thread: Adjusting properties of container window
  • Next by thread: Re: Adjusting properties of container window
  • Index(es):
    • Date
    • Thread