f.lux f.lux forum
    • Recent
    • Popular
    • Register
    • Login

    I wrote a script that might fix your tinted screenshot issue

    Scheduled Pinned Locked Moved Windows v4
    1 Posts 1 Posters 571 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      chaoscreater
      last edited by

      First of all, big thanks to 7empest from Autohotkey Discord for the help with the script.

      Anyway, I have created an Autohotkey script for you guys to use. It works really well for me on my Windows 10 1903 atm. I normally take screenshots using the PrtSc button on my keyboard, which triggers the default "Windows Snip & Sketch" tool. Alternatively, I also use the key combinations Windows + Shift + S, which also brings up the same tool as well. The script below is for my personal use, but you can use it as a template and modify it to make it use your own key combinations and run specific screenshot capture tools.

      The way the script works is simple. When the key combination "Windows + Shift + S" is pressed (#+s), it brings up the screenshot tool and it will send Alt+End, which basically disables F.Lux. This is the shortcut it uses. Then it will wait until your screenshot tool has exited/terminated, then it will trigger Alt+End again to restore F.Lux back to normal.

      I won't provide additional support here, so you'll have to study the Autohotkey documentations if you want to modify the script yourself. Anyway, just download Autohotkey, create a .ahk file and edit the file and run it.

      #+s::
      wintitle := "Screen snipping ahk_class Windows.UI.Core.CoreWindow ahk_exe ShellExperienceHost.exe"
      ;Send !{End}
      Run, ms-screenclip:
      Send !{End}
      WinWaitActive, % wintitle
      While WinActive(winTitle)
      sleep 10
      ;MsgBox, test
      Send !{End}
      return

      1 Reply Last reply
      Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      Copyright © 2014 NodeBB Forums | Contributors