- 05 Sep 2024
- 7 Minutes to read
- Print
Using the Script Library
- Updated on 05 Sep 2024
- 7 Minutes to read
- Print
The Script Library is a hub for script templates used in Activity-based Assessment (ABA) and Life Cycle Action (LCA), facilitating script creation and maintenance across multiple labs. It standardizes the scripting process, reduces overhead, and fosters collaboration by enabling script sharing. The library's templates can be utilized as-is or as a foundation for creating ABA and LCA scripts.
Overview of Script Library
The Script Library is a repository of script templates that can be used in Activity Based Assessments (ABA) or Life Cycle Actions (LCA). These scripts can be used as they are, or they can serve as a starting point to expedite the creation of ABA and LCA scripts. The Script Library is the best place to store scripts as templates that you can tag with metadata to be easily searched for and used in other ABA or LCA scripts. Gone are the days of copy and paste between Lab Profiles. The most challenging was to try and remember where a certain script was used and in which lab profile, making the effort more tiresome and not able to scale well. Now with Script Library this is entirely eliminated with a way to centralize the scripts into a Library of Templates that can be referenced easily.
Best Practices
Always make sure that you provide meaningful Script Template Names and utilize Keywords to allow easier searching of related Script Templates.
Remember to leverage the Markdown formatting when writing the How to Use this Script as this will provide the nessasary detail for successful adoption and utilization of Script Templates.
It is best that Script Template Names are unique to make it more recognizable when searching.
The best way for an Organization to keep the Script Libary organized is to have the Lab Administrator be the one responsible for managing the templates, with the permissions to Create/Edit/Delete script templates. All Lab Developers will have read access to the Script Library to be able choose a script template from the Script Library to insert into their lab LCA or ABAs.
Accessing the Script Library
Script Library can be accessed from within ABA, LCA or from the Admin page. If the user has the appropriate viewing permissions then a Choose from Script Library will be visible within the ABA, LCA script panel. On the Admin page the user will see the Script Library tile. Once the user selects one of these buttons they will be presented with the Choose a Script Template list view where they can then filter and choose the appropriate Script Template to use.
Using Script Library in Activity Based Assessments
Scripts from the Script Library can be added to an existing or new ABA.
Add script to existing Activity Based Assessment
Navigate to the Lab Profile you wish to add a script to an Activity Based Assessment.
Select Edit Instructions in the upper-right corner.
Select the appropriate Instruction Set.
Select the Activities menu.
Select Edit next to the Automated Activity you wish to add a script to.
Select New Script.
Select Choose from Script Library.
Script Template auto filter
When choosing a Script Template from within an ABA the Script Library Template list will be auto filtered with the use of Scoring.
Select the row of the script template you wish to add.
Select OK. The script you selected should be inserted into the ABA script section.
Add script to new Activity Based Assessment
Navigate to the Lab Profile you wish to add a script to an Activity Based Assessment.
Select Edit Instructions in the upper-right corner.
Select the appropriate Instruction Set.
Select the Activities menu.
Select New Automated Activity.
Select Choose from Script Library.
Select the row of the script template you wish to add.
Select OK. The script you selected should be inserted into the ABA script editor.
Using Script Library with Life Cycle Actions
Scripts from the Script Library can be added to Life Cycle Actions.
Navigate to the Lab Profile you wish to add a script to an LCA.
Select Edit Profile in the upper-right corner.
Navigate to the Life Cycle tab.
Select +Add Life Cycle Action.
Ensure that the Action drop-down menu is set to Execute Script in Virtual Machine, Execute Script in Container, Execute Script in Cloud Platform, or Execute Custom Script. (the option that will be selected will depend on the resources available in your lab profile.)
Select Choose from Script Library.
Script Library Template list
When choosing a Script Template from within a LCA the Script Library Template list will be based available on the following:
Life Cycle Action (Creation/Configuration)
Event is one of (Pre-Build, Post-Build, First Displayable, Saving, Saved, Resuming, Resumed)
Life Cycle Action (Teardown/Cleanup)
Event is one of (Scoring, Scored, Tearing Down, Torn Down)
Select the row of the script template you wish to add.
Select OK. The script you selected should be inserted into the LCA script editor.
Managing Script Templates in Script Library
Managing scripts templates in the Script Library depends on your user account having the appropriate permissions. You will only be able to manage script templates that belong to organizations that you manage in Skillable Studio.
Editing a Script Template
Navigate to the Admin page of Skillable Studio.
Select Find Script Template.
Enter any search criteria to locate the script template you wish to manage, or search without any search criteria to return a list of scripts that are available to the organizations that you manage.
Select any script template to open the Edit Script Template form.
Edit the Name, Description, Primary use, Keyboards, Target, Language, Language version, Script content and How to Use this Script.
How to Use this Script
This field supports Markdown and it is best to utilize this field to put properly formatted information to instruct Lab Builders how to use this script properly.
Once all editing is complete select SAVE SCRIPT TEMPLATE.
Creating a Script Template
Navigate to the Admin page of Skillable Studio.
Select Create Script Template.
Edit the Name, Description, Primary use, Keyboards, Target, Language, Language version, Script content and How to Use this Script.
Organization field
The Organization field will be auto populated with the users default managed organization. If the user manages multiple organizations then the drop down will present all of the available managed orgamizations the user has access to.
Once all editing is complete select CREATE SCRIPT TEMPLATE.
Enabling Script Templates
There may be times where a Script Template may need to be disabled. This is done by selecting the Enabled slider. Be careful, once the Script Template is disabled it will no longer be a candidate to be added to an ABA or LCA until this Script Template is re-enabled.
Publishing a script created from scratch to the Script Template
If the user has the appropriate permissions they are able to publish a saved script within an ABA Auomated Activity or LCA to the Script Library as a Template. This script in one that would have been created from scratch.
Publish script from an Activity Based Assessment
Navigate to the Lab Profile you wish to publish a script to the Script Library from an Activity Based Assessment.
Select Edit Instructions in the upper-right corner.
Select the appropriate Instruction Set.
Select the Activities menu.
Select Edit next to the Automated Activity you wish to publish a script from.
Navigate to the desired script to publish.
Select the Command Menu options, the three dots located on the right of the Script Info Pane Header.
Not Seeing the Command Menu Options?
Only saved activities are able to be published and thus the menu only shows for those activitiy scripts that are first saved.
Select Publish Script.
Edit the Name, Description, Primary use, Keyboards, Target, Language, Language version, Script content and How to Use this Script.
How to Use this Script field
This field supports Markdown and it is best to utilize this field to put properly formatted information to instruct Lab Builders how to use this script properly.
Once all editing is complete select CREATE SCRIPT TEMPLATE.
How to Cancel saving a Script Template
If you are on the Create Script Template form, closing the Tab will cancel the save action and no Script Template will be saved.
Publish script from a Life Cycle Action
Navigate to the Lab Profile you wish to publish a script to the Script Library from a Life Cycle Action.
Select Edit Profile in the upper-right corner.
Navigate to the Life Cycle tab.
Select Edit icon on the appropriate LCA scoring script that is to be published.
Select the Command Menu options, the three dots located on the right of the Script Info Pane Header.
Not Seeing the Command Menu Options?
Only saved Life Cycle Action scripts at the Lab Profile are able to be published and thus the menu only shows for those saved scripts.
Remember: Save the Lab Profile to commit and save the Life Cycle Action scripts.
Select Publish Script.
Edit the Name, Description, Primary use, Keyboards, Target, Language, Language version, Script content and How to Use this Script.
Once all editing is complete select CREATE SCRIPT TEMPLATE.