[{"data":1,"prerenderedAt":1373},["ShallowReactive",2],{"navigation_docs_en":3,"-en-ai-course-script":162,"-en-ai-course-script-surround":1368},[4,26,66,86,117,146],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Start here","i-lucide-flag","\u002Fen\u002Fstart","en\u002F1.start",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Welcome","\u002Fen\u002Fstart\u002Fwelcome","en\u002F1.start\u002F1.welcome","i-lucide-hand",{"title":16,"path":17,"stem":18,"icon":19},"Your first course","\u002Fen\u002Fstart\u002Ffirst-course","en\u002F1.start\u002F2.first-course","i-lucide-rocket",{"title":21,"path":22,"stem":23,"icon":24},"Editor tour","\u002Fen\u002Fstart\u002Feditor-tour","en\u002F1.start\u002F3.editor-tour","i-lucide-map",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Build slides","i-lucide-shapes","\u002Fen\u002Fbuild","en\u002F2.build",[32,37,41,46,51,56,61],{"title":33,"path":34,"stem":35,"icon":36},"Slides, scenes and layouts","\u002Fen\u002Fbuild\u002Fslides-and-scenes","en\u002F2.build\u002F1.slides-and-scenes","i-lucide-presentation",{"title":38,"path":39,"stem":40,"icon":28},"Objects","\u002Fen\u002Fbuild\u002Fobjects","en\u002F2.build\u002F2.objects",{"title":42,"path":43,"stem":44,"icon":45},"Lines and polygons","\u002Fen\u002Fbuild\u002Flines-and-polygons","en\u002F2.build\u002F3.lines-and-polygons","i-lucide-spline",{"title":47,"path":48,"stem":49,"icon":50},"Media","\u002Fen\u002Fbuild\u002Fmedia","en\u002F2.build\u002F4.media","i-lucide-image",{"title":52,"path":53,"stem":54,"icon":55},"Layers","\u002Fen\u002Fbuild\u002Flayers","en\u002F2.build\u002F5.layers","i-lucide-layers-2",{"title":57,"path":58,"stem":59,"icon":60},"Timeline, states and animation","\u002Fen\u002Fbuild\u002Ftimeline-and-animation","en\u002F2.build\u002F6.timeline-and-animation","i-lucide-clapperboard",{"title":62,"path":63,"stem":64,"icon":65},"Design and theme","\u002Fen\u002Fbuild\u002Fdesign-and-theme","en\u002F2.build\u002F7.design-and-theme","i-lucide-palette",{"title":67,"icon":68,"path":69,"stem":70,"children":71,"page":25},"Interactivity","i-lucide-zap","\u002Fen\u002Finteract","en\u002F3.interact",[72,76,81],{"title":73,"path":74,"stem":75,"icon":68},"Triggers and variables","\u002Fen\u002Finteract\u002Ftriggers-and-variables","en\u002F3.interact\u002F1.triggers-and-variables",{"title":77,"path":78,"stem":79,"icon":80},"Trigger recipes","\u002Fen\u002Finteract\u002Ftrigger-recipes","en\u002F3.interact\u002F2.trigger-recipes","i-lucide-chef-hat",{"title":82,"path":83,"stem":84,"icon":85},"Questions and results","\u002Fen\u002Finteract\u002Fquestions-and-results","en\u002F3.interact\u002F3.questions-and-results","i-lucide-list-checks",{"title":87,"icon":88,"path":89,"stem":90,"children":91,"page":25},"Publish and share","i-lucide-package","\u002Fen\u002Fship","en\u002F4.ship",[92,97,102,107,112],{"title":93,"path":94,"stem":95,"icon":96},"Preview and publish","\u002Fen\u002Fship\u002Fpreview-and-export","en\u002F4.ship\u002F1.preview-and-export","i-lucide-play",{"title":98,"path":99,"stem":100,"icon":101},"SCORM and Moodle","\u002Fen\u002Fship\u002Fscorm-and-moodle","en\u002F4.ship\u002F2.scorm-and-moodle","i-lucide-graduation-cap",{"title":103,"path":104,"stem":105,"icon":106},"Imports","\u002Fen\u002Fship\u002Fimports","en\u002F4.ship\u002F3.imports","i-lucide-file-input",{"title":108,"path":109,"stem":110,"icon":111},"Versions and backup","\u002Fen\u002Fship\u002Fversions-and-backup","en\u002F4.ship\u002F4.versions-and-backup","i-lucide-history",{"title":113,"path":114,"stem":115,"icon":116},"Privacy and offline use","\u002Fen\u002Fship\u002Fprivacy-and-offline","en\u002F4.ship\u002F5.privacy-and-offline","i-lucide-shield-check",{"title":118,"icon":119,"path":120,"stem":121,"children":122,"page":25},"Working with AI","i-lucide-sparkles","\u002Fen\u002Fai","en\u002F5.ai",[123,126,131,136,141],{"title":118,"path":124,"stem":125,"icon":119},"\u002Fen\u002Fai\u002Fthree-ways","en\u002F5.ai\u002F1.three-ways",{"title":127,"path":128,"stem":129,"icon":130},"Connect your AI app","\u002Fen\u002Fai\u002Fconnect-your-app","en\u002F5.ai\u002F2.connect-your-app","i-lucide-plug",{"title":132,"path":133,"stem":134,"icon":135},"What the AI can do","\u002Fen\u002Fai\u002Fmcp-tools","en\u002F5.ai\u002F3.mcp-tools","i-lucide-wrench",{"title":137,"path":138,"stem":139,"icon":140},"Prompts that work","\u002Fen\u002Fai\u002Fprompts","en\u002F5.ai\u002F4.prompts","i-lucide-message-square-text",{"title":142,"path":143,"stem":144,"icon":145},"The course script","\u002Fen\u002Fai\u002Fcourse-script","en\u002F5.ai\u002F5.course-script","i-lucide-file-json",{"title":147,"icon":148,"path":149,"stem":150,"children":151,"page":25},"Reference","i-lucide-book-open","\u002Fen\u002Freference","en\u002F6.reference",[152,157],{"title":153,"path":154,"stem":155,"icon":156},"Keyboard shortcuts","\u002Fen\u002Freference\u002Fkeyboard-shortcuts","en\u002F6.reference\u002F1.keyboard-shortcuts","i-lucide-keyboard",{"title":158,"path":159,"stem":160,"icon":161},"Troubleshooting","\u002Fen\u002Freference\u002Ftroubleshooting","en\u002F6.reference\u002F2.troubleshooting","i-lucide-life-buoy",{"id":163,"title":142,"body":164,"description":1361,"extension":1362,"links":1363,"meta":1364,"navigation":1365,"path":143,"seo":1366,"stem":144,"__hash__":1367},"docs_en\u002Fen\u002F5.ai\u002F5.course-script.md",{"type":165,"value":166,"toc":1349},"minimark",[167,176,224,229,284,291,297,301,308,1115,1118,1229,1233,1276,1280,1302,1312,1316,1322,1331,1345],[168,169,170,171,175],"p",{},"The ",[172,173,174],"strong",{},"course script"," is your course written as text. AI apps cannot look at the editor, but they read and write text very well. So the Studio can turn every course into a course script and turn a course script back into a course. That is how an AI reads your course and how it hands you a new one. You never have to write a course script yourself; this page is for the curious.",[177,178,179,191,212],"ul",{},[180,181,182,185,186,190],"li",{},[172,183,184],{},"File name",": ends in ",[187,188,189],"code",{},".olscript.json",".",[180,192,193,196,197,200,201,204,205,208,209,190],{},[172,194,195],{},"Download",": on ",[172,198,199],{},"My courses"," in the course menu with ",[172,202,203],{},"Export as course script (for AI)",", or in the ",[172,206,207],{},"Connect AI"," dialog with ",[172,210,211],{},"Download course script",[180,213,214,196,217,219,220,223],{},[172,215,216],{},"Open",[172,218,199],{}," with ",[172,221,222],{},"Open file",", or drag the file onto the page. It opens as a new course.",[225,226,228],"h2",{"id":227},"download-and-open-in-4-steps","Download and open in 4 steps",[230,231,232,237,243,247,256,260,271,275],"procedure",{},[233,234,236],"h3",{"id":235},"open-my-courses","Open My courses",[168,238,239,240,242],{},"Go to ",[172,241,199],{},". Every course in this browser is listed there.",[233,244,246],{"id":245},"download-the-course-script","Download the course script",[168,248,249,250,252,253,255],{},"Open the menu of a course and choose ",[172,251,203],{},". The Studio saves a ",[187,254,189],{}," file.",[233,257,259],{"id":258},"let-the-ai-work-on-it","Let the AI work on it",[168,261,262,263,266,267,270],{},"Attach the file in your AI chat and say what you want. Without MCP, also paste the ",[172,264,265],{},"Instructions for the AI"," from the dialog (see ",[268,269,118],"a",{"href":124},").",[233,272,274],{"id":273},"open-the-result","Open the result",[168,276,277,278,280,281,283],{},"Click ",[172,279,222],{}," on ",[172,282,199],{}," and pick the file the AI gave you. It opens as a new course; your original stays unchanged.",[168,285,286],{},[287,288],"img",{"alt":289,"src":290},"The course script way in the Connect AI dialog with the buttons Download course script, Format reference, JSON Schema and Example course","\u002Fscreenshots\u002Fen\u002Fai\u002Fcourse-script-way.png",[292,293,296],"hint-box",{"kind":294,"title":295},"warning","Opened scripts are checked first","The Studio checks every course script before it opens it, like every other import. JavaScript triggers are switched off after opening; only you can switch them on again in the course properties. If something in the file is wrong, the Studio tells you exactly where, often with a suggestion such as \"Did you mean 'btn-next'?\". Paste that message into your AI chat and ask the AI to fix the file.",[225,298,300],{"id":299},"what-a-course-script-looks-like","What a course script looks like",[168,302,303,304,307],{},"Here is a complete tiny course: a welcome slide with a ",[172,305,306],{},"Start"," button, one question and a results slide.",[309,310,315],"pre",{"className":311,"code":312,"language":313,"meta":314,"style":314},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"format\": \"open-learning-studio-script\",\n  \"version\": 1,\n  \"title\": \"Fire safety basics\",\n  \"language\": \"en\",\n  \"scenes\": [\n    {\n      \"key\": \"intro\",\n      \"title\": \"Introduction\",\n      \"slides\": [\n        {\n          \"key\": \"welcome\",\n          \"title\": \"Welcome\",\n          \"layout\": \"title\",\n          \"heading\": \"Fire safety in 10 minutes\",\n          \"subheading\": \"What to do when the alarm sounds\",\n          \"objects\": [\n            { \"type\": \"button\", \"key\": \"btn-start\", \"text\": \"Start\", \"place\": \"bottom-right\" }\n          ],\n          \"triggers\": [\n            { \"when\": { \"type\": \"click\", \"object\": \"btn-start\" }, \"do\": { \"type\": \"nextSlide\" } }\n          ]\n        },\n        {\n          \"key\": \"exit-question\",\n          \"title\": \"Exits\",\n          \"question\": {\n            \"type\": \"multipleChoice\",\n            \"prompt\": \"Where do you go when the alarm sounds?\",\n            \"choices\": [\n              { \"text\": \"To the nearest marked exit\", \"correct\": true },\n              { \"text\": \"To the elevator\" },\n              { \"text\": \"Back to your desk\" }\n            ]\n          }\n        },\n        { \"key\": \"result\", \"title\": \"Result\", \"results\": { \"passPercent\": 80 } }\n      ]\n    }\n  ]\n}\n","json","",[187,316,317,326,354,372,393,414,429,435,458,478,492,498,519,538,558,579,600,614,693,699,713,797,803,809,814,834,854,869,890,911,925,963,985,1007,1013,1019,1024,1091,1097,1103,1109],{"__ignoreMap":314},[318,319,322],"span",{"class":320,"line":321},"line",1,[318,323,325],{"class":324},"sMK4o","{\n",[318,327,329,332,336,339,342,345,349,351],{"class":320,"line":328},2,[318,330,331],{"class":324},"  \"",[318,333,335],{"class":334},"spNyl","format",[318,337,338],{"class":324},"\"",[318,340,341],{"class":324},":",[318,343,344],{"class":324}," \"",[318,346,348],{"class":347},"sfazB","open-learning-studio-script",[318,350,338],{"class":324},[318,352,353],{"class":324},",\n",[318,355,357,359,362,364,366,370],{"class":320,"line":356},3,[318,358,331],{"class":324},[318,360,361],{"class":334},"version",[318,363,338],{"class":324},[318,365,341],{"class":324},[318,367,369],{"class":368},"sbssI"," 1",[318,371,353],{"class":324},[318,373,375,377,380,382,384,386,389,391],{"class":320,"line":374},4,[318,376,331],{"class":324},[318,378,379],{"class":334},"title",[318,381,338],{"class":324},[318,383,341],{"class":324},[318,385,344],{"class":324},[318,387,388],{"class":347},"Fire safety basics",[318,390,338],{"class":324},[318,392,353],{"class":324},[318,394,396,398,401,403,405,407,410,412],{"class":320,"line":395},5,[318,397,331],{"class":324},[318,399,400],{"class":334},"language",[318,402,338],{"class":324},[318,404,341],{"class":324},[318,406,344],{"class":324},[318,408,409],{"class":347},"en",[318,411,338],{"class":324},[318,413,353],{"class":324},[318,415,417,419,422,424,426],{"class":320,"line":416},6,[318,418,331],{"class":324},[318,420,421],{"class":334},"scenes",[318,423,338],{"class":324},[318,425,341],{"class":324},[318,427,428],{"class":324}," [\n",[318,430,432],{"class":320,"line":431},7,[318,433,434],{"class":324},"    {\n",[318,436,438,441,445,447,449,451,454,456],{"class":320,"line":437},8,[318,439,440],{"class":324},"      \"",[318,442,444],{"class":443},"sBMFI","key",[318,446,338],{"class":324},[318,448,341],{"class":324},[318,450,344],{"class":324},[318,452,453],{"class":347},"intro",[318,455,338],{"class":324},[318,457,353],{"class":324},[318,459,461,463,465,467,469,471,474,476],{"class":320,"line":460},9,[318,462,440],{"class":324},[318,464,379],{"class":443},[318,466,338],{"class":324},[318,468,341],{"class":324},[318,470,344],{"class":324},[318,472,473],{"class":347},"Introduction",[318,475,338],{"class":324},[318,477,353],{"class":324},[318,479,481,483,486,488,490],{"class":320,"line":480},10,[318,482,440],{"class":324},[318,484,485],{"class":443},"slides",[318,487,338],{"class":324},[318,489,341],{"class":324},[318,491,428],{"class":324},[318,493,495],{"class":320,"line":494},11,[318,496,497],{"class":324},"        {\n",[318,499,501,504,506,508,510,512,515,517],{"class":320,"line":500},12,[318,502,503],{"class":324},"          \"",[318,505,444],{"class":368},[318,507,338],{"class":324},[318,509,341],{"class":324},[318,511,344],{"class":324},[318,513,514],{"class":347},"welcome",[318,516,338],{"class":324},[318,518,353],{"class":324},[318,520,522,524,526,528,530,532,534,536],{"class":320,"line":521},13,[318,523,503],{"class":324},[318,525,379],{"class":368},[318,527,338],{"class":324},[318,529,341],{"class":324},[318,531,344],{"class":324},[318,533,11],{"class":347},[318,535,338],{"class":324},[318,537,353],{"class":324},[318,539,541,543,546,548,550,552,554,556],{"class":320,"line":540},14,[318,542,503],{"class":324},[318,544,545],{"class":368},"layout",[318,547,338],{"class":324},[318,549,341],{"class":324},[318,551,344],{"class":324},[318,553,379],{"class":347},[318,555,338],{"class":324},[318,557,353],{"class":324},[318,559,561,563,566,568,570,572,575,577],{"class":320,"line":560},15,[318,562,503],{"class":324},[318,564,565],{"class":368},"heading",[318,567,338],{"class":324},[318,569,341],{"class":324},[318,571,344],{"class":324},[318,573,574],{"class":347},"Fire safety in 10 minutes",[318,576,338],{"class":324},[318,578,353],{"class":324},[318,580,582,584,587,589,591,593,596,598],{"class":320,"line":581},16,[318,583,503],{"class":324},[318,585,586],{"class":368},"subheading",[318,588,338],{"class":324},[318,590,341],{"class":324},[318,592,344],{"class":324},[318,594,595],{"class":347},"What to do when the alarm sounds",[318,597,338],{"class":324},[318,599,353],{"class":324},[318,601,603,605,608,610,612],{"class":320,"line":602},17,[318,604,503],{"class":324},[318,606,607],{"class":368},"objects",[318,609,338],{"class":324},[318,611,341],{"class":324},[318,613,428],{"class":324},[318,615,617,620,622,626,628,630,632,635,637,640,642,644,646,648,650,653,655,657,659,662,664,666,668,670,672,674,676,679,681,683,685,688,690],{"class":320,"line":616},18,[318,618,619],{"class":324},"            {",[318,621,344],{"class":324},[318,623,625],{"class":624},"swJcz","type",[318,627,338],{"class":324},[318,629,341],{"class":324},[318,631,344],{"class":324},[318,633,634],{"class":347},"button",[318,636,338],{"class":324},[318,638,639],{"class":324},",",[318,641,344],{"class":324},[318,643,444],{"class":624},[318,645,338],{"class":324},[318,647,341],{"class":324},[318,649,344],{"class":324},[318,651,652],{"class":347},"btn-start",[318,654,338],{"class":324},[318,656,639],{"class":324},[318,658,344],{"class":324},[318,660,661],{"class":624},"text",[318,663,338],{"class":324},[318,665,341],{"class":324},[318,667,344],{"class":324},[318,669,306],{"class":347},[318,671,338],{"class":324},[318,673,639],{"class":324},[318,675,344],{"class":324},[318,677,678],{"class":624},"place",[318,680,338],{"class":324},[318,682,341],{"class":324},[318,684,344],{"class":324},[318,686,687],{"class":347},"bottom-right",[318,689,338],{"class":324},[318,691,692],{"class":324}," }\n",[318,694,696],{"class":320,"line":695},19,[318,697,698],{"class":324},"          ],\n",[318,700,702,704,707,709,711],{"class":320,"line":701},20,[318,703,503],{"class":324},[318,705,706],{"class":368},"triggers",[318,708,338],{"class":324},[318,710,341],{"class":324},[318,712,428],{"class":324},[318,714,716,718,720,723,725,727,730,732,735,737,739,741,744,746,748,750,753,755,757,759,761,763,766,768,771,773,775,777,779,781,783,785,787,790,792,795],{"class":320,"line":715},21,[318,717,619],{"class":324},[318,719,344],{"class":324},[318,721,722],{"class":624},"when",[318,724,338],{"class":324},[318,726,341],{"class":324},[318,728,729],{"class":324}," {",[318,731,344],{"class":324},[318,733,625],{"class":734},"su27w",[318,736,338],{"class":324},[318,738,341],{"class":324},[318,740,344],{"class":324},[318,742,743],{"class":347},"click",[318,745,338],{"class":324},[318,747,639],{"class":324},[318,749,344],{"class":324},[318,751,752],{"class":734},"object",[318,754,338],{"class":324},[318,756,341],{"class":324},[318,758,344],{"class":324},[318,760,652],{"class":347},[318,762,338],{"class":324},[318,764,765],{"class":324}," },",[318,767,344],{"class":324},[318,769,770],{"class":624},"do",[318,772,338],{"class":324},[318,774,341],{"class":324},[318,776,729],{"class":324},[318,778,344],{"class":324},[318,780,625],{"class":734},[318,782,338],{"class":324},[318,784,341],{"class":324},[318,786,344],{"class":324},[318,788,789],{"class":347},"nextSlide",[318,791,338],{"class":324},[318,793,794],{"class":324}," }",[318,796,692],{"class":324},[318,798,800],{"class":320,"line":799},22,[318,801,802],{"class":324},"          ]\n",[318,804,806],{"class":320,"line":805},23,[318,807,808],{"class":324},"        },\n",[318,810,812],{"class":320,"line":811},24,[318,813,497],{"class":324},[318,815,817,819,821,823,825,827,830,832],{"class":320,"line":816},25,[318,818,503],{"class":324},[318,820,444],{"class":368},[318,822,338],{"class":324},[318,824,341],{"class":324},[318,826,344],{"class":324},[318,828,829],{"class":347},"exit-question",[318,831,338],{"class":324},[318,833,353],{"class":324},[318,835,837,839,841,843,845,847,850,852],{"class":320,"line":836},26,[318,838,503],{"class":324},[318,840,379],{"class":368},[318,842,338],{"class":324},[318,844,341],{"class":324},[318,846,344],{"class":324},[318,848,849],{"class":347},"Exits",[318,851,338],{"class":324},[318,853,353],{"class":324},[318,855,857,859,862,864,866],{"class":320,"line":856},27,[318,858,503],{"class":324},[318,860,861],{"class":368},"question",[318,863,338],{"class":324},[318,865,341],{"class":324},[318,867,868],{"class":324}," {\n",[318,870,872,875,877,879,881,883,886,888],{"class":320,"line":871},28,[318,873,874],{"class":324},"            \"",[318,876,625],{"class":624},[318,878,338],{"class":324},[318,880,341],{"class":324},[318,882,344],{"class":324},[318,884,885],{"class":347},"multipleChoice",[318,887,338],{"class":324},[318,889,353],{"class":324},[318,891,893,895,898,900,902,904,907,909],{"class":320,"line":892},29,[318,894,874],{"class":324},[318,896,897],{"class":624},"prompt",[318,899,338],{"class":324},[318,901,341],{"class":324},[318,903,344],{"class":324},[318,905,906],{"class":347},"Where do you go when the alarm sounds?",[318,908,338],{"class":324},[318,910,353],{"class":324},[318,912,914,916,919,921,923],{"class":320,"line":913},30,[318,915,874],{"class":324},[318,917,918],{"class":624},"choices",[318,920,338],{"class":324},[318,922,341],{"class":324},[318,924,428],{"class":324},[318,926,928,931,933,935,937,939,941,944,946,948,950,953,955,957,960],{"class":320,"line":927},31,[318,929,930],{"class":324},"              {",[318,932,344],{"class":324},[318,934,661],{"class":734},[318,936,338],{"class":324},[318,938,341],{"class":324},[318,940,344],{"class":324},[318,942,943],{"class":347},"To the nearest marked exit",[318,945,338],{"class":324},[318,947,639],{"class":324},[318,949,344],{"class":324},[318,951,952],{"class":734},"correct",[318,954,338],{"class":324},[318,956,341],{"class":324},[318,958,959],{"class":324}," true",[318,961,962],{"class":324}," },\n",[318,964,966,968,970,972,974,976,978,981,983],{"class":320,"line":965},32,[318,967,930],{"class":324},[318,969,344],{"class":324},[318,971,661],{"class":734},[318,973,338],{"class":324},[318,975,341],{"class":324},[318,977,344],{"class":324},[318,979,980],{"class":347},"To the elevator",[318,982,338],{"class":324},[318,984,962],{"class":324},[318,986,988,990,992,994,996,998,1000,1003,1005],{"class":320,"line":987},33,[318,989,930],{"class":324},[318,991,344],{"class":324},[318,993,661],{"class":734},[318,995,338],{"class":324},[318,997,341],{"class":324},[318,999,344],{"class":324},[318,1001,1002],{"class":347},"Back to your desk",[318,1004,338],{"class":324},[318,1006,692],{"class":324},[318,1008,1010],{"class":320,"line":1009},34,[318,1011,1012],{"class":324},"            ]\n",[318,1014,1016],{"class":320,"line":1015},35,[318,1017,1018],{"class":324},"          }\n",[318,1020,1022],{"class":320,"line":1021},36,[318,1023,808],{"class":324},[318,1025,1027,1030,1032,1034,1036,1038,1040,1043,1045,1047,1049,1051,1053,1055,1057,1060,1062,1064,1066,1069,1071,1073,1075,1077,1080,1082,1084,1087,1089],{"class":320,"line":1026},37,[318,1028,1029],{"class":324},"        {",[318,1031,344],{"class":324},[318,1033,444],{"class":368},[318,1035,338],{"class":324},[318,1037,341],{"class":324},[318,1039,344],{"class":324},[318,1041,1042],{"class":347},"result",[318,1044,338],{"class":324},[318,1046,639],{"class":324},[318,1048,344],{"class":324},[318,1050,379],{"class":368},[318,1052,338],{"class":324},[318,1054,341],{"class":324},[318,1056,344],{"class":324},[318,1058,1059],{"class":347},"Result",[318,1061,338],{"class":324},[318,1063,639],{"class":324},[318,1065,344],{"class":324},[318,1067,1068],{"class":368},"results",[318,1070,338],{"class":324},[318,1072,341],{"class":324},[318,1074,729],{"class":324},[318,1076,344],{"class":324},[318,1078,1079],{"class":624},"passPercent",[318,1081,338],{"class":324},[318,1083,341],{"class":324},[318,1085,1086],{"class":368}," 80",[318,1088,794],{"class":324},[318,1090,692],{"class":324},[318,1092,1094],{"class":320,"line":1093},38,[318,1095,1096],{"class":324},"      ]\n",[318,1098,1100],{"class":320,"line":1099},39,[318,1101,1102],{"class":324},"    }\n",[318,1104,1106],{"class":320,"line":1105},40,[318,1107,1108],{"class":324},"  ]\n",[318,1110,1112],{"class":320,"line":1111},41,[318,1113,1114],{"class":324},"}\n",[168,1116,1117],{},"Read it like this:",[1119,1120,1121,1134],"table",{},[1122,1123,1124],"thead",{},[1125,1126,1127,1131],"tr",{},[1128,1129,1130],"th",{},"Part",[1128,1132,1133],{},"What it means",[1135,1136,1137,1150,1161,1173,1186,1198,1207,1220],"tbody",{},[1125,1138,1139,1147],{},[1140,1141,1142,1144,1145],"td",{},[187,1143,379],{},", ",[187,1146,400],{},[1140,1148,1149],{},"The course name and the language of its texts.",[1125,1151,1152,1156],{},[1140,1153,1154],{},[187,1155,421],{},[1140,1157,1158,1159,190],{},"The chapters of the course, each with its ",[187,1160,485],{},[1125,1162,1163,1167],{},[1140,1164,1165],{},[187,1166,444],{},[1140,1168,1169,1170,1172],{},"A short name for every part, for example ",[187,1171,652],{},". Triggers and questions point to each other by these names.",[1125,1174,1175,1183],{},[1140,1176,1177,1144,1179,1144,1181],{},[187,1178,545],{},[187,1180,565],{},[187,1182,586],{},[1140,1184,1185],{},"A slide built from a layout, with its title texts.",[1125,1187,1188,1192],{},[1140,1189,1190],{},[187,1191,607],{},[1140,1193,1194,1195,1197],{},"Things on the slide: texts, shapes, buttons, images and more. ",[187,1196,678],{}," puts them at a named spot instead of exact positions.",[1125,1199,1200,1204],{},[1140,1201,1202],{},[187,1203,706],{},[1140,1205,1206],{},"\"When this happens, do that\": here, a click on the button goes to the next slide.",[1125,1208,1209,1213],{},[1140,1210,1211],{},[187,1212,861],{},[1140,1214,1215,1216,1219],{},"A question slide. The Studio adds the ",[172,1217,1218],{},"Submit"," button and the feedback on its own.",[1125,1221,1222,1226],{},[1140,1223,1224],{},[187,1225,1068],{},[1140,1227,1228],{},"A results slide with the passing score in percent.",[225,1230,1232],{"id":1231},"ground-rules","Ground rules",[177,1234,1235,1238,1253,1260,1273],{},[180,1236,1237],{},"Leave out what you don't need: everything missing gets a sensible default.",[180,1239,1240,1241,1243,1244,1144,1247,1250,1251,190],{},"Every ",[187,1242,444],{}," is unique in the whole course and uses letters, digits, ",[187,1245,1246],{},"-",[187,1248,1249],{},"_"," and ",[187,1252,190],{},[180,1254,1255,1256,1259],{},"Times are in milliseconds (",[187,1257,1258],{},"1000"," is one second), positions and sizes in pixels on the slide (normally 1280 x 720).",[180,1261,1262,1263,1144,1266,1269,1270,190],{},"Texts may use simple formatting: ",[187,1264,1265],{},"**bold**",[187,1267,1268],{},"*italic*",", lists, links and variables such as ",[187,1271,1272],{},"%Name%",[180,1274,1275],{},"The field names are English; the texts are in the course language.",[225,1277,1279],{"id":1278},"the-full-reference","The full reference",[168,1281,1282,1283,1286,1287,1289,1290,1293,1294,1297,1298,1301],{},"Everything the editor can do also exists in the course script: every object type, every trigger action and condition, all question types, themes, player settings, masters and question banks. The complete description is the ",[172,1284,1285],{},"Format reference",". You find it in the ",[172,1288,207],{}," dialog under ",[172,1291,1292],{},"Course script",", together with the ",[172,1295,1296],{},"JSON Schema"," (the exact rules for programs) and an ",[172,1299,1300],{},"Example course"," (the full \"Example: IT basics\" course as a script). AI apps with MCP read the same reference on their own.",[1303,1304,1305,1306,1309,1310,190],"tip",{},"Want to see a big, well-built course script? Create a course from the template ",[172,1307,1308],{},"Example: IT basics"," and export it with ",[172,1311,203],{},[225,1313,1315],{"id":1314},"if-something-doesnt-work","If something doesn't work",[168,1317,1318,1321],{},[172,1319,1320],{},"The Studio says the file is not valid.","\nThe message names the place and often the fix. Paste it into your AI chat and ask the AI to correct the file.",[168,1323,1324,1327,1328,1330],{},[172,1325,1326],{},"The AI's answer is cut off.","\nBig courses make long answers. Ask the AI to change one chapter at a time, or connect it with MCP (see ",[268,1329,127],{"href":128},"), so it doesn't have to send the whole course back.",[168,1332,1333,1336,1337,1340,1341,190],{},[172,1334,1335],{},"My JavaScript triggers stopped working after opening the file.","\nThat is intended. Check the code, then switch on ",[172,1338,1339],{},"Allow JavaScript"," in ",[1342,1343],"ui-path",{"path":1344},"View > Course",[1346,1347,1348],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .su27w, html code.shiki .su27w{--shiki-light:#916B53;--shiki-default:#916B53;--shiki-dark:#916B53}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":314,"searchDepth":328,"depth":328,"links":1350},[1351,1357,1358,1359,1360],{"id":227,"depth":328,"text":228,"children":1352},[1353,1354,1355,1356],{"id":235,"depth":356,"text":236},{"id":245,"depth":356,"text":246},{"id":258,"depth":356,"text":259},{"id":273,"depth":356,"text":274},{"id":299,"depth":328,"text":300},{"id":1231,"depth":328,"text":1232},{"id":1278,"depth":328,"text":1279},{"id":1314,"depth":328,"text":1315},"The text format behind AI work in Open Learning Studio. What it is, what a small course looks like, and how to download and open it.","md",null,{},{"icon":145},{"title":142,"description":1361},"kP-aBhQ-NUPzmnQnShbsm38dpROB3J2S9dMk0pox71c",[1369,1371],{"title":137,"path":138,"stem":139,"description":1370,"icon":140,"children":-1},"Ready-made requests to copy for building, changing, checking, translating and exporting courses with an AI app.",{"title":153,"path":154,"stem":155,"description":1372,"icon":156,"children":-1},"Every keyboard shortcut of the editor and the course player, sorted by task. On a Mac, use Cmd where the table says Ctrl.",1793209477303]