# How can I launch console command while app is still at splash screen?

**URL:** <https://forums.unrealengine.com/t/how-can-i-launch-console-command-while-app-is-still-at-splash-screen/440540>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [January 3, 2019, 4:21pm UTC](https://forums.unrealengine.com/t/how-can-i-launch-console-command-while-app-is-still-at-splash-screen/440540 "2019-01-03T16:21:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_089a4978](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_089a4978](https://forums.unrealengine.com/u/anonymous_user_089a4978)\
**Post date:** [January 3, 2019, 4:21pm UTC](https://forums.unrealengine.com/t/how-can-i-launch-console-command-while-app-is-still-at-splash-screen/440540/1 "2019-01-03T16:21:26Z")

</div>

I am getting some popup warning at beginning and I just want to suppress them. So that I want to run console command DisableAllScreenMessages even before GameInstance-\>BeginPlay. How can I run this code before project codes launch? Answer below gave me this solution but he doesn’t explain how to do this:

> **[Disable sreen messages on launch?](https://forums.unrealengine.com/questions/617332/disable-sreen-messages-on-launch.html)**
>
> This should be way easier! Thanks though

---

<div class="post-metadata">

**Author:** ![nick\_recursion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nick\_recursion](https://forums.unrealengine.com/u/nick_recursion)\
**Post date:** [November 1, 2022, 5:29pm UTC](https://forums.unrealengine.com/t/how-can-i-launch-console-command-while-app-is-still-at-splash-screen/440540/3 "2022-11-01T17:29:15Z")

</div>

> [@How to: Console Commands every time Unreal Engine starts and the Game is played](https://forums.unrealengine.com/t/how-to-console-commands-every-time-unreal-engine-starts-and-the-game-is-played/156193/3):
>
> That sounds great. I am going to try and start this on startup and when playing the game and get back if it worked or not.

> **[Running Blueprints at Editor Startup](https://docs.unrealengine.com/5.0/en-US/running-blueprints-at-unreal-editor-startup/)**
>
> Describes how to define Blueprint functions that the editor invokes when it starts up.

I was unable to find a solution to make anything start at the splash screen other than injecting some code in the source. However, you can run a python script right as the editor starts `Project/Content/Python/init_unreal.py `.

```auto
import unreal
import os

```
