the script below works fine for hiding the title bar from ordinary applications like notepad.exe, unfortunately it doesn't work for the application I'm interested the most: Mach3. This application is a Windows-based program to control a CNC machine by using a graphical interface.
Since my screen is quite small (1024x768) it would great if I could save all of that pixels wasted for the useless title bar.
Mach3 starts normally, unfortunately the title bar is still there...
P.S.
There is a little splash-screen window displayed before the program starts. Could be that the problem?
Code: Select all
SetWorkingDir C:\Mach3 ; Ensures a consistent starting directory.
Run, C:\Mach3\Mach3.exe /p Mach3Mill
WinWaitActive, ahk_exe Mach3.exe
WinSet, Style, -0xC00000, ahk_exe Mach3.exe