r/LenovoLegion • • 5d ago

Showcase Lenovo Legion Toolkit v2.38.0.0 (Stable) Released

113 Upvotes

Lenovo Legion Toolkit (LLT) is a community-developed Windows desktop utility for Lenovo laptops that serves as an alternative to Lenovo Vantage, Legion Zone, and Legion Space, providing greater control over features such as keyboard, performance modes, GPU behaviour, battery management, thermals, display settings, automation, and other Lenovo-specific functionalities.

Release Highlights

  • Software Disabler Diagnostics: Disabling now reports what is still running instead of claiming success.
  • GPU Voltage & Clock Accuracy: Caps and offsets now follow the driver V/F curve.
  • Power Button Light Control: Power button light with a brightness slider and a keyboard backlight sync toggle.
  • Power & Battery Health: ThinkPad charge thresholds, Power Mode sync fixes, and safe handling of missing batteries.
  • New Hardware: 83EY sensors, 15ALC, 83V9, 14IAP, 83Q6, 83RW, 83VK, an AMD iGPU variant, and LampArray on gen 10 and newer.
  • Fan Control & Sensors: Multi-fan system sensors, firmware fan table discovery, P-State clock pin modes, and GPU power offsets above 255 W.
  • Keyboard & Lighting: Descriptor based Spectrum detection, new Spectrum effects, and bindable Fn key combinations.
  • Dashboard, OSD & Automation: Legacy dashboard refresh fixes, panel OSD drift fixes, and ITS Mode wired into automation.

Links

Release Notes:
https://github.com/LenovoLegionToolkit-Team/LenovoLegionToolkit/releases/tag/v2.38.0.0

Issue Tracker:
https://github.com/LenovoLegionToolkit-Team/LenovoLegionToolkit/issues

Download:
https://github.com/LenovoLegionToolkit-Team/LenovoLegionToolkit/releases/download/v2.38.0.0/LenovoLegionToolkitSetup-v2.38.0.0.exe

P.S. You can also use the built-in app updater to upgrade directly.

Support Our Work

This project represents countless hours of development, testing, debugging, and reverse engineering to provide clean and reliable control over Lenovo hardware.

Maintaining LLT alongside everyday life can be a significant personal commitment. If LLT has improved your workflow, gaming experience, performance, battery life, or thermals, consider supporting the project. Every contribution helps us continue development and is genuinely appreciated.

Thank you to everyone who uses LLT, reports issues, tests new builds, provides feedback, and supports the project ❤️

Support the Developers:

We'd also love to hear what you think about this release and what you'd like to see in future versions.


r/LenovoLegion • • Jul 09 '25 Bravo

News Your New Legion: The Essential Setup & Check Guide

446 Upvotes

Welcome! If you just bought a Legion laptop, follow this guide to set it up, update it, and check that everything works properly.

Keep the box, charger, paperwork, and packaging until the return period has ended.

Some links require access to our community Legion Series Discord.

If you plan on using Linux-based Operating Systems on your Legion hardware the community has created a comprehensive How to guide. We also have a dedicated #linux channel on our discord where you can talk with other linux nerds.


1. Complete Windows Setup — Must

Plug in the charger and complete the normal Windows setup.

You do not need to fully charge or drain the battery before continuing. Just use the laptop normally while it charges.


2. Run Windows Update — Must

Go to: Settings → Windows Update → Check for updates

Install everything required, restart, and check again until no important updates remain.

Keep the laptop connected to power during updates.


3. Update Microsoft Store Apps — Must

Open: Microsoft Store → Library → Get updates

Install all available updates.


4. Set Up Lenovo Software — Must

Use one of the following:

  • Lenovo Vantage
  • Legion Space on supported newer models
  • Lenovo Legion Toolkit as an unofficial alternative

Avoid running multiple Legion control applications at the same time.

Lenovo Vantage

Optional features you can usually disable when unused:

  • Network Boost
  • Wi-Fi Security
  • Automatic Performance Scan
  • Rapid Charge
  • Overdrive

Legion Space

Open System Updates and install available model-specific updates.

For OLED models, enable the available burn-in protection options, such as:

  • Auto Shift Wallpapers
  • Dynamic Lock Screen
  • Auto Blur Toolbar
  • Default Dark Mode

Lenovo Legion Toolkit

