A non-transitory computer-readable medium storing output instructions to control a portable terminal including a user interface, a display, a memory, and a network interface, the network interface being configured to electrically connect to a plurality of content output devices, the output instruction, when executed by the portable terminal, causing the portable terminal to function as an output application, the memory being configured to store an operation system and activation source instructions, each of the activation source instructions, when executed by the portable terminal, causing the portable terminal to function as each of a plurality of the activation source applications,
- the output application being able to cause the portable terminal to perform a first activation process and to perform a second activation process,
- the output application executing the first activation process when the output application is activated by a designating operation, the designating operation being an operation designating an application icon via the user interface, the application icon being an icon included in a menu screen on the display displayed by the operation system, the application icon indicating the output application, the first activation process comprising:
- displaying a plurality of options on the display, the options corresponding to the plurality of content output devices respectively performing, in response to a device selecting operation of selecting one of the a plurality of options via the user interface, and storage control process of storing device identification information in the memory, the device identification information identifying the content output device corresponding to a selected option, wherein the output application supports a plurality of output processes, each of the plurality of content output devices is able to execute any output processes of the plurality of output processes supported by the output application, the output process executable by the plurality of the content output devices is different depending on the content output device, and the plurality of output processes is a process of outputting a content represented by a content data;
- displaying a plurality of options on the display, the options corresponding to the plurality of the output processes supported by the output application respectively;
- receiving a process selecting operation to select any of the plurality of the options via the user interface;
- and
- performing a first transmission process of transmitting a first command to the selected device via the network interface, the first command instructing to output the content by a process, the selected device being a content output device identified by the device identification information stored in the memory by the storage control process, the process being an output process indicated by an option selected by the process selecting operation,
- the output application executing the second activation process when the output application is activated by any activation source application of the plurality of the activation source application, the second activation process comprising:
- determining whether the output process executable by the selected device includes a supported output process, the supported output process being indicated by the activation source applications that activates the output application, each of the plurality of the activation source applications being supporting any output process of the plurality of the output processes supported by the output application, the output process supported by the plurality of the activation source application being different depending on the activation source application, and the selected device being a content output device identified by the device identification information stored in the memory by the storage control process in the first activation process;
- and
- performing, when it is determined that the output process executable by the selected device includes the supported output process indicated by the activation source applications that activates the output application, a second transmission process of transmitting a second command to the selected device via the network interface, the second command instructing to output a content indicated by the activation source application by a process indicated by the activation source applications, the selected device being a content output device identified by the device identification information stored in the memory by the storage control process in the first activation process.