Script recording method and device and terminal equipment

A script recording and terminal technology, which is applied in the computer field, can solve problems such as time-consuming and labor-intensive, low script recording efficiency, and inability to visually see the offset position of the operation object.

CN112685279APending Publication Date: 2021-04-20深圳市腾讯网域计算机网络有限公司
0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2021-04-20

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention discloses a script recording method and device and terminal equipment, and the method comprises the steps: obtaining a first position corresponding to a target object on a display interface of a first terminal as a reference position, and obtaining a movable icon at the first position; moving the movable icon to a second position, and displaying a connecting line between the current position of the movable icon and the first position in the moving process of the movable icon; obtaining a first relative offset distance between the movable icon and the target object based on the reference position, the second position and a first screen resolution of the first terminal; and obtaining an operation event at the second position, and storing the target object, the first relative offset distance and the operation event in the script to complete script recording. By adopting the embodiment of the invention, the script recording efficiency and recording accuracy can be improved, and the script maintenance risk is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the field of computer technology, and in particular to a script recording method, device, and terminal equipment. Background technique

[0002] Existing script recording tools, when recording the offset position, one way is to record the absolute offset coordinates, but the script recorded in this way can only be run on a machine with a fixed resolution, and the compatibility is poor. Another way is to manually obtain and calculate the relative offset coordinates, and then fill them in the corresponding properties of the operation object. It can be seen that the above two methods cannot visually see the offset position corresponding to the operation object, and the efficiency of script recording is low. Once the offset position needs to be modified, the user needs to obtain and calculate the relative offset coordinate again. In the script Time-consuming debugging and script maintenance. Contents of the invention ...

Examples

Embodiment Construction

[0081] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0082] The script recording method provided by the embodiment of the present application is widely applicable to servers or terminals capable of recording scripts. Wherein, the terminal includes but not limited to mobile phone, tablet computer, notebook computer, palmtop computer, mobile internet device (mobile internet device, MID), etc., which is not limited here. For example, in the application scenario of game recording, when the actual operation position during the game is on the backg...