Open Ridiculon opened 2 years ago
This is beautiful feature, please add
I use a batch file to open applications. This I run after startup. Then I load a profile, such as "home", "office", "laptop only", or "meeting presentation" which I've created. I found some programs have unique ways to open them that might be hard to automate as part of TANWindowMgr? Here's my .BAT file in case someone finds it useful to customise for their own use.
@echo off
echo start apps.
REM Notepad file
start "" notepad "%userprofile%\Desktop\mynotes.txt"
REM Outlook
cd "C:\Program Files (x86)\Microsoft Office\root\Office16\"
start "" OUTLOOK.EXE
REM Slack
cd "%userprofile%\AppData\Local\slack\"
start "" slack.exe
REM Chrome
cd "C:\Program Files\Google\Chrome\Application\"
start "" chrome.exe
REM VStudio
cd "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\"
REM start devenv.exe
start "" devenv.exe "C:\folder\to\myproject\project.sln"
REM VS Code
code "" "C:\folder\to\myproject\frontend" | exit
REM Git Kraken
cd "%userprofile%\AppData\Local\gitkraken\"
start "" gitkraken.exe
REM TAN Window Manager
cd "%userprofile%\Downloads\Apps\TANWindowMgr"
start "" TANWindowMgr.exe
REM Windows Terminal
cd "%userprofile%\AppData\Local\Microsoft\WindowsApps\"
start "" wt.exe
echo Programs open.
exit
exit
Currently loading a profile will reposition the listed applications only if they are actually open already
Feature Request: As part of a profile load, open the listed applications before repositioning them (if they are not running already).
(I am attempting this myself but I am also not a .NET programmer nor have I ever done any VB, so if you see this and have time to get it done before me then more power to you haha).