I would like to create a macro that moves previously selected object and uses same base point as previous command. Is this even possible?
If you can use a routine that incorporates the Move together with the previous command, it's pretty easy to have it save that base point and re-use it. Otherwise, the possibility of using @ [or (getvar 'lastpoint)] would be affected by just what the previous command was. If it was something like Move or Copy, then @ wouldn't get you the base point from it, but the destination point, which will be later. If it was something like Rotate or Insert, then @ would get you the base point.
The macro at this moment:
$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,4),GRIP),_move,^C^C_move;previous;;@;)
The sequence works fine when I do it without the macro (by typing for example), but then I use the macro, it just moves to the left. I'm really new to Autocad macros, so help is needed.