Skip to main content
areohbee
Legend
June 4, 2013
Question

Anybody know how to turn screen lights out (programmatically)?

  • June 4, 2013
  • 1 reply
  • 839 views

I need to either have a plugin-initiated "Lights Out" or an auto-hotkey initiated "Lights Out"...

One catch: it must work in conjunction with Lr5's full-screen mode, which does not honor the 'L' key for turning lights off. In case this isn't clear from context, not all of the monitors can be darkened, just the one(s) without Lr in full-screen mode ;-}.

So, it needs to be a monitor function or something. I would prefer general purpose, but even if it only works with my monitor (or requires others to customize for their monitors), that would be OK.

My monitor is a Dell 2407.

Thanks,

Rob

This topic has been closed for replies.

1 reply

johnrellis
Legend
June 4, 2013

I'm not sure what the higher-level goal is, but perhaps the new LrController module might be an alternative:

LrController:

{--table: 1
previousPhoto = function: 00000000145D3330,
nextPhoto = function: 00000000145D32F0,
stopSlideshow = function: 00000000145D33B0,
triggerCapture = function: 00000000145D33F0,
showGrid = function: 00000000145D3270,
startSlideshow = function: 00000000145D3370,
showLoupe = function: 00000000145D3230,
showBezel = function: 00000000148EC500}

areohbee
areohbeeAuthor
Legend
June 4, 2013

John R. Ellis wrote:

I'm not sure what the higher-level goal is

I just wanna be able to use Lr's 'F' mode without my other monitor next to it being so bright.

At the moment my solution is to turn the power off on the other monitor. - definitely room for improvement...

It'll be interesting to find out what the LrController is about though, have you tried to get it going yet?

Thx,

R.

johnrellis
Legend
June 4, 2013

I selected 10 images and then invoked LrController.startSlideshow() from the Eval window of Debug Script.  LR prepared the previews for the slideshow, darkened the screen, and then locked up (had to kill it from Task Manager).  Perhaps there were arguments that were supposed to have been passed to startSlideshow(), or perhaps it got confused by having hte Debug Script window open, or perhaps it's buggy.