主权项 |
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 capable of communication with at least one device, 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 the 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 a first other device, different from the one 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 is stored in correlation with the one of the first function and the second function in addition to the first other device that has been stored in correlation with the one of the first function and the second function; andif the first other device or a second other device, different from the one 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 is stored in correlation with the another of the first function and the second function in addition to the first other device or the second other device that has been 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 another of the first function and the second function through the operating unit, the at least one device with which the communication unit is capable of communicating to execute the another of the first function and the second function in a manner such that:
if no device is stored in correlation with the another of the first function and the second function when the selection of the another 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 another of the first function and the second function; andif the first other device has been stored in correlation with the another of the first function and the second function when the selection of the another of the first function and the second function is received through the operating unit, one of candidate devices executes the another of the first function and the second function, the candidate devices including at least the first other device that has been stored in correlation with the another of the first function and the second function. |