vitor Posted March 14, 2023 Share Posted March 14, 2023 (edited) Usage Set a timer via the timer keyword followed by a number. Minutes are the default but you can specify hours or seconds. Set an alarm via the alarm keyword followed by a time. Pressing ⌘↩ allows setting a name for the alarm. Edit alarms and timers in the macOS Clock app. ⤓ Install on the Alfred Gallery | Source Edited March 25, 2023 by vitor cands, nesdroc, JJJJ and 2 others 5 Link to comment
vitor Posted March 14, 2023 Author Share Posted March 14, 2023 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
sepulchra Posted March 14, 2023 Share Posted March 14, 2023 ok this is cool!!! vitor 1 Link to comment
vitor Posted March 25, 2023 Author Share Posted March 25, 2023 (edited) Updated to 2023.3. Show ring time for timers. Edited March 25, 2023 by vitor Link to comment
rob213 Posted May 3, 2023 Share Posted May 3, 2023 (edited) 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 May 3, 2023 by rob213 Link to comment
Stephen_C Posted May 3, 2023 Share Posted May 3, 2023 1 minute ago, rob213 said: How would I troubleshoot this ? The best way to do that is to open the debugger panel, set a short timer and then copy and paste the output of the debugger in a post here. Stephen rob213 1 Link to comment
rob213 Posted May 3, 2023 Share Posted May 3, 2023 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
Stephen_C Posted May 3, 2023 Share Posted May 3, 2023 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 rob213 1 Link to comment
rob213 Posted May 3, 2023 Share Posted May 3, 2023 4 minutes ago, Stephen_C said: Sorry not to be more help at this stage. I am extremely grateful for your help, and giving me the tools (debugger) to ask for intelligent questions. Have a nice day. Stephen_C 1 Link to comment
vitor Posted May 3, 2023 Author Share Posted May 3, 2023 The Workflow needs macOS 13, because that’s when the Clock app was introduced. This requirement is listed at the top of its Gallery page. rob213 1 Link to comment
rob213 Posted May 3, 2023 Share Posted May 3, 2023 6 minutes ago, vitor said: This requirement is listed at the top of its Gallery page. sorry for having missed that. No wonder I could not find the clock app. thanks very much @vitor Link to comment
Textdriven Posted April 15 Share Posted April 15 (edited) 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 April 15 by Textdriven Link to comment
Textdriven Posted April 16 Share Posted April 16 (edited) 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 April 16 by Textdriven Link to comment
vitor Posted April 16 Author Share Posted April 16 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
Skone Posted May 16 Share Posted May 16 Brilliant workflow Vitor. How would you recommend setting a hotkey for a fixed time, e.g. ⌘+9 for a 90 minute timer? Link to comment
vitor Posted May 16 Author Share Posted May 16 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
Skone Posted May 18 Share Posted May 18 (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 May 18 by Skone Link to comment
mretier Posted June 30 Share Posted June 30 @vitor Thank you for this great workflow. I often work with my system muted. Is there a way to modify the workflow so that the timer plays a sound even when the system is muted? Thanks, M Link to comment
vitor Posted June 30 Author Share Posted June 30 Welcome @mretier, The workflow sets timers with Apple’s Clock app, so it behaves as they define it. You can use the Feedback Assistant app on your Mac to send a feature request to them. Link to comment
niels_bom Posted October 11 Share Posted October 11 Adding a label to an alarm using ⌘ + Enter doesn't seem to work, I don't get the following Alfred step. On the ⌘ step I checked (wasn't yet) "Don't close the Alfred Window on actioning result", this allowed me to type in a name. I think the Shortcut is not picking up the "Last Item from List". Link to comment
vitor Posted October 11 Author Share Posted October 11 Updated to 2024.1. Do not close window on setting alarm name. Updated Shortcut. Easiest way to update it is to delete the one you had and rerun the workflow. Use Automation Task to see if shortcut is installed. Show dialog when Shortcut not installed. Skip Input as Universal Action. Set screenshot DPI to 144. niels_bom 1 Link to comment
vitor Posted October 11 Author Share Posted October 11 @niels_bom If I understood your post correctly, the above update should solve your issue. Link to comment
niels_bom Posted October 11 Share Posted October 11 2 hours ago, vitor said: @niels_bom If I understood your post correctly, the above update should solve your issue. Yes! Thank you very much! I deleted the Shortcut and completely reinstalled the Workflow and it worked immediately. Thanks again, enjoy your weekend! vitor 1 Link to comment
vitor Posted October 11 Author Share Posted October 11 Glad it’s working! And a nice weekend to you as well. niels_bom 1 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now