Tutorial  Updated

How-To Start Discord Minimized

Because of the way that Discord was built, the only time you can minimize it is when the actual chat form opens. The beginning update splash page is not part of the main form, so we need to wait for the main chat form. Also you can't give the chat form the command to minimize as it doesn't use the standard winform code. So we give it the taskkill command which Discord intercepts and minimizes to system tray instead of closing.

1) Right click on the Discord system tray icon and uncheck the start when windows starts option.

2) Make a .bat file with the following content:

Code:
@Echo off
start /wait %LOCALAPPDATA%\Discord\Update.exe --processStart Discord.exe

@For /f "Delims=:" %%A in ('tasklist /v /fi "WINDOWTITLE eq Discord"') do @if %%A==INFO echo Prog not running

timeout 10

taskkill /IM discord.exe

3) Put the .bat file in your "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup" folder.

Now Discord will minimize after 10 seconds after it starts up. You can shrink the time by altering the "timeout" function.

If you want an already made batch file visit https://newagesoldier.com/how-to-minimize-discord-on-startup/
 
Last edited by Erfg1,
  • Like
Reactions: Tumoche and spkuja

nueetxgbzzt

New Member
Newbie
Joined
Jun 22, 2021
Messages
1
Trophies
0
Age
24
XP
33
Country
Bahamas, The
Thanks for this! It really bugs me that discord starts as a full window.

Here's what I use.

Code:
@Echo off
start /wait %LOCALAPPDATA%\Discord\Update.exe --processStart Discord.exe

@For /f "Delims=:" %%A in ('tasklist /v /fi "WINDOWTITLE eq Discord"') do @if %%A==INFO echo Prog not running

timeout 1
taskkill /IM discord.exe
timeout 1
taskkill /IM discord.exe
timeout 1
taskkill /IM discord.exe


Because Discord lauches fast on my SSD, there's no reason to wait 10 secs. So this tries to close it as soon as possible.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • S @ salazarcosplay:
    human with cyborg enhancements
  • S @ salazarcosplay:
    or like terminatior
  • S @ salazarcosplay:
    with living tissue
  • BigOnYa @ BigOnYa:
    @Xdqwerty there is health behaviour you can add to your character, then to use a health bar is lil more complicated, google n watch a few tutorial video on it, be too hard to explain here.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the character has the health behavior
  • BigOnYa @ BigOnYa:
    I know you have to create a health and health max variable. Then there is a calculation you use in code to subtract width size of the health bar. Google few vids.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the "greenflatbar" is one of the preset health bars btw
  • BigOnYa @ BigOnYa:
    Yea you can use any bar/sprite. It will just change the width. Ok good luck and have fun. I'm off to go shoot some pool at the bar. Talk to you later.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why does the health behavior exist if you can just use a variable?
  • Xdqwerty @ Xdqwerty:
    and nope the number still doesnt change
  • Xdqwerty @ Xdqwerty:
    ok im gonna make my own asset
  • Xdqwerty @ Xdqwerty:
    nvm i think i fixed it
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, I fixed it
    +1
  • S @ salazarcosplay:
    how are you\
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, we just talked like 2 hours ago
  • BigOnYa @ BigOnYa:
    I had the Goodyear blimp fly real low right over my house this morning, was weird out of nowhere looking up and seeing it that close up. Memorial golf tourney going on by me in Dublin Ohio and its there.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i tried the gdevelop mobile app and theres a event limit and you have to pay to add more events
  • BigOnYa @ BigOnYa:
    I never used the mobile or online versions, just the pc version.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i only use the online version
    +1
  • BigOnYa @ BigOnYa:
    I was at the bar for 1 hour and lost $40 playing pool, and said well that's enough for my unlucky day, better quit. Some sharks up there today.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, did you get drunk?
    Xdqwerty @ Xdqwerty: @BigOnYa, did you get drunk?