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

Re: Applescript AeroSnap


  • Subject: Re: Applescript AeroSnap
  • From: Christopher Stone <email@hidden>
  • Date: Wed, 06 Aug 2014 11:03:37 -0500

On Aug 06, 2014, at 04:36, Guido Tangorra <email@hidden> wrote:
tell application "Finder" to set bounds of window 1 to {0, 22, 1000, 500}
tell application "AppleScript Editor" to set bounds of window 1 to {0, 22, 1000, 500}

tell application "AppleScript Editor" to get bounds of window 1 # This return {0, 22, 1000, 500}
tell application "Finder" to get bounds of window 1                     # This return {0, 44, 1000, 522}!!!

I'm confused...
______________________________________________________________________

Hey Guido,

It's not unreasonable for you to be confused.

If memory serves this difference in the top Y coordinate is a break between Cocoa and Carbon apps.

Shane will probably remember and correct me if I'm wrong.

--
Best Regards,
Chris

 _______________________________________________
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

  • Follow-Ups:
    • Re: Applescript AeroSnap
      • From: Shane Stanley <email@hidden>
References: 
 >Applescript AeroSnap (From: Guido Tangorra <email@hidden>)
 >Re: Applescript AeroSnap (From: Shane Stanley <email@hidden>)
 >Re: Applescript AeroSnap (From: Guido Tangorra <email@hidden>)

  • Prev by Date: Re: Read a text file
  • Next by Date: Re: Applescript AeroSnap
  • Previous by thread: Re: Applescript AeroSnap
  • Next by thread: Re: Applescript AeroSnap
  • Index(es):
    • Date
    • Thread