Have a play with the @RAS macro. Write a script that displays this and other interesting macros on notebooks connected remotely and locally and see what says what.

You should be able to find a combination of @RAS and maybe @LSERVER that you can check for.

HTH

cj