Login About Gallery
Steps With Watch Priority
SCRIPTING
‎Ask ‎What start date to use?
Input Type
‎Date and Time
Default Answer
‎Yesterday 00:00
SCRIPTING
‎Ask ‎What end date to use?
Input Type
‎Date and Time
Default Answer
‎Yesterday 23:59
CALENDAR
‎Add ‎1 ‎days ‎from ‎End
HEALTH
‎Find ‎Library ‎where
‎All the following are true
‎[{'class': 'filter-property', 'value': 'Type'}, {'class': 'filter-operator', 'value': 'is'}, {'class': 'filter-benchmark', 'value': 'Steps'}]
‎[{'class': 'filter-property', 'value': 'Start Date'}, {'class': 'filter-operator', 'value': 'is between'}, {'class': 'filter-benchmark', 'value': 'Start', 'glyph': '', 'UUID': 'F0FEFA29-2493-4DE6-AE83-7254F1BA99EB'}, {'value': 'and'}, {'class': 'filter-benchmark', 'value': 'Adjusted Date', 'glyph': '', 'UUID': '95423E91-C117-4EA2-A97E-0DA39E1FB71E'}]
Sort by
‎Start Date
Order
‎Oldest First
Limit
SCRIPTING
‎Repeat with each item in ‎Health Samples
NOTHING
‎Nothing
SCRIPTING
‎If ‎Start ‎is less than ‎Repeat Item
SCRIPTING
‎If ‎End ‎is greater than ‎Repeat Item
TEXT
‎Repeat Item
SCRIPTING
‎If ‎Text ‎contains ‎Watch
VARIABLES
‎Add ‎Repeat Item ‎to ‎Watch
SCRIPTING
‎End If
SCRIPTING
‎If ‎Text ‎contains ‎Phone
VARIABLES
‎Add ‎Repeat Item ‎to ‎Phone
SCRIPTING
‎End If
SCRIPTING
‎End If
SCRIPTING
‎End If
SCRIPTING
‎End Repeat
SCRIPTING
‎Count ‎Items ‎in ‎Watch
SCRIPTING
‎Count ‎Items ‎in ‎Phone
SCRIPTING
‎Show alert ‎Informational Message
Title
‎optional
Show Cancel Button
SCRIPTING
‎Repeat with each item in ‎Watch
CALENDAR
‎Subtract ‎1 ‎minute ‎from ‎Repeat Item
CALENDAR
‎Add ‎1 ‎minute ‎from ‎Repeat Item
SCRIPTING
‎Repeat with each item in ‎Phone
TEXT
‎Phone sample: ‎Repeat Item 2 ‎- ‎Adjusted Watch end ‎ Watch timeframe: ‎Adjusted Watch start ‎- ‎Repeat Item 2
DATE
‎Specified Date ‎Repeat Item 2
DATE
‎Specified Date ‎Adjusted Watch start
DATE
‎Specified Date ‎Adjusted Watch end
SCRIPTING
‎If ‎Phone sample start ‎is between ‎Watch start threshold ‎and ‎Watch end threshold
COMMENT
‎Phone is Between watch threshold. Removing from list.
NOTHING
‎Nothing
SCRIPTING
‎Otherwise
VARIABLES
‎Get ‎Repeat Item 2
SCRIPTING
‎End If
SCRIPTING
‎End Repeat
VARIABLES
‎Set variable ‎Phone ‎to ‎Repeat Results
SCRIPTING
‎End Repeat
SCRIPTING
‎Count ‎Items ‎in ‎Phone
TEXT
‎Phone samples before filtering: ‎Count ‎ Phone samples after filtering: ‎Count
SCRIPTING
‎Show alert ‎Informational Message
Title
‎optional
Show Cancel Button
VARIABLES
‎Add ‎Watch ‎to ‎Samples
VARIABLES
‎Add ‎Phone ‎to ‎Samples
HEALTH
‎Find ‎Samples ‎where
‎All the following are true
‎[{'class': 'filter-property', 'value': 'Type'}, {'class': 'filter-operator', 'value': 'is'}, {'class': 'filter-benchmark', 'value': 'Steps'}]
‎[{'class': 'filter-property', 'value': 'Start Date'}, {'class': 'filter-operator', 'value': 'is between'}, {'class': 'filter-benchmark', 'value': 'Start', 'glyph': '', 'UUID': 'F0FEFA29-2493-4DE6-AE83-7254F1BA99EB'}, {'value': 'and'}, {'class': 'filter-benchmark', 'value': 'Adjusted Date', 'glyph': '', 'UUID': '95423E91-C117-4EA2-A97E-0DA39E1FB71E'}]
Sort by
‎Start Date
Order
‎Oldest First
Limit
VARIABLES
‎Set variable ‎Samples ‎to ‎Health Samples
SCRIPTING
‎Get ‎First Item ‎from ‎Samples
SCRIPTING
‎Get ‎Last Item ‎from ‎Samples
MATHS
‎Calculate the ‎Sum ‎of ‎Samples
MATHS
‎Calculate the ‎Average ‎of ‎Samples
MATHS
‎Round ‎Average ‎to ‎Ones Place
Mode
‎Normal
TEXT
‎Selected Time Range: ‎End ‎ - ‎End of Steps Data ‎ Total Steps: ‎Sum ‎ Average Steps/min: ‎Start ‎ Start of Steps: ‎Rounded Number ‎ End of Steps: ‎Start of Steps Data
SCRIPTING
‎Show ‎Text

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 3 years ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0