AHK = C13 Fullscreen Borderless + MenuBar HotKey Toggle VDBLhd

I was not totally happy with the Fullscreen methods I was using
When In fullscreen mode You can not click the Title Bar because Itโ€™s not there :upside_down_face: and holding Left Alt does not work in fullscreen mode.

So on to AHK [https://www.autohotkey.com]

I could not find a solution in the AHK forums. so I spent a few days learning and figuring out how to create a script to control the MenuBar with a HotKey :kissing_heart:

Using MacroCreator I found a really nice solution and converted the script to work with AHK

๐‘ป๐’†๐’”๐’•๐’†๐’… ๐’๐’ ๐‘พ๐’Š๐’๐Ÿ๐ŸŽ

๐™๐™ช๐™ก๐™ก๐™จ๐™˜๐™ง๐™š๐™š๐™ฃ ๐˜ฝ๐™ค๐™ง๐™™๐™š๐™ง๐™ก๐™š๐™จ๐™จ = ๐™๐™ค๐™ง ๐˜พ๐™ช๐™—๐™–๐™จ๐™š ๐Ÿญ๐Ÿฏ

; ============================================
;
; ๐™ˆ๐™š๐™ฃ๐™ช๐˜ฝ๐™–๐™ง ๐™–๐™ช๐™ฉ๐™ค ๐™๐™ž๐™™๐™š๐™จ ๐™ž๐™ฉ๐™จ๐™š๐™ก๐™› ๐™–๐™›๐™ฉ๐™š๐™ง ๐™ž๐™ฃ๐™ฉ๐™š๐™ง๐™–๐™˜๐™ฉ๐™ž๐™ค๐™ฃ ๐™’๐™ž๐™ฉ๐™ ๐™ˆ๐™š๐™ฃ๐™ชs
;
; ๐™‡๐™’๐™ž๐™ฃ + ๐™ˆ๐™’๐™๐™š๐™š๐™ก๐˜ฟ๐™ค๐™ฌ๐™ฃ. = UnHide ๐™ˆ๐™š๐™ฃ๐™ช๐˜ฝ๐™–๐™ง
; ๐™‡๐™’๐™ž๐™ฃ + ๐™ˆ๐™’๐™๐™š๐™š๐™ก๐™๐™ฅ. = Hide ๐™ˆ๐™š๐™ฃ๐™ช๐˜ฝ๐™–๐™ง
; ๐™‡๐™’๐™ž๐™ฃ + ๐™๐˜ฝ๐™ช๐™ฉ๐™ฉ๐™ค๐™ฃ. = Toggle ๐™๐™ž๐™ฉ๐™ก๐™š ๐˜ฝ๐™–๐™ง [Hide/UnHide]
; ๐™‡๐™’๐™ž๐™ฃ + L๐˜ฝ๐™ช๐™ฉ๐™ฉ๐™ค๐™ฃ. = [Hide All FullScreen]
;
; Works on the selected active window
; ๐—›๐—ผ๐—น๐—ฑ the ๐—Ÿ๐—ฒ๐—ณ๐˜ ๐—ช๐—ถ๐—ป ๐—ž๐—ฒ๐˜† + Left-Click FullScreen mode
; Right-Click Toggle ๐™๐™ž๐™ฉ๐™ก๐™š ๐˜ฝ๐™–๐™ง
; Mouse Wheel Toggle ๐™ˆ๐™š๐™ฃ๐™ช๐˜ฝ๐™–๐™ง
;
; ๐™๐™š๐™จ๐™ฉ๐™š๐™™ ๐™ฌ๐™ž๐™ฉ๐™ ๐˜ผ๐™ช๐™ฉ๐™ค๐™ƒ๐™ค๐™ฉ๐™ ๐™š๐™ฎ ๐™ซ๐Ÿฎ.๐Ÿฌ
; ๐˜ผ๐™ค๐™ฉ๐™๐™จ๐˜ผ.๐˜พ๐™ค๐™ข :face_with_hand_over_mouth:
; ============================================

#IfWinActive ahk_exe Cubase13.exe

;^Caption
LWIN & RButton::
WinSet, Style, ^0xC00000, A
return
;

;-Caption
LWIN & WheelUp::
PostMessage, 0x212
return
;

;+Caption
LWIN & WheelDown::
PostMessage, 0x211
return
;

;-Caption
LWIN & LButton::
WinSet, Style, -0xC00000, A
PostMessage, 0x212
return
;

; ========================================

I know next to nothing about scripting, I am as far from a coder as possible tehe
If anyone can see code improvements to make please post the results, :melting_face:

Now that is what I call a fullscreen Daw whooop


MenuBar toggle difference

Hope this helps out others who have some photosensitivity
Now time to make some beats :purple_heart:

You can use AHK to compile the script to an EXE file,
Then you no longer need to use the AutoHotkey App.

exeapp3C13

To make the App work on window startup
Right click DLKC13ModV1.exe file to create a shortcut
Drag the shortcut to the Windows Start folder
To find the folder Press Win Key R
Type = shell:startup or shell:common startup

2 Likes

Very cool!

1 Like
1 Like

Nice work.

Just some extra info in case it is any use to people who donโ€™t use extra tools like AHK.

Personally I like having the main title bar active, for various reasons.

I have all menu bars hidden. But we can simply hover over the title bar and press ALT to bring up the menu bar, which then goes away once it has been used, I have assigned ALT to a side mouse button.

I find this works really well for me without the need for any additionally tools.

2 Likes

Thanks very much, Thats much better :grinning:
:melting_face: I canโ€™t believe toggle was just ^ :rofl:

Updated Script above to use to use #IfWinActive
Seems to run perfectly smooth now :purple_heart:

This script is for dual-screen {Two Monitors one with MixConsole}

Automatic Fullscreen activation on loading project

๐‘ป๐’†๐’”๐’•๐’†๐’… ๐’๐’ ๐‘พ๐’Š๐’๐Ÿ๐ŸŽ

๐™๐™ช๐™ก๐™ก๐™จ๐™˜๐™ง๐™š๐™š๐™ฃ ๐˜ฝ๐™ค๐™ง๐™™๐™š๐™ง๐™ก๐™š๐™จ๐™จ dual-screen [AutoMode] = ๐™๐™ค๐™ง ๐˜พ๐™ช๐™—๐™–๐™จ๐™š ๐Ÿญ๐Ÿฏ

To Reload Script if needed Hold Left Win Key
Press Numberpad Dot

If you get any problems With Monitors Not activating Fullscreen
Set Sleep from 33 To 333
sleep 333

David Byrne - like humans do = Version VDBLhd
Life improvement update :kissing_closed_eyes:
; ============================================
;
; ๐™ˆ๐™š๐™ฃ๐™ช๐˜ฝ๐™–๐™ง ๐™–๐™ช๐™ฉ๐™ค ๐™๐™ž๐™™๐™š๐™จ ๐™ž๐™ฉ๐™จ๐™š๐™ก๐™› ๐™–๐™›๐™ฉ๐™š๐™ง ๐™ž๐™ฃ๐™ฉ๐™š๐™ง๐™–๐™˜๐™ฉ๐™ž๐™ค๐™ฃ ๐™’๐™ž๐™ฉ๐™ ๐™ˆ๐™š๐™ฃ๐™ชs
;
; ๐™‡๐™’๐™ž๐™ฃ + ๐™ˆ๐™’๐™๐™š๐™š๐™ก๐˜ฟ๐™ค๐™ฌ๐™ฃ. = UnHide ๐™ˆ๐™š๐™ฃ๐™ช๐˜ฝ๐™–๐™ง
; ๐™‡๐™’๐™ž๐™ฃ + ๐™ˆ๐™’๐™๐™š๐™š๐™ก๐™๐™ฅ. = Hide ๐™ˆ๐™š๐™ฃ๐™ช๐˜ฝ๐™–๐™ง
; ๐™‡๐™’๐™ž๐™ฃ + ๐™๐˜ฝ๐™ช๐™ฉ๐™ฉ๐™ค๐™ฃ. = Toggle ๐™๐™ž๐™ฉ๐™ก๐™š ๐˜ฝ๐™–๐™ง [Hide/UnHide]
; ๐™‡๐™’๐™ž๐™ฃ + L๐˜ฝ๐™ช๐™ฉ๐™ฉ๐™ค๐™ฃ. = [Hide All FullScreen]
; ๐™‡๐™’๐™ž๐™ฃ + ๐™‰๐™ช๐™ข๐™ฅ๐™–๐™™๐˜ฟ๐™ค๐™ฉ. = [Reload Script]
;
; Works on the selected active window
; ๐—›๐—ผ๐—น๐—ฑ the ๐—Ÿ๐—ฒ๐—ณ๐˜ ๐—ช๐—ถ๐—ป ๐—ž๐—ฒ๐˜† + Left-Click FullScreen mode
; Right-Click Toggle ๐™๐™ž๐™ฉ๐™ก๐™š ๐˜ฝ๐™–๐™ง
; Mouse Wheel Toggle ๐™ˆ๐™š๐™ฃ๐™ช๐˜ฝ๐™–๐™ง
;
; ๐™๐™š๐™จ๐™ฉ๐™š๐™™ ๐™ฌ๐™ž๐™ฉ๐™ ๐˜ผ๐™ช๐™ฉ๐™ค๐™ƒ๐™ค๐™ฉ๐™ ๐™š๐™ฎ ๐™ซ๐Ÿฎ.๐Ÿฌ
; ๐˜ผ๐™ค๐™ฉ๐™๐™จ๐˜ผ.๐˜พ๐™ค๐™ข :face_with_hand_over_mouth:
; ============================================

#IfWinActive ahk_exe Cubase13.exe
SetTitleMatchMode 2

Loop {

IfWinExist, Cubase Pro Project
WinGetTitle, WinTitles, ahk_exe Cubase13.exe
WinActivate, %CubaseProProject%
; Monitor 1 Focus

sleep 33

WinGet,WinState,MinMax,ahk_exe Cubase13.exe
Switch WinState

{
  Case 1:
  ; Monitor 1 Command
  WinSet, Style, -0xC00000, A
  GoTo, MainLoop
  return 
}
}
return

;^Caption
LWIN & RButton::
WinSet, Style, ^0xC00000, A
return
;

;-Caption
LWIN & WheelUp::
PostMessage, 0x212
return
;

;+Caption
LWIN & WheelDown::
PostMessage, 0x211
return
;

;-Caption
LWIN & LButton::
WinSet, Style, -0xC00000, A
PostMessage, 0x212
return
;

MainLoop:
Loop {

IfWinExist, MixConsole
WinActivate, %MixConsole%
;Monitor 2 Focus

WinGet,WinState,MinMax,ahk_exe Cubase13.exe
Switch WinState

{
  Case 1:
  ; Monitor 2 Command
  WinSet, Style, -0xC00000, A
}

IfWinExist, Cubase Pro Project
WinActivate, %CubaseProProject%
; Monitor 1 Focus

WinWait, Cubase Pro Hub
WinWaitClose %CubaseProHub%
Reload

IfWinExist, Cubase
WinWaitClose %Cubase% ahk_exe Cubase13.exe
Reload

break
}
return

LWIN & NumpadDot::
reload
return

; ========================================

Not sure if this will work on Single Monitor?

If any needs a Single Monitor Version Let me know :purple_heart:
Or Removing MainLoop May work