Is it possible to obtain a list of commands that work when returning a
reference using shell?

For example, "AppActivate" and "SendKeys" work, but "Caption" doesn't.

Thanks in advance.