Autohotkeys can do what you want without iLogic, here's an example from an old .ahk file:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
; should disable the F1 key unless it's pressed in conjunction with the shift key.
#IfWinActive AutoCAD
+F1::F1 ; (Shift + F1 = F1)
F1::Escape ; (F1 = Escape)
ScrollLock::Escape ; (ScrollLock = Escape)
PrintScreen::Shift ; (Printscreen = Shift)
#IfWinActive
#IfWinActive Autodesk
+F1::F1 ; (Shift + F1 = F1)
F1::Escape ; (F1 = Escape)
#IfWinActive
;should provide today's date in YYYY-MM-DD format:
+^d::
FormatTime, CurrentDateTime,, ShortDate
Send %CurrentDateTime%
return
;should allow us to insert something from the clipboard inside Inventor
#IfWinActive Autodesk Inventor
+^m::Send Master-{ENTER}
return
#IfWinActive Parameters
+^m::Send Master{ENTER}
returnYou could copy the "IfWinActive Autodesk Inventor" section and modify it to "IfWinActive Blah Blah" and have it send {TAB}{ENTER} or whatever.
FWIW: I'm not aware of any method using iLogic that can interrogate the active window, or wait for a built-in command to fire (unless the events system has been sufficiently improved of course?).
Am naturally happy to be corrected on the above statement!
The only other alternative is a .NET addin - wherein you can wait for the "UserInputEvents.OnActivateCommand" event to fire, check what the command name is and then maybe use sendkeys to send a "TAB" to the Vault dialogue.
Here's a useful blog post on this: http://modthemachine.typepad.com/my_weblog/2009/03/running-commands-using-the-api.html
And this shows it in action: http://adndevblog.typepad.com/manufacturing/2012/05/know-every-execution-command-name-within-the-cur...
The bigger question I have is why do you want your users to simply "click-through" these Vault logins? The biggest bonus of using Vault (from my experience) is that it gives you (when you need it) an audit trail of who has done what, when and why; encouraging lots of blank, blank, blank in the file history diminishes the usefulness of the system.
Just my $0.02,
Cheers,
Alex.