NinjaCal

Highlighting Dates

NinjaCal.HighlightingDates History

Hide minor edits - Show changes to output

Changed lines 3-4 from:
You can send NinjaCal a list of dates to highlight so it is pretty easy to have NinjaCal highlight all the days on which you have events.
to:
You can send NinjaCal a list of dates to highlight so it is pretty easy to have NinjaCal display all the days on which you have events.
Changed lines 9-11 from:
-->@@"selectRange" & "¶" & Quote ( List ( RelationshipToEvents::EventDate ) ) & "¶" & "-f"@@

to:
-->@@"selectDate" & "¶" & Quote ( List ( RelationshipToEvents::EventDate ) ) & "¶" & "-f"@@

Changed lines 9-11 from:
-->@@"selectDate" & "¶" & Quote ( List ( RelationshipToEvents::EventDate ) ) & "¶" & "-f"@@

to:
-->@@"selectRange" & "¶" & Quote ( List ( RelationshipToEvents::EventDate ) ) & "¶" & "-f"@@

Added line 11:
Changed lines 9-10 from:
->@@"selectDate" [[<<]] & "¶" & Quote ( List ( RelationshipToEvents::EventDate ) ) & "¶" & "-f"@@
to:
-->@@"selectDate" & "¶" & Quote ( List ( RelationshipToEvents::EventDate ) ) & "¶" & "-f"@@
Changed lines 9-10 from:
->@@"selectDate" \\ & "¶" & \\Quote ( List ( RelationshipToEvents::EventDate ) ) \\& "¶" &\\ "-f"@@
to:
->@@"selectDate" [[<<]] & "¶" & Quote ( List ( RelationshipToEvents::EventDate ) ) & "¶" & "-f"@@
Changed lines 9-10 from:
->@@"selectDate" \\& "¶" & \\Quote ( List ( RelationshipToEvents::EventDate ) ) \\& "¶" &\\ "-f"@@
to:
->@@"selectDate" \\ & "¶" & \\Quote ( List ( RelationshipToEvents::EventDate ) ) \\& "¶" &\\ "-f"@@
Changed lines 9-11 from:
->@@"selectDate" & "¶" &
Quote ( List ( RelationshipToEvents::EventDate ) ) & "¶" & "-f"@@
to:
->@@"selectDate" \\& "¶" & \\Quote ( List ( RelationshipToEvents::EventDate ) ) \\& "¶" &\\ "-f"@@
Changed lines 9-10 from:
->@@"selectDate" & "¶" & Quote ( List ( RelationshipToEvents::EventDate ) ) & "¶" & "-f"@@
to:
->@@"selectDate" & "¶" &
Quote ( List ( RelationshipToEvents::EventDate ) ) & "¶" & "-f"@@
Added lines 1-10:
!! How can NinjaCal show me on which days I have events?

You can send NinjaCal a list of dates to highlight so it is pretty easy to have NinjaCal highlight all the days on which you have events.

To see the highlighting in action, check out the "Scripted Actions" tab of the NinjaCal example file. Action number three, "Select a List of Dates" shows how a carriage return separated list of dates can be passed into NinjaCal.

So let's say you're booking a conference room and want to see all the days when it is already booked. Assuming you have a relationship to a table containing all these events, you can use the List() function to build a carriage return separated list of dates and then send these to NinjaCal. You'd simply call the NinjaCal script with the following script parameter:

->@@"selectDate" & "¶" & Quote ( List ( RelationshipToEvents::EventDate ) ) & "¶" & "-f"@@

(855) SEEDCODE
[email protected]
Follow us: