Actions to minimize or unminimize?

Hi. New KM user here. My past workflow includes multiple documents from one application (e.g. Excel) open at the same time. When a document is not in use, I minimize it, putting 3-5 documents from one app in my Dock at any one time. I use hotkeys to open certain essential documents. But if the file is minimized in the Dock when I use a hotkey to open the file in KM, the file remains minimized, and I have to click on it anyway. Is there any way to add an if/then maximize automation to the 'open file' action? Thanks in advance!