ShareShortcuts
Fazer fork de “Slack Timer v2”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que rootbeer444 receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
12K
Salvo
0
Ações
340
Categoria
Productivity
Versão
1.0
Idioma
EN

testing

Novidades

Versão 1.0

First release

Histórico de versões
1.0 30 de jul de 2025

First release

O que ele faz

340 ações
  1. Comment
    # Improved Slack Work Session Shortcut
  2. Comment
    ## Main Flow
  3. List
  4. Choose from List
  5. Set Variable
    startChoice
  6. Nothing
  7. If
  8. Ask for Input
    What date and time do you want to start?
  9. Get Time Between Dates
  10. List
  11. Choose from List
  12. Set Variable
    delayChoice
  13. If
  14. Comment
    # Start now - add small random delay
  15. Random Number
  16. Wait
  17. Nothing
  18. Comment
    ###Get Work Duration
  19. Ask for Input
    How many hours will you be working today?
  20. Set Variable
    workHours
  21. Calculate Expression
  22. Set Variable
    totalWorkSeconds
  23. Nothing
  24. Comment
    ### Calculate Break Schedule
  25. If
  26. Comment
    Determine number of breaks based on hours
  27. If
  28. Comment
    2-4 hours: 1-3 breaks
  29. Random Number
  30. Set Variable
    numberOfBreaks
  31. If
  32. If
  33. Comment
    4-6 hours: 2-4 breaks + lunch
  34. Random Number
  35. Set Variable
    numberOfBreaks
  36. If
  37. Comment
    6+ hours: 3-6 breaks + lunch
  38. Random Number
  39. Set Variable
    numberOfBreaks
  40. Nothing
  41. Comment
    #Check if lunch break should be scheduled
  42. Date
  43. Format Date
  44. Set Variable
    currentHour
  45. Nothing
  46. If
  47. Comment
    Before 2pm, check work duration
  48. If
  49. Comment
    Long enough for lunch
  50. Text
  51. Set Variable
    scheduleLunch
  52. Comment
    Add 1 to numberOfBreais for the lunch break
  53. Calculate
  54. Set Variable
    totalBreaks
  55. If
  56. Comment
    Too short for lunch
  57. Text
  58. Set Variable
    scheduleLunch
  59. Set Variable
    totalBreaks
  60. If
  61. Comment
    Too late for lunch
  62. Text
  63. Set Variable
    scheduleLunch
  64. Set Variable
    totalBreaks
  65. Comment
    ## Full Break Scheduling Implementation
  66. Comment
    ###Initialize break tracking
  67. Comment
    Will store break times as text
  68. Text
  69. Set Variable
    breakTimes
  70. Comment
    Track last break to ensure spacing
  71. Number
  72. Set Variable
  73. Nothing
  74. Comment
    # Calculate minimum time between breaks (in seconds)
  75. Calculate
  76. Calculate
  77. Set Variable
    minTimeBetweenBreaks
  78. Nothing
  79. Comment
    # Ensure at least 30 minutes between breaks
  80. If
  81. Number
  82. Set Variable
    minTimeBetweenBreaks
  83. If
  84. Nothing
  85. Comment
    # If we have lunch, handle it separately
  86. If
  87. Comment
    Calculate lunch time (between 12pm and 3pm)
  88. Date
  89. Set Variable
    startTime
  90. Comment
    Figure out when 12pm and 3pm are relative to start
  91. Format Date
  92. Set Variable
    todayDate
  93. Comment
    Create 12pm timestamp
  94. Text
  95. Set Variable
    noonText
  96. Get Dates from Input
  97. Set Variable
    noonTime
  98. Comment
    Create 3pm timestamp
  99. Text
  100. Set Variable
    threePmText
  101. Get Dates from Input
  102. Set Variable
    threePmTime
  103. Comment
    Calculate seconds from start to noon and 3pm
  104. Get Time Between Dates
  105. Set Variable
    secondsToNoon
  106. Get Time Between Dates
  107. Set Variable
    secondsTo3pm
  108. Comment
    If noon hasn't passed and work session extends past noon
  109. If
  110. Comment
    Noon is in the future
  111. If
  112. Comment
    Schedule lunch between noon and 3pm
  113. Random Number
  114. Calculate
  115. Set Variable
    lunchStartTime
  116. Comment
    Make sure lunch doesn’t go past 3pm or end of work
  117. If
  118. Comment
    Too late, adjust
  119. Calculate
  120. Set Variable
    lunchStartTime
  121. If
  122. Nothing
  123. If
  124. Comment
    Past end of work, adjust
  125. Calculate
  126. Set Variable
    lunchStartTime
  127. If
  128. Nothing
  129. Comment
    Add lunch to break times
  130. Text
  131. Set Variable
    breakTimes
  132. Set Variable
    lastBreakTime
  133. Nothing
  134. Comment
    Reduce regular breaks by 1 since lunch counts as a break
  135. Calculate
  136. Set Variable
    regularBreaksToSchedule
  137. If
  138. Comment
    Work ends before noon
  139. Text
  140. Set Variable
    scheduleLunch
  141. Set Variable
    regularBreaksToSchedule
  142. If
  143. Comment
    Already past noon
  144. Text
  145. Set Variable
    scheduleLunch
  146. Set Variable
    regularBreaksToSchedule
  147. If
  148. Comment
    No lunch scheduled
  149. Set Variable
    regularBreaksToSchedule
  150. Comment
    Schedule regular breaks
  151. Repeat
  152. Comment
    Calculate valid time range for this break
  153. Calculate
  154. Set Variable
    earliestBreakTime
  155. Nothing
  156. Comment
    Calculate latest time for this break (leave room for remaining breaks)
  157. Calculate
  158. Calculate
  159. Set Variable
    remainingBreaks
  160. Calculate
  161. Calculate
  162. Set Variable
    latestBreakTime
  163. Nothing
  164. Comment
    Pick random time in valid range
  165. Calculate
  166. Set Variable
    timeRange
  167. Nothing
  168. If
  169. Comment
    Valid range exists
  170. Random Number
  171. Calculate
  172. Set Variable
    breakTime
  173. If
  174. Comment
    If no valid range, space evenly
  175. Calculate
  176. Calculate
  177. Calculate
  178. Set Variable
    breakTime
  179. Nothing
  180. Comment
    Add some randomness (±5 minutes)
  181. Random Number
  182. Calculate
  183. Set Variable
    breakTime
  184. Nothing
  185. Comment
    Ensure break isn't too close to lunch (if scheduled)
  186. If
  187. Comment
    Check distance to lunch
  188. Calculate
  189. Set Variable
    timeToLunch
  190. Nothing
  191. Comment
    Get absolute value
  192. If
  193. Comment
    Negative, make positive
  194. Calculate
  195. Set Variable
    timeToLunch
  196. If
  197. Comment
    If within 1 hour of lunch, adjust
  198. If
  199. Comment
    Too close to lunch
  200. If

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Você também pode gostar

Ver tudo
Publicidade