Re: Display content on two monitors
Re: Display content on two monitors
- Subject: Re: Display content on two monitors
- From: Michael Ghilissen <email@hidden>
- Date: Wed, 14 Mar 2012 01:39:38 -0400
Brilliant. Simple. Elegant.
Thanks Chris.
On Mar 14, 2012, at 12:05 AM, Christopher Stone wrote: On Mar 13, 2012, at 13:20, Michael Ghilissen wrote: I want to write a script that would display text content on two distinct display-monitors (each one would have a distinct content), but I don't know where to start: which scriptable application, how to address the two monitors separately,...? The content would be refreshed regularly.
______________________________________________________________________
A simple example that does not account for multiple monitors but conveys the basic idea:
tell application "Smile" set winMon1 to make new text window with properties {name:"WinMon1", bounds:{0, 22, 845, 1196}} set winMon2 to make new text window with properties {name:"WinMon2", bounds:{1073, 22, 1918, 1196}} set text of winMon1 to "This window should be on montior 1" set text of winMon2 to "This window should be on montior 2"
delay 2
select winMon1 set text of winMon1 to "More goofy text on Monitor 1."
delay 2
select winMon2 set text of winMon2 to "More goofy text on Monitor 2." end tell
That ought to get you started.
-- 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