Editing    Analysis    Display    Useful Script Functions

Control    On-Line    Examples of Method    User RequestedNew

Examples of Method
Write frame data to the log window
Compare data from two data files
Design of complex interactive dialog boxes
Batch processing export of filesnew

 

Write frame data to the log window
dumpfrm.zip 457

The script writes frame information to a log window, a simple demonstration of accessing frame information and output to the log window


Compare data from two files
compdata.zip 1,287

This script can be used to compare two data files. As it stands, it performs a few simple checks on the two files to determine whether their contents are the same, but it could be modified to allow you to modify the data contained in the two files, instead of simply comparing it.

This script was created and used to test the average-generating algorithm used in the multi-file averager (see above) and could be used to test any script which can produce testable results, for instance, a multi-file power spectrum.


Design of complex interactive dialog boxes
dlgdesignsg.ZIP 202,565

This script allows you to create complex Signal script dialogs without writing code. You can add, delete, move and edit dialog items interactively by pressing toolbar buttons and using keyboard shortcuts. You can create dialogs with up to 20 user-defined buttons, up to 40 items of other types and up to 200 text prompts. When you have finished designing your dialog, the script prints out the required code so that you can copy and paste it into your script.

This script requires Signal version 3.


Batch processing export of files
batch_export.zip 1,241

This script opens each file in a directory and dumps it as text, but what it is particularly useful for is as an example of batch processing.

This script requires Signal version 3.


Some of these scripts have come from users rather than the CED team. If you have a script that you would like to offer to fellow users via this page, please tell Tim Bergel. We provide some scripts for Spike2 also.

These scripts are stored as WinZip files, myscript.zip, except where they are shown as signal\scripts\myscript.sgs. Those files were installed with Signal. See the summaries by clicking on the description line, below. Then you can down-load them by clicking on the filename; please check the size received.
CED home page