This function can be implemented via a script. Please refer to the software settings page of the X120x series and write a custom script to achieve this function on your own.