Download it from the official Lenovo Legion Toolkit GitHub.

Beta versions may be available in #legion-toolkit.

Use LLT's settings to disable conflicting Lenovo applications and services when needed.

  • LLT > Settings, disable Vantage, ImController, and Hotkeys so LLT has full control.

5. Install the GPU Driver — Must

After Windows and Lenovo updates are finished, install the latest suitable driver for your GPU.

  • NVIDIA: Use the NVIDIA App or download the driver directly from NVIDIA.
  • AMD: Use Lenovo's driver or AMD Software when a newer driver is needed.
  • Intel: Windows Update or Lenovo's driver is normally enough.

Restart after installing the driver.

Do not use driver-updater programs or tools such as DDU unless you are troubleshooting a specific problem.


6. Back Up Your BitLocker Key — Must

Windows may enable Device Encryption or BitLocker automatically.

Check: Settings → Privacy & security → Device encryption

Save your recovery key before changing BIOS, Secure Boot, TPM, storage, or firmware settings.

Microsoft guide: Find your BitLocker recovery key

Recovery keys: Microsoft Account


7. Inspect the Laptop — Must

Check the laptop during the retailer's return period.

Test:

  • Screen and dead pixels
  • Keyboard and touchpad
  • Hinges and chassis
  • Webcam, microphone, and speakers
  • Wi-Fi and Bluetooth
  • USB, USB-C, HDMI, Ethernet, and other ports
  • Charging
  • Sleep, restart, and shutdown

Open Device Manager and check for unknown devices or yellow warning icons.

Document serious problems with photos or video, and ask for guidance on our discord server.


8. Test Performance — Recommended

Download the 3DMark Demo on Steam and run Time Spy, not Time Spy Extreme.

Before testing:

  • Connect the charger.
  • Finish all updates.
  • Restart the laptop.
  • Select Performance Mode.
  • Close unnecessary programs.

Post the result in the Benchmarks Channel with your laptop model, CPU, GPU, RAM, performance mode, and scores.

You should also test a demanding game or program for a while and watch for crashes, artifacts, shutdowns, or major performance drops.

More testing advice: How to Check a New Laptop for Issues


9. Check Secure Boot — Recommended

Press Win + R, enter msinfo32, and check Secure Boot State.

If it says On, leave it alone.

If it says Off, back up your BitLocker key before changing anything. Ask for help on our discord if you are unsure about the BIOS settings.

Do not clear the TPM, change boot mode, or restore keys randomly.


10. Cleanup and Settings

Remove McAfee — Must

If McAfee came preinstalled, remove it.

Go to:

Settings → Apps → Installed apps → McAfee → Uninstall

Windows Security and Microsoft Defender will automatically take over afterward.

Restart the laptop after uninstalling it.

Other Optional Settings

You may also:

  • Remove other unwanted preinstalled applications.
  • Disable unnecessary startup applications.
  • Enable Conservation Mode when mostly using the laptop plugged in.
  • Use Balanced Mode for normal use or when also gaming.
  • Use Performance Mode for intensive loads while connected to power.

Community optimization guides:

Avoid random debloat scripts or "one-click optimization" tools.


Battery Note

A new battery does not need to be fully drained.

Only perform a battery calibration if the percentage is clearly inaccurate, the laptop shuts down unexpectedly, or feels finicky.


Need Help?

Post in #Questions and include:

  • Exact laptop model
  • CPU and GPU
  • Windows version
  • Error message or screenshot
  • What you already tried

Really do not be scared to ask questions, we've got more then 30k members on our discord and are hoping you will be part of it too.

Once everything is updated, tested, and working, stop changing settings and enjoy your Legion and don't worry!

Last updated: September 24th 2026


r/LenovoLegion • • 5h ago

Showcase New to Legion but not Lenovo

Thumbnail
gallery
62 Upvotes

I’ve been a long time Lenovo, but specifically ThinkPad enthusiast, always buying second hand and rebuilding. I decided it was time to pull the trigger on a *new* laptop that could do some decent gaming and possibly smaller on-device AI/ML and Python development work. After a lot of research, I recently picked up the Legion 5i gen 10 with the Intel Ultra 7 255HX CPU and RTX 5060 (8GB) GPU. It only came with 512GB SSD and 16GB RAM so I transferred in an another SSD I had and another 16GB stick is on its way. Apparently the deal and this specific configuration (PSREF 83F00005US) I got through Lenovo is no longer available. I’m still watching for a better deal on possibly a unit with a 5070 but everything I’ve seen has a worse CPU, display, or some other issue. I’m throughly impressed so far with the performance and build quality is not bad for midrange. Anyone else here have the 255HX configuration?


