Use "Type to Siri" through Hammerspoon
Download: SiriSays.spoon.zip
README: README.md
| Signature | SiriSays.notificationCenterBundleID |
|---|---|
| Type | Constant |
| Description | Bundle ID of Apple Notification Center, used to detect when "Type to Siri" |
| Source | Source/SiriSays.spoon/init.lua line 18 |
| Signature | SiriSays.logger |
|---|---|
| Type | Variable |
| Description | Logger object used within the Spoon. Can be accessed to set the default log |
| Source | Source/SiriSays.spoon/init.lua line 24 |
| Signature | SiriSays.logLevel |
|---|---|
| Type | Variable |
| Description | Spacer specific log level override, see hs.logger.setLogLevel for options. |
| Source | Source/SiriSays.spoon/init.lua line 30 |
| Signature | SiriSays.previouslyFocusedWindow |
|---|---|
| Type | Variable |
| Description | The previously focused window stored prior to starting the macro, used for |
| Source | Source/SiriSays.spoon/init.lua line 41 |
| Signature | SiriSays.typeToSiriCloseDelay |
|---|---|
| Type | Variable |
| Description | int representing the time in seconds to wait before "auto closing" |
| Source | Source/SiriSays.spoon/init.lua line 35 |
| Signature | SiriSays.typeToSiriCloseTimer |
|---|---|
| Type | Variable |
| Description | hs.timer that waits typeToSiriCloseDelay seconds before auto closing the TTS |
| Source | Source/SiriSays.spoon/init.lua line 52 |
| Signature | SiriSays.typeToSiriOpenTimer |
|---|---|
| Type | Variable |
| Description | hs.timer that waits unto the TTS prompt is open. |
| Source | Source/SiriSays.spoon/init.lua line 47 |
| Signature | SiriSays:siri(prompt) |
|---|---|
| Type | Method |
| Description | Initiate a macro for sending text to Siri. |
| Parameters |
|
| Returns |
|
| Notes |
|
| Source | Source/SiriSays.spoon/init.lua line 115 |
| Signature | SiriSays:siri_cli(args) |
|---|---|
| Type | Method |
| Description | Initiate a siri prompt from the Hammerspoon CLI. |
| Parameters |
|
| Returns |
|
| Notes |
|
| Source | Source/SiriSays.spoon/init.lua line 165 |