Command Line

1. Import new student accounts

2. Export student statistics

Command line syntax

RapidTyping.exe <command> <path>... [<-switch [<arguments >] ...]

1. Import new student accounts

Command: -ImportGroup

Syntax: -ImportGroup <list of file paths>... [ -XML ] [ -ShowResult ]

Parameters:

Examples:

RapidTyping.exe -ImportGroup -XML ..\Resources\Template\Import\XML\Group.xml

RapidTyping.exe -ImportGroup -XML ..\Resources\Template\Import\XML\Group.xml ..\Resources\Template\Import\XML\Groups.xml

XML file syntax

<?xml version="1.0" encoding="UTF-16">

<Groups>

  <Group [ID] [Name] [CourseKLID] [InterfaceLang]>

    <Student [ID] [Name] [Password]/>

    ...

  </Group>

    ...

</Groups>

where:

Examples:

<?xml version="1.0" encoding="UTF-16">

<Groups>

  <Group Name="Group 1"> <Student Name="Teacher" Administrator="1"/>

    <Student Name="Student"/>

  </Group>

</Groups>

<Groups>


<?xml version="1.0" encoding="UTF-16">

  <Group ID="1" Name="Group 2" CourseKLID="0x0000409" InterfaceLang="0x0409">

    <Student ID="1" Name="Student 1" Password="123"/>

    <Student ID="2" Name="Student 2" Password="123"/>

  </Group>

  <Group ID="55B74D8C-E65E-42AE-9F2C-E55EA0DCA924" Name="Group 3" CourseKLID="0x0000419">

    <Student ID="356C8ADA-1E5D-448B-ADB9-C4C60059F7AB" Name="Student A" Password="123" InterfaceLang="0x0419"/>

    <Student ID="6CEB60D2-4D9A-4E82-862A-687609447D0A" Name="Student B" Password="123" InterfaceLang="0x0419"/>

</Group>

</Groups>

2. Export student statistics

Command: -ExportReport

Syntax: -ExportReport <destination folder> <template file> [ <template sub-folder> ]
[ -FilterByGroup <group list> ]
[ -FilterByStudent <student list> ]
[ -SplitFileByGroup | -SplitFileByStudent ]
[-Language <language ID>]
[-Aggregate <aggregation type>]
[ [-WPM | [-CPM] | [-KPM] | [-NWPM] | [-NCPM] | [-NKPM] | [-WPS] | [-CPS] | [-KPS] | [-NWPS] | [-NCPS] | [-NKPS] ]
[ [-WordAccuracy] | [-WordError] | [-CharAccuracy] | [-CharError] | [-KeyAccuracy] | [-KeyError] ] [ [-WordDelay] | [-CharDelay] | [-KeyDelay] ]
[-ShowResult]

where:

following switches are used in the template body:

Examples:

RapidTyping.exe -ExportReport C:\Output XSV\Template_1.txt -SplitFileByStudent

RapidTyping.exe -ExportReport C:\Output XML\Template_1.xml -SplitFileByGroup

RapidTyping.exe -ExportReport C:\Output HTML\Template_WPM.html res

Template file syntax guide

The following syntax shows the overall template structure. The template has three nested loops:

Overall template structure

<GroupLoop> - Group loop start

  <StudentLoop> - Student loop start

    <LessonLoop> - Lesson loop start

    </LessonLoop> - Lesson loop end

  </StudentLoop> - Student loop end

</GroupLoop> - Group loop end

Within each loop a different set of parameters is enabled. The parameters are marked by the double square brackets [[...]]

The parameters available in the loop for groups

The parameters available in the loop for students

The parameters available in the loop for lessons

Information about group

Information about student

Information about lesson

Information about lesson keyboard

Lesson data

Aggregation period name

Period duration

Overall rating

Lesson rates

Additional information about lesson

Colour indexing

Also in a template the following localised strings available. These parameters are marked by the double braces {{...}}.

These items is translated depending on the command line -Language switch.

For example, with -Language 0x409 (English) these prameters will give the following values:

Localised strings

And parameters the values which, depending on the command line switches:

© 2007-2015 RapidTyping Software