home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 42,031 of 42,547   
   Andy Burnelli to Robert Roland   
   Re: Is there a way to put a command wind   
   23 Apr 22 15:59:27   
   
   XPost: alt.comp.os.windows-10, alt.comp.microsoft.windows   
   From: spam@nospam.com   
      
   Robert Roland wrote:   
      
   > In Windows, there are two types of programs: Console applications and   
   > pure GUI applications.   
   >   
   > It is not always easy to spot which is which, because a console   
   > application can also create graphical windows.   
   >   
   > A console application tells Windows that it needs a console, and   
   > Windows will provide one. In Task Manager, you will see conhost.exe,   
   > which is Windows' console. Some people think CMD.EXE is the console,   
   > but it is not. CMD.EXE is just a console application. It requires   
   > conhost.exe, just like the other console applications.   
   >   
   > Your scrcpy program is a console application. It needs the console in   
   > order to live. Like all console applications, if you kill the console,   
   > the applications also dies.   
      
   Wow. That was a very nice explanation. Thank you for helping out.   
      
   > There are ways to hide a window. There is a fourth "windowstyle" in   
   > addition to "Maximized", "Minimized" and "Normal". It is called   
   > "Hidden".   
      
   When you say "window" in that sentence, with respect to the option of having   
   that window be "hidden", can the scrcpy "console" window be hidden?   
      
   > In your case, you mentioned that closing the graphical window will not   
   > terminate the application.   
      
   Actually, if I said that, I was wrong.   
   a. Closing the graphical Android window will close the scrcpy console too.   
   b. And vice versa. Closing the scrcpy console will close the Android GUI.   
      
   > If the console window is hidden, this might   
   > mean that you will have no way of terminating the application other   
   > than killing it in Task Manager.   
      
   Actually, hiding the scrcpy console window is _exactly_ what I want.   
   There isn't any way to interact with it (AFAIK); so it's just a waste   
   (IMHO). I'm sure the developers think it's useful; but I don't see any value   
   in it so I Minimize it but that means I still have to deal with it being   
   there adding to clutter on my taskbar.   
      
   > How do you normally terminate the application?   
      
   Normally I hit the "[x]" button on the Window of the graphical Android GUI.   
   That kills both the Android GUI window & the scrcpy console window.   
      
   How can I tell the "scrcpy console" to be hidden?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca