kAnyRemote supports DCOP, so it is possible to manage it from command line.
For example:
Verify is connection active:
dcop kanyremote-XXXX anyRemote isConnected
	
        
        
    	Send command to JSR82 Java Client (an example):
dcop kanyremote-XXXX anyRemote sendCommand 'Set(fullscreen,on);'
	
        
    	Close connection:
dcop kanyremote kanyremote-XXXX anyRemote sendCommand 'Set(disconnect);'
	
 In this command it is possible to use any command which could be used in configurational file.