-
-
Save marcoths/a8f384c1f84c3b1bd06d8a2ec7ab3678 to your computer and use it in GitHub Desktop.
SCORM LMS Hack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let ok = SCORM_GetAPI() | |
| // setting lesson_status | |
| ok.LMSSetValue('cmi.core.lesson_status', 'completed') | |
| ok.LMSGetValue('cmi.core.lesson_status') | |
| // setting score | |
| ok.LMSSetValue('cmi.core.score.raw', '100') | |
| ok.LMSGetValue('cmi.core.score.raw') | |
| // Saving | |
| ok.LMSCommit() | |
| ok.LMSFinish() |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
scorm