Where do you want it to get the author name from?
On the slickedit command line, if you type
fp expand_alias_line
you'll be taken to that function in alias.e
If you look at the %\A option you'll see this code
case '%\A':
// Look up author.
after = getAuthor() :+ after;
break;
From looking at the getAuthor function you can see it tries to look up the code template for an author setting, otherwise it gets the environment variable USERNAME (on windows).
You can modify the getAuthor function if you're keen or you can use the %\M alias to call a macro of your own that gets the author name from somewhere else.
e.g. %\m MMM 'a'%
(untested) - MMM is the name of the macro, 'a' is an argument passed to the macro to tell it to return an author string
e.g.
_str MMM(_str args)
{
switch (args)
{
case "a" : return "George";
}
}
untested - just to give you an idea of how it works. You could just have a macro dedicated to getting the author though, instead of passing an argument.