Jump to content

Shrieking Chimes — Set Timers and Alarms


Recommended Posts

When reporting issues, please include your exact installed versions of:

  • The Workflow.
  • Alfred.
  • macOS.

In addition to:

  • The debugger output. Perform the failing action, click “Copy” on the top right and paste it here.
  • Details on what you did, what happened, and what you expected to happen. A short video of the steps with the debugger open may help to find the problem faster.

Thank you. Accurate and thorough information is crucial for a proper diagnosis which allows me to help you better.

Link to comment
  • 1 month later...

Hello,

 Monterey 12.6.5

alarms don't ring. No sound, nothing is displayed, no label.  Nothing happens. How would I troubleshoot this ?

I gave Alfred access to Shortcuts.

thanks in advance for your time and help

Edited by rob213
Link to comment

Here is the output of the debugger (thank you very much  @Stephen_C)

 

 Monterey 12.6.5

 

[07:59:30.263] Logging Started...
[07:59:47.998] Shrieking Chimes[Keyword] Processing complete
[07:59:47.999] Shrieking Chimes[Keyword] Passing output '08:00' to Arg and Vars
[07:59:48.000] Shrieking Chimes[Arg and Vars] Processing complete
[07:59:48.001] Shrieking Chimes[Arg and Vars] Passing output '' to Keyword
[07:59:53.984] Shrieking Chimes[Keyword] Processing complete
[07:59:53.985] Shrieking Chimes[Keyword] Passing output 'testing alarm' to Arg and Vars
[07:59:53.986] Shrieking Chimes[Arg and Vars] Processing complete
[07:59:53.989] Shrieking Chimes[Arg and Vars] Passing output 'alarm
08:00
testing alarm' to Run Shortcut
[07:59:53.990] Shrieking Chimes[Run Shortcut] Processing complete
[07:59:53.990] Shrieking Chimes[Run Shortcut] Passing output 'alarm
08:00
testing alarm' to Run Script
[07:59:54.127] Shrieking Chimes[Run Script] Processing complete
[07:59:54.133] Shrieking Chimes[Run Script] Passing output '' to Conditional
[07:59:54.847] ERROR: Shrieking Chimes[Run Shortcut] ~/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/SOSA/sosa.4f952b3d1189ae31462ab6e740cc4a4bec47898c54bc34f5ecf08d7dad2dfbf4:53:100: execution error: Shortcuts Events got an error: The action 

Link to comment

As I'm not the developer of the workflow I'm unsure of the meaning of the final error. So long as you followed all the appropriate setup in the workflow configuration (if there is any setup to follow: I don't have that workflow) I'd wait for some input from @vitor (who provided the workflow) later in the day. Sorry not to be more help at this stage.

 

Stephen

Link to comment
  • 11 months later...

Great workflow. Sadly it doesn't pass the label it seems. I definitely set one. I'm on macOS 14.4.1

This is the debug panel output

 

[5:44:13.167 PM] Shrieking Chimes[Keyword] Passing output '5:46pm' to Arg and Vars
[5:44:13.169 PM] Shrieking Chimes[Arg and Vars] Processing complete
[5:44:13.170 PM] Shrieking Chimes[Arg and Vars] Passing output '' to Keyword
[5:44:24.788 PM] Shrieking Chimes[Keyword] Processing complete
[5:44:24.810 PM] Shrieking Chimes[Keyword] Passing output 'TEST LABEL' to Arg and Vars
[5:44:24.811 PM] Shrieking Chimes[Arg and Vars] Processing complete
[5:44:24.812 PM] Shrieking Chimes[Arg and Vars] Passing output 'alarm
5:46pm
TEST LABEL' to Run Shortcut
[5:44:24.813 PM] Shrieking Chimes[Run Shortcut] Processing complete
[5:44:24.814 PM] Shrieking Chimes[Run Shortcut] Passing output 'alarm
5:46pm
TEST LABEL' to Run Script
[5:44:24.983 PM] Shrieking Chimes[Run Script] Processing complete
[5:44:24.990 PM] Shrieking Chimes[Run Script] Passing output '' to Conditional

 

Edited by Textdriven
Link to comment

Just to add to my above message

Alfred: 5.5 [2257]
Workflow: 2023.5
MacOS:  14.4.1

Seems like you can set a label for timers too in the clock app. That would be a great feature to have.

Edited by Textdriven
Link to comment
2 hours ago, Textdriven said:

Seems like you can set a label for timers too in the clock app.


In the app, yes, but not via shortcuts which is what matters for automation. That’s a feature request you have to make to Apple. You can use the Feedback Assistant app on macOS to do so.

Link to comment
  • 5 weeks later...
3 hours ago, Skone said:

Brilliant workflow Vitor.

 

Thank you for the kind words.

 

3 hours ago, Skone said:

How would you recommend setting a hotkey for a fixed time, e.g. ⌘+9 for a 90 minute timer?

 

Create a new workflow. Add a Hotkey Trigger and connect it to a Run Script Action. In the latter, change the Language to /usr/bin/osascript (AppleScript) and in the Script textarea paste the following:

 

tell application id "com.runningwithcrayons.Alfred" to run trigger "timer" in workflow "com.vitorgalvao.alfred.shriekingchimes" with argument "90 minutes"

 

Change 90 minutes to whatever you want.

Link to comment
Posted (edited)
On 5/16/2024 at 12:51 PM, vitor said:

 

 

tell application id "com.runningwithcrayons.Alfred" to run trigger "timer" in workflow "com.vitorgalvao.alfred.shriekingchimes" with argument "90 minutes"

 

Change 90 minutes to whatever you want.

 

Amazing, thank you. I'm relieved this wasn't a stupidly obvious answer 😂 .

This is perfect: My use case is using 90 minute ringfenced blocks for working on a project.

 

Attached workflow for anyone else: https://drive.google.com/file/d/18rtvHqWmFqq_B2XWTOOl89JpWyZB8BkW/view?usp=sharing

Edited by Skone
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...