\Classes\EditorScripts
Add new below method.
class EditorScripts
{
}
void MaheshCommentStart(Editor e)
{
e.insertLines('//New code added by Mahesh'+ ' on ' + 'Begin:' + ' ' + date2str(today
(),123,2,1,3,1,4 ) + '' +' at ' + time2str(timeNow(), 1, 1) + '\n');
}
void MaheshCommentEnd(Editor e)
{
e.insertLines('//New code added by Mahesh'+ ' on ' + 'End:' + ' ' + date2str(today
(),123,2,1,3,1,4 ) + '' +' at ' + time2str(timeNow(), 1, 1) + '\n');
}
Go to customizing object methods -> Right Click -> Scripts -> Add and enjoy.
No comments:
Post a Comment