Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An Applescript to match window heights and positions' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An Applescript to match window heights and positions
Authored by: jonathanmcd on Dec 10, '03 12:33:10PM
Or, more simply:
tell application whose frontmost is true


[ Reply to This | # ]
An Applescript to match window heights and positions
Authored by: jonathanmcd on Dec 10, '03 12:39:20PM

Oops... scratch that.

sjonke was correct, you must call system events.



[ Reply to This | # ]
An Applescript to match window heights and positions
Authored by: sjonke on Dec 10, '03 12:40:24PM

Perhaps simpler, but not functional. ;) "application whose frontmost is true". Gives an error. You have to query "System Events" for the *process* whose frontmost is true, and use its name. Ah, the quirks of AppleScript.... :)

---
--- What?



[ Reply to This | # ]