to use macros u can easily record it under
. menu - tools, macro, record new macro
(u have option of giving it a new name n giving it a shortcut which will automate this by hold'g down ctrl buttton plus shortcut key together. any action u take once record starts will be replayed)
. lets...