BACKGROUND

Field

The present disclosure relates to an information processing apparatus, a control method, and a non-transitory computer-readable medium.

Description of the Related Art

There is known an embodiment in which a user designates a communication apparatus relating to a process that is executed by an information processing apparatus. Japanese Patent Application Laid-Open No. 2019-046102 discloses a technology in which a user selects a communication apparatus to be controlled by a voice control device using a mobile terminal.

In this case, it is desired to improve convenience of an operation designated by a user for a communication apparatus relating to a process that is executed by an information processing apparatus.

SUMMARY

An aspect of the disclosure causes a computer of an information processing apparatus to execute steps, the steps including a first specification step of specifying a direction of a position of a communication apparatus with respect to a position of the information processing apparatus based on communication between the information processing apparatus and the communication apparatus through a predetermined communication method; a first reception step of receiving a predetermined operation for designating a direction from a user; a second specification step of specifying a direction corresponding to the received predetermined operation; a third specification step of specifying the communication apparatus corresponding to the specified direction corresponding to the predetermined operation from among a plurality of the communication apparatuses present in a vicinity of the information processing apparatus based on the specified direction of the position of the communication apparatus and the specified direction corresponding to the predetermined operation; and an execution step of executing a process relating to the communication apparatus corresponding to the specified direction corresponding to the predetermined operation.

Further features will become apparent from the following description of exemplary embodiments with reference to the attached drawings.

