• 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: Script to Activate Different Monitor Profile Depending on Frontmost Application ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script to Activate Different Monitor Profile Depending on Frontmost Application ??


  • Subject: Re: Script to Activate Different Monitor Profile Depending on Frontmost Application ??
  • From: "J.E. Schotsman" <email@hidden>
  • Date: Thu, 08 Dec 2016 22:15:02 +0100

> On 08 Dec 2016, at 00:52,Rick Gordon wrote:
>
> Is there anyway that I could, for instance, script a monitor profile
> switch to occur when  switch in or out of a particular application?

You can set a new profile like so:

set profileAlias to POSIX file "Library/ColorSync/Profiles/Displays/Cinema HD-86AF1B33-745B-319E-47F5-123D4424B40A.icc"

tell application "ColorSyncScripting"
	set display profile of display 1 to profileAlias
end tell

I am not sure if this solves your problem, though.

Jan E.


 _______________________________________________
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: Script to Activate Different Monitor Profile Depending on Frontmost Application ??
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Script to Activate Different Monitor Profile Depending on Frontmost Application ??
  • Next by Date: Re: Script to Activate Different Monitor Profile Depending on Frontmost Application ??
  • Previous by thread: Re: Script to Activate Different Monitor Profile Depending on Frontmost Application ??
  • Next by thread: Re: Script to Activate Different Monitor Profile Depending on Frontmost Application ??
  • Index(es):
    • Date
    • Thread