• 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: Finder Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder Scripting


  • Subject: Re: Finder Scripting
  • From: Doug McNutt <email@hidden>
  • Date: Sun, 21 Aug 2005 10:52:46 -0600

At 09:01 +0200 8/21/05, Emile Schwarz wrote:
>I am sorry to have to report the following:
>
>tell application "Finder"
>	set bounds of front window to {0, 44, 100, 100}
>	return properties of front window
>end tell
>
>When run, the script does its job. BUT, close the window, open it and you get the window back to the previous location and widh/height...

A similar effect occurs when attempting to set window bounds in Terminal.app. Setting the bounds twice helps but making a loop that sets bounds then checks bounds until Terminal gets it right never fails.
--

--> From the U S of A, the only socialist country that refuses to admit it. <--
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Finder Scripting (From: Emile Schwarz <email@hidden>)

  • Prev by Date: Re: Time to figure out what is going on...
  • Next by Date: Re: Finder Scripting
  • Previous by thread: Re: Finder Scripting
  • Next by thread: Re: Finder Scripting
  • Index(es):
    • Date
    • Thread