Skip to content

Instantly share code, notes, and snippets.

@FatsackFails
Last active August 18, 2021 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FatsackFails/764c73df268a4fe30cf127625b21ebcd to your computer and use it in GitHub Desktop.
Save FatsackFails/764c73df268a4fe30cf127625b21ebcd to your computer and use it in GitHub Desktop.
Kruiz Control Snippet: Write Month to OBS Text Source
OnInit
Function "var date = new Date(); var months = ['JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN', 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC']; return {monthName: months[date.getMonth()]}"
OBS Source "Date" Text "{monthName}"
@FatsackFails
Copy link
Author

KC Version: v1.5.0

Usage: OnInit

For a breakdown of this Kruiz Control event including KC actions, triggers, and JavaScript, read the blog post on my website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment