主权项 |
1. A non-transitory computer-readable storage medium storing a set of instructions executable by a computer of a data processing apparatus, the data processing apparatus including an operating unit, a storage unit, and a communication unit, the instructions, when executed, causing the data processing apparatus to:
receive, through the operating unit, a selection of one of a first function and a second function other than the first function; store, if one device is selected through the operating unit as a device for executing the one of the first function and the second function from among at least one device with which the communication unit is capable of communicating, the one device selected as the device for executing the one of the first function and the second function, the one device selected as the device for executing the one of the first function and the second function being stored in a manner such that:
if another device has been stored in the storage unit in correlation with the one of the first function and the second function, the one device selected as the device for executing the one of the first function and the second function, in addition to the another device that has been stored in correlation with the one of the first function and the second function, is stored in correlation with the one of the first function and the second function; andif another device has been stored in the storage unit in correlation with another of the first function and the second function, the one device selected as the device for executing the one of the first function and the second function, in addition to the another device that has been stored in correlation with the another of the first function and the second function, is stored in correlation with the another of the first function and the second function; and control, in response to receipt of an instruction to execute the one of the first function and the second function through the operating unit, a device with which the communication unit is capable of communicating to execute the one of the first function and the second function in a manner such that:
if no device is stored in correlation with the one of the first function and the second function when the selection of one of the first function and the second function is received through the operating unit, the one device selected as the device for executing the one of the first function and the second function executes the one of the first function and the second function; andif another device has been stored in correlation with the one of the first function and the second function when the selection of one of the first function and the second function is received through the operating unit, one of candidate devices executes the one of the first function and the second function, the candidate devices including at least the another device that has been stored in correlation with the one of the first function and the second function. |