Created
March 1, 2023 19:53
-
-
Save OmkarKirpan/6cef0106fa73a0361a84e2964db26b9e to your computer and use it in GitHub Desktop.
Revisions
-
OmkarKirpan created this gist
Mar 1, 2023 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ 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()