ShareShortcuts
„Pomododo 🦤“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit springy die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
18K
Gesichert
0
Aktionen
73
Kategorie
API
Version
1.0
Sprache
EN

I created Pomododo after not finding what I wanted for free in either app form or shortcut form. This shortcut creates a simple 25/5 with four rounds pomodoro in the reminders app. If you'd like to customize the pomodoro, instructions are provided in the shortcut edit screen. You just set it and forget it, letting you be able to work freely without any distractions.

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 12. Jan 2025

First release

Was er macht

73 Aktionen
  1. Comment
    🗻 Introduction Pomododo is meant to be a simple, “set and forget” pomodoro shortcut utilizing the Reminders app. By default the shortcut provides a 24/5 pomodoro that repeats four times. If you want to customize this shortcut, instructions are prov…
  2. Comment
    Set up below! 🦤
  3. Comment
    Make sure to delete this notification by pressing the x on the first white bubble once you are used to this shortcut!
  4. Choose from Menu
    First time using Pomododo?
  5. Choose from Menu
    Please stop this shortcut by pressing the bottom of the screen.
  6. Choose from Menu
    Then hold and press edit in the shortcut menu to read the introduction.
  7. Comment
    Insert how long you want to work next to the hashtag
  8. Number
  9. Set Variable
    work
  10. Comment
    Insert how long you want to take a break next to the hashtag
  11. Number
  12. Set Variable
    break
  13. Comment
    Insert how many rounds you want to do next to the hashtag
  14. Number
  15. Set Variable
    rounds
  16. Comment
    If you want to warm up before working, insert a number next to the hashtag. Note: The warmup time must be in seconds, use a converter like this one to adjust (https://www.calculateme.com/time/seconds/to-minutes/)
  17. Number
  18. Set Variable
    warm
  19. Comment
    Change wording for the warm up notification in the “Text” bubble
  20. Text
  21. Set Variable
    warm-notif
  22. Comment
    If you want a long break after the four rounds, insert a number next to the hashtag. Right now the timer is set to send a congradulations message after 5 seconds, so make sure to change the message in the “Text” bubble as well.
  23. Number
  24. Set Variable
    long
  25. Text
  26. Set Variable
    long-notif
  27. Comment
    ⚠️ no touching below! ⚠️
  28. Comment
    time
  29. Date
  30. Set Variable
    time
  31. Comment
    create new list
  32. Choose from Menu
    Do you want to create a new list for your pomodoro?
  33. Choose from Menu
    Yes
  34. T T R Create List
    com.apple.reminders
  35. Comment
    start
  36. Reminders Showlist
  37. Adjust Date
  38. Set Variable
    time
  39. Show Notification
    Starting in ……
  40. Add New Reminder
  41. Comment
    repeat
  42. Number
  43. Repeat
  44. Adjust Date
  45. Set Variable
    time
  46. Add New Reminder
  47. Adjust Date
  48. Set Variable
    time
  49. Add New Reminder
  50. Adjust Date
  51. Set Variable
    time
  52. Add New Reminder
  53. Comment
    no custom list
  54. Choose from Menu
    No
  55. Comment
    start
  56. Show Alert
  57. T T R Open Smart List
    com.apple.reminders
  58. Show Notification
    Starting in ……
  59. Adjust Date
  60. Set Variable
    time
  61. Add New Reminder
  62. Comment
    repeat
  63. Number
  64. Repeat
  65. Adjust Date
  66. Set Variable
    time
  67. Add New Reminder
  68. Adjust Date
  69. Set Variable
    time
  70. Add New Reminder
  71. Adjust Date
  72. Set Variable
    time
  73. Add New Reminder

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#include 'actions/calendar'
#define color darkorange
#define glyph mountain

/*
🗻 Introduction 
Pomododo is meant to be a simple, “set and forget” pomodoro shortcut utilizing the Reminders app. By default the shortcut provides a 24/5 pomodoro that repeats four times. If you want to customize this shortcut, instructions are provided below. Have fun with Pomododo!
*/
// Set up below! 🦤

// Make sure to delete this notification by pressing the x on the first white bubble once you are used to this shortcut!


menu "First time using Pomododo?" {
item "Please stop this shortcut by pressing the bottom of the screen.":
item "Then hold and press edit in the shortcut menu to read the introduction.":
}
/*
Insert how long you want to work next to the hashtag

*/
@work = 27
/*
Insert how long you want to take a break next to the hashtag


*/
@break = 5
/*
Insert how many rounds you want to do next to the hashtag

*/
@rounds = 4
/*
If you want to warm up before working, insert a number next to the hashtag.
Note: The warmup time must be in seconds, use a converter like this one to adjust (https://www.calculateme.com/time/seconds/to-minutes/)

*/
@warm = 10
/*
Change wording for the warm up notification in the “Text” bubble

*/
@warmnotif = " seconds"
// If you want a long break after the four rounds, insert a number next to the hashtag. Right now the timer is set to send a congradulations message after 5 seconds, so make sure to change the message in the “Text” bubble as well.

@long = 5
@longnotif = "You're done! Congratulations!"
/*
⚠️ no touching below! ⚠️

*/
/*
time

*/
currentDate()
@time
/*
create new list

*/

menu "Do you want to create a new list for your pomodoro?" {
item "Yes":
	rawAction("com.apple.reminders.TTRCreateListAppIntent", {
		"AppIntentDescriptor": "",
		"name": "Pomododo 🦤"
	})
	/*
	start
	
	*/
	rawAction("is.workflow.actions.reminders.showlist", {
		"WFList": "CreateList['name']"
	})
	adjustDate(@time, "")
	@time
	showNotification("Starting in {@warm}{@warmnotif}")
	rawAction("is.workflow.actions.addnewreminder", {
		"WFAlertCustomTime": "{@time}",
		"WFAlertEnabled": "Alert",
		"WFCalendarDescriptor": "CreateList['name']",
		"WFCalendarItemTitle": "Work Begins! 🦤"
	})
	/*
	repeat
	
	*/
	const Number = number(@rounds)
	repeat _ for Number {
		adjustDate(@time, "")
		@time
		rawAction("is.workflow.actions.addnewreminder", {
			"WFAlertCustomTime": "{@time}",
			"WFAlertEnabled": "Alert",
			"WFCalendarDescriptor": "CreateList['name']",
			"WFCalendarItemTitle": "Break Time!"
		})
		adjustDate(@time, "")
		@time
		rawAction("is.workflow.actions.addnewreminder", {
			"WFAlertCustomTime": "{@time}",
			"WFAlertEnabled": "Alert",
			"WFCalendarDescriptor": "CreateList['name']",
			"WFCalendarItemTitle": "Work Time!"
		})
	}
	adjustDate(@time, "")
	@time
	rawAction("is.workflow.actions.addnewreminder", {
		"WFAlertCustomTime": "{@time}",
		"WFAlertEnabled": "Alert",
		"WFCalendarDescriptor": "CreateList['name']",
		"WFCalendarItemTitle": "{@longnotif}"
	})
	// no custom list

item "No":
	// start

	confirm("Choose where you want to place your pomodoro!")
	rawAction("com.apple.reminders.TTROpenSmartListAppIntent", {
		"AppIntentDescriptor": "",
		"targetEntity": "Ask"
	})
	showNotification("Starting in {@warm}{@warmnotif}")
	adjustDate(@time, "")
	@time
	rawAction("is.workflow.actions.addnewreminder", {
		"WFAlertCustomTime": "{@time}",
		"WFAlertEnabled": "Alert",
		"WFCalendarDescriptor": "CreateList['name']",
		"WFCalendarItemTitle": "Work begins! 🦤"
	})
	/*
	repeat
	
	*/
	number(@rounds)
	repeat _ for @rounds {
		adjustDate(@time, "")
		@time
		rawAction("is.workflow.actions.addnewreminder", {
			"WFAlertCustomTime": "{@time}",
			"WFAlertEnabled": "Alert",
			"WFCalendarDescriptor": "CreateList['name']",
			"WFCalendarItemTitle": "Break Time!"
		})
		adjustDate(@time, "")
		@time
		rawAction("is.workflow.actions.addnewreminder", {
			"WFAlertCustomTime": "{@time}",
			"WFAlertEnabled": "Alert",
			"WFCalendarDescriptor": "CreateList['name']",
			"WFCalendarItemTitle": "Work Time!"
		})
	}
	adjustDate(@time, "")
	@time
	rawAction("is.workflow.actions.addnewreminder", {
		"WFAlertCustomTime": "{@time}",
		"WFAlertEnabled": "Alert",
		"WFCalendarDescriptor": "CreateList['name']",
		"WFCalendarItemTitle": "{@longnotif}"
	})
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung