Command line control for scripting?



  • Has flux.exe got any switches that can be used to start or script it?

    flux.exe /? doesn't show any help, so I suspect not.

    What I would like to do is be able to change modes using scripting. Specifically, I would like to set up a cmd or powershell script to run in place as a screensaver, so I could make it change f.lux to Darkroom Mode.

    I don't think Darkroom Mode is of much practical use, but it could make a really cool screensaver on my multimonitor/multihost setup!



  • Darkroom Mode removes all blue and green, leaving only red. It also inverts the colors so that most of the time you're exposed to less light. The combination of 100% red with less light is partly for preserving your night vision. So, it's also good for using a computer in total darkness. Of course, due to how it's pure red, it's also good for being the least "alerting".

    Anyway, I'm not aware of any command line options. I've been on this site for a few years now too, and this whole time I haven't seen even one small mention of any command line options.

    Do you think that AutoHotKey would work for this? I've never used it and I also wouldn't know how to, but I know you can write some pretty nice scripts with it to do some neat things.

    Or maybe have someone write a .VB script for you that you can simply execute anytime you want.



  • Yeah, I know about AutoHotKey and had thought of using that, but it would have been easier to use any command line switches if they existed, especially as my experience with it is limited (it's actually the similar AutoIt that I have used in the past - AutoHotKey (which is open source) is a [controversial] fork of an older version of the closed-source AutoIt, and the latter has developed a new version of the scripting language).

    I'm buzzing on coffee so hard right now.

    Do you know why the system tray icon keeps often disappears? Is this a commonly occurring bug?

    Thanks for your reply.

    Oh, and I don't seem to be getting any notification emails from this forum.



  • @jason404 said:

    Yeah, I know about AutoHotKey and had thought of using that, but it would have been easier to use any command line switches if they existed, especially as my experience with it is limited (it's actually the similar AutoIt that I have used in the past - AutoHotKey (which is open source) is a [controversial] fork of an older version of the closed-source AutoIt, and the latter has developed a new version of the scripting language).

    I'm buzzing on coffee so hard right now.

    Do you know why the system tray icon keeps often disappears? Is this a commonly occurring bug?

    Thanks for your reply.

    Oh, and I don't seem to be getting any notification emails from this forum.

    You probably have hidden icons enabled in Windows and the f.lux icon is probably automatically going into that area. If that's not the case, then I don't have an answer.

    For e-mail notification settings, just go here: https://forum.justgetflux.com/user/jason404/settings


Log in to reply
 

Looks like your connection to f.lux forum was lost, please wait while we try to reconnect.