• 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: Set bounds of a window with NO dictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set bounds of a window with NO dictionary


  • Subject: Re: Set bounds of a window with NO dictionary
  • From: Doug McNutt <email@hidden>
  • Date: Sun, 7 Oct 2007 07:54:57 -0600

At 08:49 -0600 10/6/07, Robert Poland wrote:
>This line works for supported apps;
>
>	tell application (path to frontmost application as Unicode text)
>		set front window's bounds to {newL, newT, wd, ht}
>	end tell

I thought that bounds of a rectangle were two points, top-left and bottom-right with each point being a 2-vector from the top left of the main monitor in (+ right, + down) Cartesian coordinates.

{left, top, right, bottom} is the way that works out as a list.

Has it changed? That wd - width? and ht - height? bothers me, but Terminal.app does things like that.
--

--> Love your country. But don't trust its government. <--
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Set bounds of a window with NO dictionary (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Set bounds of a window with NO dictionary
  • Next by Date: Re: osascript and *.command files
  • Previous by thread: Re: Set bounds of a window with NO dictionary
  • Next by thread: How can I use "if keyboard.OptionKey is down then" ?
  • Index(es):
    • Date
    • Thread