Login About Gallery
Generate EF Correlation Graphs
COMMENT
this builds a csv format text from your notes and generates charts with it the text below are the headings of the csv
TEXT
date, sleep, ef, exercise, meds
Under Construction
VARIABLES
Set variable
headings
to
Text
Error Loading Action
SCRIPTING
Repeat with each item in
Note
SCRIPTING
If
Repeat Item
does not contain
#
TEXT
Split
Repeat Item
by
New Lines
COMMENT
get date data from record. date is on the first line
SCRIPTING
Get
First Item
from
Split Text
VARIABLES
Set variable
date
to
Item from List
COMMENT
get sleep data from record. sleep is on the second line after the :
SCRIPTING
Get
Item At Index
2
from
Split Text
TEXT
Split
Item from List
by
Custom
:
SCRIPTING
Get
Last Item
from
Split Text
VARIABLES
Set variable
sleep
to
Item from List
COMMENT
get ef data from record. ef is on the third line after the :
SCRIPTING
Get
Item At Index
3
from
Split Text
TEXT
Split
Item from List
by
Custom
:
SCRIPTING
Get
Last Item
from
Split Text
VARIABLES
Set variable
ef
to
Item from List
COMMENT
get exercise data from record. exercise is on the fourth line after the :
SCRIPTING
Get
Item At Index
4
from
Split Text
TEXT
Split
Item from List
by
Custom
:
SCRIPTING
Get
Last Item
from
Split Text
VARIABLES
Set variable
exercise
to
Item from List
COMMENT
get meds from record. meds is on the fifth line after the :
SCRIPTING
Get
Item At Index
5
from
Split Text
TEXT
Split
Item from List
by
Custom
:
SCRIPTING
Get
Last Item
from
Split Text
VARIABLES
Set variable
meds
to
Item from List
Under Construction
TEXT
exercise
,
meds
,
ef
,
sleep
,
date
Error Loading Action
Under Construction
Otherwise
NOTHING
Nothing
End If
End Repeat
Under Construction
Under Construction
TEXT
Split
headings
by
Custom
,
SCRIPTING
Repeat with each item in
Split Text
SCRIPTING
If
Repeat Item
is not
date
Under Construction
Under Construction
Under Construction
Otherwise
End If
End Repeat

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 5 days ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0