# US 2022/0291932 A1 · Computer-Generated Macros and Voice Invocation Techniques

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0291932 A1
- Document ID: US20220291932A1
- Status: Published application
- Kind: A1
- Application number: 17/197,802
- Filed: 2021-03-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-10
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Elnaz NOURI; Carlos Toxtli HERNANDEZ; Ryen W. White
- Web page: https://patentgrep.com/patent/US20220291932A1

## CPC

- G06F 9/451: Execution arrangements for user interfaces
- G06F 9/45512: {Command shells}
- G06F 3/167: {Audio in a user interface, e.g. using voice commands for navigating, audio feedback}
- G06F 11/3438: {monitoring of user actions (tracking the activity of the user H04L67/535)}
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 3/08: Learning methods
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 5/025: Extracting rules from data
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G06F 2201/81: Threshold
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/09: Supervised learning
- G10L 2015/228: {of application context}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

In examples, a set of actions performed by a user is identified as an action sequence. If user performance of the same action sequence or similar action sequences exceeds a predetermined threshold, a recommendation to create a macro may be generated. The macro may have one or more associated triggers, such that it may be invoked using voice input or via a user interface, among other examples. A macro may have an associated context in which it applies. In some instances, a trigger used to invoke the macro comprises an indication as to such a context. For example, the macro may be invoked in the context of a document, such that one or more document parts are processed accordingly. As another example, the macro may be invoked to process multiple documents, as may be related in subject matter or associated with the same application.

## Claims

### Claim 1

A system comprising:
at least one processor; and
memory storing instructions that, when executed by the at least one processor, causes the system to perform a set of operations, the set of operations comprising:
generating, based on a set of user signals, an action sequence associated with an application;
determining the action sequence is performed above a predetermined threshold;
based on determining the action sequence is performed above the predetermined threshold, generating a recommendation to create a macro associated with the action sequence;
receiving a user indication to create the macro; and
storing the macro in association with a trigger that, when identified, causes invocation of the macro.

### Claim 2 (depends on 1)

The system of claim 1, wherein the set of operations further comprises determining a context associated with the action sequence and the macro is stored in further association with the determined context.

### Claim 3 (depends on 1)

The system of claim 1, wherein:
the generated recommendation comprises a recommended trigger for the macro;
the received user indication comprises an indication to accept the recommended trigger; and
storing the macro comprises storing the macro in association with the recommended trigger.

### Claim 4 (depends on 1)

The system of claim 1, wherein the generated recommendation comprises a recommended trigger generated based on at least one of an action of the action sequence or a trigger associated with a macro of another user.

### Claim 5 (depends on 1)

The system of claim 1, wherein the trigger comprises at least one of voice input, user interface input, or text input.

### Claim 6 (depends on 1)

The system of claim 1, wherein the received user indication comprises at least one of:
an edit to the action sequence;
an edit to a recommended trigger; or
a user-specified trigger.

### Claim 7 (depends on 1)

The system of claim 1, wherein generating the action sequence comprises processing the set of user signals using a machine learning model configured to identify action sequences based at least in part on a likelihood that a preceding action is followed by a subsequent action.

### Claim 8 (depends on 1)

The system of claim 1, wherein invocation of the macro comprises processing a first document and a second document and the first document is associated with the application.

### Claim 9

A method for invoking a macro in response to a trigger, the method comprising:
identifying, by a computing device, the trigger to invoke the macro, wherein the trigger comprises at least one of voice input, user interface input, or text input; and
in response to identifying the trigger to invoke the macro:
determining a context associated with the macro;
identifying, based at least in part on the determined context, data to process using the macro; and
performing, by the computing device, an action sequence of the macro to process the identified data according to the determined context.

### Claim 10 (depends on 9)

The method of claim 9, wherein identifying the trigger comprises processing a set of user signals.

### Claim 11 (depends on 9)

The method of claim 9, wherein determining the context associated with the macro comprises processing the identified trigger to identify a user indication of the context.

### Claim 12 (depends on 9)

The method of claim 9, wherein determining the context associated with the macro comprises determining the context from a set of contexts associated with the macro.

### Claim 13 (depends on 9)

The method of claim 9, wherein the data to process using the macro comprises a set of document parts associated with one or more documents.

### Claim 14 (depends on 13)

The method of claim 13, wherein at least one document of the one or more documents is not open in an application for the at least one document.

### Claim 15

A method for creating a system-generated macro, the method comprising:
generating, based on a set of user signals, an action sequence associated with an application;
determining performance of the action sequence exceeds a predetermined threshold;
based on determining performance of the action sequence exceeds the predetermined threshold, generating a recommendation to create a macro associated with the action sequence;
receiving a user indication to create the macro; and
storing the macro in association with a trigger that, when identified, causes invocation of the macro.

### Claim 16 (depends on 15)

The method of claim 15, wherein the method further comprises determining a context associated with the action sequence and the macro is stored in further association with the determined context.

### Claim 17 (depends on 15)

The method of claim 15, wherein the generated recommendation comprises a recommended trigger generated based on at least one of an action of the action sequence or a trigger associated with a macro of another user.

### Claim 18 (depends on 15)

The method of claim 15, wherein the trigger comprises at least one of voice input, user interface input, or text input.

### Claim 19 (depends on 15)

The method of claim 15, wherein generating the action sequence comprises processing the set of user signals using a machine learning model configured to identify action sequences based at least in part on a likelihood that a preceding action is followed by a subsequent action.

### Claim 20 (depends on 15)

The method of claim 15, wherein invocation of the macro comprises processing a first document and a second document and the first document is associated with the application.
