I’ve just found that it is possible to use command line options for this:
EmEditor /l 1234 D:file.txt
It is not a macro, but it is much more powerful for my case. I am using it with Python script that counts lines, selects random line and starts a program.
One difference is that SetActivePoint macro sets pointer to the bottom edge of a screen. And /l sets it to the middle.