• 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
Unable to really change the window location
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to really change the window location


  • Subject: Unable to really change the window location
  • From: Emile Schwarz <email@hidden>
  • Date: Wed, 04 May 2005 13:40:45 +0200

Hi all,


I was thinking that I already asked that, but a simple search failed, so I report it now and here.



On version prior to Tiger, the following AppleScript place the front window at location 0,44 (X:0, Y:44): leftmost position, just below the menubar.


tell application "Finder"
	set position of front window to {0, 44}
end tell


With Tiger, this (seems to) works at first, but if you close the window and reopen it, that window returns in the previous window location.


I restate from the beginning:

a. the front window position is {250, 175} (for example),

b. you run the above acript,

c. that front window goes at position {0,44} as asked,

d. close the front window, open it back and you can see the window at position {250,175}.

At this point, I would say: "It’s a bug!". But since Tiger shows so many differences from Panther (and other previous Mac OS X versions), that it may be a simple difference / I have to make some change to make it work with Tiger.

What’s your feeling on that subject ?

TIA,

Emile


_______________________________________________ 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
  • Follow-Ups:
    • Re: Unable to really change the window location
      • From: Christopher Stone <email@hidden>
  • Prev by Date: Keyboard shortcut for auto-complete (Code Sense) in Tiger
  • Next by Date: Re: Keyboard shortcut for auto-complete (Code Sense) in Tiger
  • Previous by thread: Re: Keyboard shortcut for auto-complete (Code Sense) in Tiger
  • Next by thread: Re: Unable to really change the window location
  • Index(es):
    • Date
    • Thread