Keypirinha
Keypirinha copied to clipboard
Font and layout of shortcuts are ignored
Steps: Create a .lnk file with Target = something like "%windir%\system32\cmd.exe /k call path\init.cmd" Modify the Layout of the shortcut to have a custom screen buffer size and window size. Modify the Font Use Keypirinha to launch the shortcut
Expected: The shortcut to be launched with all its settings, just like it would be if you launched it from File Explorer or the Start Menu
Actual: Keypirinha extracts part of the information from the .lnk file and launches the process itself. It ignores other parts of the .lnk file.
It's not clear to me why Keypirinha doesn't just do ::ShellExecute(0, L"open", L"path\file.lnk", ...) or its equivalent to open shortcut files. I see several other issues that have been opened here because of that, like handling quotes in certain spots in the arguments. It seems like those issues would be fixed and the logic would be simpler to just use something like ShellExecute.
Other shortcut properties, like Run: Minimized
or a changed icon are ignored as well.