How do I create a AutoHotkey-script which replaces my abbreviated network-username with my full display name including a timestamp?
andzi: should be replaced by Andreas Zita (2011-04-08 09:56):
I want this to be a dynamic hotstring which can be applied to any username.
I think you can generate a ahk script and include it on the fly, because username is a variable. I have tried my own to build a very complex key mappings.
Here, function
_include()will generate a temporary file under%APPDATA%, and then#includeit.See: http://svn.bodz.net/core/trunk/etc/hotkey
P.S. This is just an example, in you case, you may generate the user hotkey as:
generate.bat:
And in the main ahk script, execute generate.bat before #include it.