paulopadopalos / scientia_automation

VB Scripts for automating Scientia Syllabus+ processes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scientia Automation

This repository is for scripts which can help automate processes for Scientia Syllabus+. The scripts are written in VBScript, which means they can be scheduled using Windows Task Scheduler.

1 To 1 Allocation

This script will automatically allocate students to "all group" teaching activities; these are the activities which all students enrolled on a module / course unit should attend. In Syllabus+ terminology, these are the Activity objects which do not share their Activity Template with any other Activity objects. Sometimes they are referred to as "1 to 1" activities, because the relationship between the Activity Template and Activity is 1:1. This script will work as follows:

  • It connects to a running Syllabus+ application whose registered Prog ID is "Splus".
  • It creates an Activity Template Group whose name includes the current date and time.
  • It finds Activity Template objects which meet the following three criteria and adds them to the group:
    • They have a Module set.
    • There is only one Activity attached.
    • The real size of that Activity is smaller than the real size of the Module.
  • It iterates through the members of the newly created Activity Template Group and attaches all the Student Sets of the Module to the Activity. This has the effect of allocating them.
  • Once completed, the script writes back the changes to the SDB.

Note that for this script to work, Student Set objects corresponding to real students cannot have a size of zero.

About

VB Scripts for automating Scientia Syllabus+ processes.

License:MIT License


Languages

Language:VBScript 100.0%