I`m trying to get macro (/script xxxxx) which could have same function as pressing one of marks below

So far I figured out thanks to debug window that when mark is pressed that line shows up:
[UiLog][Function]: (Enemy): Enemy.MarksUI_EnemyMarkIcon_OnLButtonUp( xxx.xxxx x.xxxx some random numbers).
/script Enemy.MarksUI_EnemyMarkIcon_OnLButtonUp() not working though...
Any suggestions?