• 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: Rick Gordon <email@hidden>
  • Date: Wed, 07 Dec 2016 16:15:30 -0800

There seem to be some hints on scripting the profile change here:

http://macscripter.net/viewtopic.php?pid=133504

But it seems to require opening System Preferences (since Snow Leopard), and I'd like it to be a background action. Also doing that would then make System Preferences the active app, and what I was hoping for -- maybe in vain, because I suspect someone would have done it -- would be something like (in pseudocode):

tell application Google Chrome
on hasJustBeenActivated, change the profile to sRGB
on noLongerFrontmost, change the profile back to wide-gamut
end tell

Rick Gordon

--------------------
On 12/7/16, 2:54 PM Shane Stanley said:
Responding to the change of application is easy enough, but I don't know of any scriptable way of changing monitor profile.

___________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________
WWW: http://www.shelterpub.com
_______________________________________________
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>
References: 
 >Script to Activate Different Monitor Profile Depending on Frontmost Application ?? (From: Rick Gordon <email@hidden>)
 >Re: Script to Activate Different Monitor Profile Depending on Frontmost Application ?? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Thanks! Re: Microsoft Word Create New Document
  • 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