omit the system menu from windows command prompt (cmd.exe) Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
Tomer
Posts: 366
Joined: 21 Aug 2016, 05:11

omit the system menu from windows command prompt (cmd.exe)

24 May 2018, 05:37

hello,

i need help with omit the system menu from windows command prompt (cmd.exe),
so it will look something like this :
Image

I know -SysMenu (no system menu) is used for Windows GUIs,
Is there anything similar to that that will make it work simply?

thanks in advance
User avatar
TLM
Posts: 1608
Joined: 01 Oct 2013, 07:52
Contact:

Re: omit the system menu from windows command prompt (cmd.exe)  Topic is solved

24 May 2018, 11:47

You can use WinSet and a signed Style code to manipulate a window's border like you would a GUI
For instance:

Code: Select all

Run cmd,,, cmdPID

WinWait % "ahk_pid " cmdPID
WinSet, Style, -0xC00000, % "ahk_pid " cmdPID

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Billykid, Chunjee, Giresharu, icyolive, inseption86, Swiftly9767 and 285 guests