Menulet Apps

The process name is “Flux” (not “f.lux”). This script will open the f.lux menu:

tell application "System Events"
  tell application process "Flux"
    tell menu bar 1
      tell menu bar item 1
        perform action "AXPress"
      end tell
    end tell
  end tell
end tell