I hope it will be helpful.
in JS using menu actions we can do that
app.menuActions.item("$ID/Direct Selection Tool").invoke();
I will try it
Do you know how to resize the figure after selecting it?
while u change the width x height of a figure using "direct selection tool" it will affect in percentage. so be cautious
and by calculating geometric values u can change it.
Thanks for your reply, do you know how to write it with script?
Do you know where I can find documentation for VBScript?