Raise cheat sheet window level

Is there a way to raise the level of the cheat sheet?

I'm using a combination of Cheat Sheet (the app, not the BTT feature), KeyCue and BTT Cheat Sheet on long press CMD. Cheat Sheet and KeyCue lines up neatly, so I can see both. But the BTT Cheat Sheet ends up behind the app Cheat Sheet. The location is fine, but not the level. Is there a way to raise the level above the other two?

Also, is there a way to define the location and size of the Cheat Sheet (programatically, so I can choose size and location based on which monitor it is on).

Look at this video. Look at how neat it would be, if only the BTT cheat sheet was above the cheat sheet app! :heart:

Saving the size and position for each screen would also be needed. The other two apps follow the mouse pointer, but BTT cheat sheet doesn't. No configuration parameters necessarily needed - if the BTT cheat sheet just stayed wherever I put it on each screen and then showed up on the mouse pointer screen, that would be good enough.

5.588 adds a hidden default setting:

defaults write com.hegenberg.BetterTouchTool BTTCheatSheetWindowLevel 1500

(you can set any window level you'd like)

Some examples: 
     NSFloatingWindowLevel ( 3)
     kCGMaximumWindowLevel (9223372036854775791)
     kCGDesktopIconWindowLevel+1 (42)
     kCGDesktopWindowLevel (21)
     kCGNormalWindowLevel (0)
     kCGDockWindowLevel (20)
     kCGAssistiveTechHighWindowLevel (1500)
     kCGCursorWindowLevel (9223372036854775790)
     NSMainMenuWindowLevel ( 24)
1 Like

I can't get it to work. I upgraded to 5.588, set the number to 10, 30, 100 and 1500 - but it's still below the Cheat Sheet app (which is on level 7 according to BTT visible windows inspector).

Also, the visible windows inspector is on level 3 (according to itself), but it is shown above the BTT cheat sheet (if it is focused - if the BTT cheat sheet is focused, it's above the inspector).

I can't find the BTT cheat sheet in the list of windows - and there's no window at all on level 1500, even though I set BTTCheatSheetWindowLevel to 1500 and the BTT cheat sheet is visible

did you quit BTT before running the terminal command?

//edit, ah I think the window level might be overridden again in some situations.I'll fix that with the next alpha.

Yes.

defaults read says it's 100. But no level 100 window in visible windows inspector.

What is the name of the cheat sheet window? I can't find it in the list in the inspector. I find a few other BTT windows, but they're all there also when the cheat sheet is gone.

Hey, this is working now (5.591)! Beautiful!

1 Like