Skip to content

Commit

Permalink
docs: update documentation to state that the application should be ru…
Browse files Browse the repository at this point in the history
…nning
  • Loading branch information
socsieng committed Jan 5, 2021
1 parent 2e68f08 commit 3e0d973
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -16,8 +16,8 @@ sendkeys --application-name "Notes" --characters "Hello<p:1> world<c:left:option

![hello world example](https://github.com/socsieng/sendkeys/raw/main/docs/images/example1.gif)

_Activates the Notes application and types `Hello` (followed by a 1 second pause) and `world`, and then selects the word
`world` and changes the font to italics with `command` + `i`._
_Activates the Notes application (assuming Notes is already running) and types `Hello` (followed by a 1 second pause)
and `world`, and then selects the word `world` and changes the font to italics with `command` + `i`._

Input can be read from a file:

Expand Down
2 changes: 1 addition & 1 deletion Sources/SendKeysLib/SendKeysCli.swift
Expand Up @@ -10,7 +10,7 @@ public struct SendKeysCli: ParsableCommand {
subcommands: [MousePosition.self]
)

@Option(name: .shortAndLong, help: "Name of the application to send keys to.")
@Option(name: .shortAndLong, help: "Name of a running application to send keys to.")
var applicationName: String?

@Option(name: .shortAndLong, help: "Default delay between keystrokes in seconds.")
Expand Down

0 comments on commit 3e0d973

Please sign in to comment.