We Recommend

Beginning AppleScript (Programmer to Programmer) Beginning AppleScript (Programmer to Programmer)
Geared toward programmers with no prior development knowledge, Beginning AppleScript serves as a comprehensive guide to using AppleScript on the Mac OS X platform. This title introduces the reader to AppleScript, and then illustrates how to efficiently start writing scripts through sample programs as each concept is introduced.


Posted By

mikegreen on 05/22/08


Tagged

mac osx desktop finder


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

ocean


Get Desktop Resolution


Published in: AppleScript 


  1. tell application "Finder"
  2. set _b to bounds of window of desktop
  3. set _w to item 3 of _b
  4. set _h to item 4 of _b
  5. end tell

Report this snippet 

You need to login to post a comment.