r/LenovoLegion • • 2h ago

Showcase I also watercooled my Legion PRO 7 - 16IAX10H

Thumbnail
reddit.com
22 Upvotes

Hi there. Since my first new laptop 10 years ago I have a problem with their tiny and loud cooling solutions so over the years things escalated from external laptop air cooling pads, over custom backplates into DIY watercooling that removes all the jet noise, is fully reversable and flexible for most use cases.

I travel alot for work and need something capable for those long hotel stays.

I will start with my last project which involved a then new 2022 MSI GE67HX with an I9-12900HX and a mobile 3080ti. Great performance but anyone who knows these era Intels knows how hot they like to run, the jet sound even in basic tasks was unbearable.

So I bought two flat heat exchangers, build beefy and heavy custom backpanel and coupled that to an external cooler with hydraulic leak-free quick fittings. I specifically choose that MSI as its heatpipes where very flat and these heat exchangers ( 120 x40mm) sit on the nicely.

It worked great in terms of temperatures but wasnt perfect. First of all the chonky backplate gave it a " Toughbook" weight and feel, I noticed that thing missing from my travel bag. It acted as a giant heatsink too but that wasnt actually necessary. Second, I used thermal paste to conduct heat here and when it came time to sell it, lets say it wasnt pretty. Took an hour to scrape it out but you never get all of it.

Fast forward to 2026 and I upgraded my main display from 1440p to 4K and the MSI began to struggle. I managed to get a decent deal on an almost new Lenovo Legion PRO 7 with the 275HX and RTX 5090 mobile.

Temperatures where good on aircooling, the vaporchamber does its job. But the fans are too loud under long loads ingame. So I converted this to watercooling to in a similar style.

The linked arcticle above gave me some inspiration.

One big benefit is the very flat and big vaporchamber that gives a perfect spot to collect heat directly above the CPU and GPU. I ordered one single 80 x 80 x 15mm flat heat exchanger from AliEx-press, cut out an Alumium backplate and used a lighter plastic plate this time to keep it located.

The Lego strips are just there to fill in the gap so nothing can poke into the Laptops mainboard, will add them on the front side too.

It gets mounted using the backpanel screws and two screws from that cover over RAM and SSD´s. Heat transfer is hepled by PTM this time which is available in 80 x 80mm sheets.

There are carefully measured spacers that let apply a bit of pressure when tightening the M2 screws but dont let the board bend. The area around the vapor chamber is very sturdy but the front half of the laptop is not.

The added cables inside and switches on the outside you see have a purpose: On the old MSI I noticed that the stock fans dont shut off even when temperatures are low, it was hard coded into the BIOS that fans ramp up when seeing large loads even when temps where cool thanks to additional watercooling. So I put in a switch to kill the fans power, being able to turn them on when not connected to a watercooler.

I did the same for the Lenovos three fans, but had to wire the outside 12V fans seperatly from the smaller 5V middle fan. I bought JST 1.25 connectors to tie into the stock fan plugs, can be fully reversed.

After much testing I say this switchwork and wiring wasnt strictly necessary as the Lenovo has better fan control and no fire Intel onboard. Even under full load the added watercooling doesnt let temps of the CPU and GPU go above 60 Celsius, the Lenovos fans dont come on until that and are very quiet even in Extreme mode. If no watercooling is hooked up they just work normal.

I added a plastic sheet over the battery to protect it more. There is a cutout in the alminium backplate that lets the couplers and hoses move a bit for connecting them.

The laptop can get connected to two coolers I have. First is the homebase cooler thats larger. It uses an aquarium pump inside a beerglass ( Yes iam german) and uses the interieur heating radiator from a Fiat Ducato as its exacly 200mm wide for my two 200mm Noctua fans I run in there. It works great, I deal with the optics and wiring neatness another time. It can be easely taken apart for cleaning. I build a baseplate for the laptop that locates it on the table and keeps the weak USB-C from bending down.

I use blue windshield washer fluid diluded with water.

