Log time awake

Asks you for wake up time, when you fell asleep again, and logs the time in Health before presenting the total length back to you.

Actions Used

shortcuts-action-icon-if.webp
If
Tests if a condition is true, and if so, runs the actions inside. Otherwise, the actions under “Otherwise” are run.
Get Time Between Dates
Subtracts the specified date from the date passed into the action. For example, this action could get the number of minutes from now until a calendar event passed in as input.
Log Health Sample
Adds a data point into the Health app.
shortcuts-action-icon-replace-text.webp
Replace Text
Replaces some text passed into the action with other text.
shortcuts-action-icon-show-result.webp
Show Result
Shows the specified text in Siri or in an alert.
action-icon-ask-for-input.webp
Ask for Input
Prompts the user to enter a piece of information.

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Log%20time%20awake
Open Shortcut deep link
shortcuts://open-shortcut?name=Log%20time%20awake
AppleScript code
tell application “Shortcuts Events” run shortcut “Log time awake” end tell

More From This Folder

Log caffeine

Asks you to choose the type of caffeinated drink (coffee, espresso, cappuccino, or a soda) and logs the caffeine content into the Health app. Also compares against the daily recommended limit of milligrams of caffeine.

Get Shortcut »

More From The Library

Please do not disturb me

Presents a menu of various time periods for setting Do Not Disturb, then adjusts your device according to the choice – includes a few colloquial phrases like “a bit” and “a while” that can be customized to your preferences, plus options for turning it on until lunch or after work.

Get Shortcut »

Set background sounds

Presents a menu of the six options for Background Sounds available in Accessibility—balanced noise, bright noise, dark noise, ocean, ra, and stream sounds—then activates the choice, turns on the sounds, sets the volume to 20%, and also allows sounds during background media at 10%.

Get Shortcut »

Watch Acapulco

In 1984, Maximo Gallardo’s dream comes true when he gets the job of a lifetime at Acapulco’s hottest resort, Las Colinas. But he soon realizes that working there will be far more complicated than he ever imagined.

Get Shortcut »


Get way deeper into Shortcuts – become a member.