The second cooler is a much smaller one for travel and hotel stays. It uses an an aquarium pump and two fans on a 120mm radiator. Works great for its size.

This article isnt written to brag about anything but to give some Inspiration if necessary. Modern vapor chamber laptops with efficient CPU´s and GPU´s run much cooler and quiter but still can create that hated jetsound I like to avoid. So far this setup runs great, will get improved, is fully reversable when it needs to look pretty for resale in a few years and most important of all is very cool and quiet.


r/LenovoLegion • • 7h ago

Showcase Got my legion 5 (a few days ago)

Thumbnail
gallery
55 Upvotes

hey guys, got my legion 5(my first laptop) after a long hunt and constant delaying of my purchase for some 6 months. Now, when i have it in my hand, it feels like a dream tho, i felt kinda bad about not getting the one with core ultra 7 255HX, once i had in my hand, i felt so happy and the sacrifice didn't even bother me as i am a college student so ryzen's power efficiency is a advantage for me.
was playing watch dogs today at native resolution and ultra settings,
please drop your suggestions
specs
ryzen 7 260
16GB/1Tb

rtx 5060 8 gigs
2560*1600 oled
price breakdown
**206k-**checkout
-5k cart threshold
-32.35k uncle got me a coupon from lenovo
-5.3k affiliate discount(shoutout to u/kryptobolt200528 for the help
finally financed for 178k for 12 months(bought on a very short notice)
drop tips to how to clean it, the body is fingerprint magnet

are the temps high?


r/LenovoLegion • • 15h ago

Advice I’ve never been so heartbroken before.

Post image
238 Upvotes

I went to the Best Buy store and an employee helped me find the greatest deal I’ve ever seen in my life.

I had my card in hand ready to buy as he was saying he could order it for me or have it shipped to me, only to find it’s completely gone.

I’ve been scouring the internet to see if anyone else has seen this before or if anyone is reselling this gem and it seems my journey ends in the subreddit.

I’ve been sulking about this for the past 4 hours and nothing will ever match the feeling I felt in that store.


r/LenovoLegion • • 3h ago

Advice Reddit is the bad side always

10 Upvotes

People who use reddit to get reviews for the laptops they want just listen. In reddit 99% posts will be bad for the laptop you want.

Last week I saw a reddit user who owns a legion 5 15ahp10 [ ryzen 7 260 rtx 5050 ]. It is the cheapest legion right now. He posted that his legion oled got a burn in problem and he blamed lenovo laptops. Somedays later, one man asked about his burn in problem as he also wanted to buy that same model. Then the OP of that post said that everything is fine now and he found the solution.

My main point is no one posts nothing if their laptop work fine. So don't always trusts this posts easily.

Even you can see some whose macbook stopped working


r/LenovoLegion • • 2h ago

Support I made a free Linux RGB app for the Legion K510

Post image
5 Upvotes

Lenovo Vantage doesn't exist on Linux and OpenRGB doesn't support the K510 Mini Pro, so I built Lumikey.

- 55 animated effects (galaxy, aurora, fire, synthwave, matrix...)

- Music-reactive modes: equalizer, beat flashes, VU meter

- Typing effects: ripples and sparks where you press, and laptop keyboard presses light the K510 too

- Per-key colours (e.g. WASD pink), saved looks, auto-cycle, sleep when idle

- A GTK control panel, plus a CLI for keybinds

It uses the open Dynamic Lighting standard, so other Dynamic Lighting keyboards should work too. If you have one, I'd love a report.

Free and open source (GPL-3.0): https://github.com/abhinavverma0907/lumikey

Legion laptop keyboard support is planned next.


r/LenovoLegion • • 3h ago

Support Lenovo legion 5 pro issue

3 Upvotes

Hi everyone. I bought a Lenovo Legion 5 Pro a month ago and have run into an issue I’ve never encountered before—I’d appreciate any help you could provide. I’ve been using the laptop in "Nvidia GPU only" mode (configured via the Nvidia app). A couple of weeks ago, a problem started: sometimes, upon startup, the computer freezes immediately and makes a sound—the same sound you hear when connecting a USB device. A few days later, I noticed that the laptop started lagging and freezing during basic, everyday tasks (like browsing the web or even just sitting on the desktop). Interestingly, everything works perfectly when playing games, and it also runs flawlessly in "Optimus" (hybrid) mode. I tried switching the graphics mode to "Nvidia GPU only" via the BIOS, which solved the issue; however, as soon as I re-enable both GPUs and select the Nvidia-only mode, the lag returns—but only during simple, low-demand tasks. Does anyone know what might be causing this?


r/LenovoLegion • • 3h ago

Support legion 5 gen10 overheating or normal ?[read desc]

Thumbnail
gallery
3 Upvotes

I've got a Lenovo Legion 5 Gen 10 (Intel Core Ultra 7 255HX, RTX 5070, 32GB RAM) and I'm currently at a bit of a loss as to what's going on with the thermals.

Whenever CPU Processor Performance Boost Mode is set to anything other than "Disabled" (I've tried Aggressive, Enabled, Efficient Enabled and Efficient Aggressive at Guaranteed) the CPU temps immediately rocket to 100 °c and above during gaming.

It's all over the heavy titles (Cyberpunk 2077, The Last of Us Part 1 Remastered) as well as Fortnite and a number of the smaller games. The most concerning thing is that it's hitting 100°C+ just sitting on the main menu, not just under heavy load. The only way to keep the temps in check is to completely turn off CPU boost.

Is this just normal behavior for that chip (a config/software issue I can fix), or is it something I need to take to warranty?
edit: 1- I'm in Cairo if that helps in any way
2- when i turn off the boost the cpu max wattage is 25W and it tanks fps to sub 60-s


r/LenovoLegion • • 5h ago

Advice Im planning to buy this laptop

Post image
3 Upvotes

My budget is: 1,399 usd

The cost for this laptop: 1,249 usd

Im only doing casual gaming games and general use.

I actually already ordered and wanted to know you guys opinion on this one.

Lenovo legion 5 gen 10

Ryzen 260

8 vram

16gb

512gb

It's from Amazon.

If and when I get it what should I do first?


r/LenovoLegion • • 9h ago

Support Is this normal?

6 Upvotes

My Legion 5a have a slight bend in the middle


r/LenovoLegion • • 9h ago

Advice Just got my first Legion! Any advice?

Thumbnail
gallery
6 Upvotes

I’d love to hear some tips and advice on how to properly maintain my device and keep it in good condition, especially when it comes to battery health and longevity.

Are there any recommended settings, charging habits, or things I should avoid to prolong the battery life and overall lifespan of my Legion?

Any tips or recommendations would be greatly appreciated. Thanks in advance!


r/LenovoLegion • • 19m ago

Support Legion Y7000X stuck after shutdown, need help

1 Upvotes

Hi everyone,

I'm having a frustrating issue with my Lenovo Legion Y7000X (RTX 5060). Whenever I shut down the laptop, the screen turns off, but the power indicator stays solid white. It seems to get stuck in a sleep-like state, and I can't wake it up or turn it back on normally. The only way to recover is to hold down the power button to force it off.

Interestingly, restarting the laptop works perfectly fine. Shutting down using the Command Prompt has also worked during testing.

I've already tried disabling Fast Startup, uninstalling Lenovo Vantage, and changing various power settings, but the issue still persists intermittently.

Has anyone experienced something similar? Could this be a BIOS, firmware, driver, or Windows-related issue? I'm considering reinstalling Windows, but I'd prefer to find the root cause before doing that.

I'd really appreciate any suggestions or solutions. Thanks in advance!


r/LenovoLegion • • 21m ago

Support Lenovo S7 running poorly despite repairs

1 Upvotes

Pretty much the title. My Legion S7 is 3 years old now and I've been having on and off issues for a year now having to send it back and forth to Lenovo. Usually these repairs work (eventually) but this time I sent it in again last time but it came back in the same condition despite their claim of repairing it. The computer *seems* to run fine with benchmarks and the like showing it runs great! But when i try to load a game like Crusader Kings 3, Skyrim, or Europa Universalis, it runs like dirt and im lucky if it doesn't crash.

It stutters on frames and stutters like i have 8 viruses. No indication of what caused it too, as it just started up one day a couple months ago. Everything LOOKS like it should work but it doesn't. Im really at my wits end here and have been trying solutions for months. Any advice would be appreciated, thank you.


r/LenovoLegion • • 1h ago

Advice Legion 5 Issues

1 Upvotes

Hi,

I‘m planning to buy Legion 5 Gen 10 with AMD R7 260 and 5060.

For the past 2-3 days(as I‘m checking the reviews etc), I‘ve seen so many complaints of legion 5s and some 7 as well.

Some of them are from new users and some from old ones sayimg they got issues like keyboard freezing, bsod and some other that require multiple motheboard replacement.

and there are so many complaint posts which is making me think twice now before buying this one.

As Strix G16 is out of budget and I was planning to buy this one but after seeing so many posts that have different issues with legio, I‘m in doubt.

If anybody can help me with this, it would be much appreciated.


r/LenovoLegion • • 4h ago

Advice History of sales? Best time? Legion Pro7i 5080

2 Upvotes

Currently waiting for the best price to pop up for a
Legion pro 7i RTX5080 32G

Currently Best Buy is beating Lenovo itself by $300.

In the past, has the price fallen on Black Friday itself or cyber Monday even? I don’t want to pass up if this is the lowest it’ll be, but if it’ll come down more I would love to wait.


r/LenovoLegion • • 1h ago

Support Problem with Legion 5 15ACH6H

1 Upvotes

Hi, after restarting the pc for some Windows updates, which also contains a Lenovo Systemdriverupdate.

It was doing the updates, after second restart it gave nothing but the white power button light. After 10 minutes of nothing I decided to pull the power off, which takes 9 seconds of holding the power button before it is powered off. After disconnecting everything and doing a couple of power drains, it still gives me the same effect, no screen, no keyboard lighting. Only a white power button. When I also have the power cable in it gives the orange light next to the port.

Is there a way to fix this or is it done? I had some issues with internet already which looks like a bandwith problem, discord call and streaming a game in discord makes the stream a powerpoint and my voice lagging extremely. Before I restarted it everything was frozen except I could still move around the opened apps but they were frozen too.


r/LenovoLegion • • 17h ago

Advice Did I get the best possible deal?

Post image
17 Upvotes

Lenovo Legion Pro 5i.

Specs: 16" 240Hz OLED, RTX 5070 Ti, Core Ultra 7 251HX, 16GB RAM, 1TB SSD. Includes 3-yr Premium Care Plus—$2,188.60 checkout (tax included), $1,981.11 after $207.49 cashback.


r/LenovoLegion • • 2h ago

Advice Help Me Decide

1 Upvotes

The omen is a 100dollers more what do i pick also I want to use the laptop for 5+ years

I currently have a 1650 legion and have no issue except the Battey life have used it for 5 years now

I use my laptop for 8+ hours a day so will the oled be a issue also what is the real battery life you people are getting ,Am really confused on what to buy

the legion at $1200
the omen $1300


r/LenovoLegion • • 2h ago

Advice Need advice!!

Thumbnail
gallery
1 Upvotes

Legion PRO 5 GEN 10!! A good deal or not?? I wanna learn blender and will be doing engineering work and some gaming stuff!!


r/LenovoLegion • • 14h ago

Showcase Taskbar Dimmer for OLED

8 Upvotes

For anyone who is using Lenovo Legion Toolkit but wants the Taskbar Dimmer feature of Legion Space you can use the code below using Autohotkey. This will prevent burn in for OLED monitors.

  1. Install Autohotkey.
  2. Save the below code in notepad as Taskbar.ahk then double click to run.
#NoEnv
#SingleInstance Force
SetWorkingDir %A_ScriptDir%
SetBatchLines, -1

; =========================
; SETTINGS
; =========================

DimOpacity := 170      ; 0-255 (higher = darker)
HoverOpacity := 0      ; Transparency when hovering

UpdateRate := 60       ; ms (33 updates per second)
EaseFactor := 0.4      ; Lower = smoother, higher = faster

; =========================
; FIND TASKBAR
; =========================

WinGet, TaskbarID, ID, ahk_class Shell_TrayWnd
WinGetPos, TBX, TBY, TBW, TBH, ahk_id %TaskbarID%

; Store initial taskbar position
LastTBX := TBX
LastTBY := TBY
LastTBW := TBW
LastTBH := TBH

; =========================
; CREATE OVERLAY
; =========================

Gui, +LastFound +AlwaysOnTop -Caption +ToolWindow +E0x20
Gui, Color, 000000
Gui, Show, x%TBX% y%TBY% w%TBW% h%TBH% NA, TaskbarDimmer

OverlayID := WinExist()

CurrentOpacity := DimOpacity
TargetOpacity := DimOpacity
OverlayVisible := 1

WinSet, Transparent, %DimOpacity%, ahk_id %OverlayID%

SetTimer, UpdateDimmer, %UpdateRate%
return

; =========================
; MAIN LOOP
; =========================

UpdateDimmer:

    ; Get active window
    WinGet, ActiveID, ID, A

    if (ActiveID)
    {
        WinGetClass, ActiveClass, ahk_id %ActiveID%
        WinGetPos, WX, WY, WW, WH, ahk_id %ActiveID%

        ; Fullscreen detection
        IsFullscreen := (WX <= 0
            && WY <= 0
            && WW >= A_ScreenWidth
            && WH >= A_ScreenHeight
            && ActiveClass != "Progman"
            && ActiveClass != "WorkerW"
            && ActiveClass != "Shell_TrayWnd")

        if (IsFullscreen)
        {
            if (OverlayVisible)
            {
                Gui, Hide
                OverlayVisible := 0
            }
            return
        }
        else if (!OverlayVisible)
        {
            Gui, Show, NA
            OverlayVisible := 1
        }
    }

    ; =========================
    ; TRACK TASKBAR POSITION
    ; =========================

    WinGetPos, TBX, TBY, TBW, TBH, ahk_id %TaskbarID%

    ; Move overlay only when taskbar changes
    if (TBX != LastTBX || TBY != LastTBY
        || TBW != LastTBW || TBH != LastTBH)
    {
        WinMove, ahk_id %OverlayID%, , %TBX%, %TBY%, %TBW%, %TBH%

        LastTBX := TBX
        LastTBY := TBY
        LastTBW := TBW
        LastTBH := TBH
    }

    ; Keep overlay above taskbar
     WinSet, AlwaysOnTop, On, ahk_id %OverlayID%

    ; =========================
    ; DETECT MOUSE HOVER
    ; =========================

    MouseGetPos,,, HoverWin
    WinGetClass, HoverClass, ahk_id %HoverWin%

    if (HoverClass = "Shell_TrayWnd")
    {
        TargetOpacity := HoverOpacity
    }
    else
    {
        TargetOpacity := DimOpacity
    }

    ; =========================
    ; SMOOTH FADE
    ; =========================

    Diff := TargetOpacity - CurrentOpacity

    if (Abs(Diff) > 0.5)
    {
        CurrentOpacity := CurrentOpacity + (Diff * EaseFactor)

        WinSet, Transparent, % Round(CurrentOpacity), ahk_id %OverlayID%
    }
    else
    {
        CurrentOpacity := TargetOpacity
        WinSet, Transparent, %TargetOpacity%, ahk_id %OverlayID%
    }

return

; =========================
; EXIT
; =========================

^!Esc::ExitApp

3. You can also create a scheduler so it always starts when you logon.

Action: Start a program

Program/script: "C:\Program Files\AutoHotkey\v1.1.37.02\AutoHotkeyU64.exe"

Add Arguments: "C:\Program Files\AutoHotkey\v1.1.37.02\Taskbar.ahk"

Start in: C:\Program Files\AutoHotkey\v1.1.37.02\


r/LenovoLegion • • 3h ago

Advice Guide/offers for Lenovo legion

1 Upvotes

Guys

Will buy legion on black Friday Canada lenovo, need all available offers or possible ways to combine offers, payment methods or anything i could be missing.

I have Regular, Student, Perkopolis, PRO account.

Which could be best, sugget !!!

Also need to finance but beyond 1500 CAD they wont allow :(


r/LenovoLegion • • 7h ago

Advice Which one to buy ?

Thumbnail
gallery
2 Upvotes

Hey everyone!

I've finally decided to go with a Lenovo Legion, but I'm still confused between these two configurations.

The RTX 5070 variant costs around ₹6,000 more than the RTX 5060 variant.

Is the extra ₹6K worth it, or should I stick with the RTX 5060?

My primary use cases would be:

- Gaming: Not a hardcore gamer, but I'll probably be gaming almost every day, including AAA titles.

- Coding: Programming and development work.

- Entertainment: Watching movies and YouTube.

Would love to hear your suggestions, especially from people who own or have used either of these configurations.

Thanks!