Sanction II DDE Commands

 

Sanction can be linked as an image viewer to several other legal software packages. In addition, you can set up your own connections with any application supporting DDE.

 

The following applications have pre-defined DDE settings that can be used immediately

 

Using Sanction II with Concordance

Using Sanction with Summation 5.2

 

 

Configuring Custom DDE Settings

 

You may wish to configure an application to use DDE as more than just a viewing resource. Sanction II supports numerous DDE commands for integration with other applications.

 

The Sanction II Application name is "SanctionII" and the Topic is "Item".

 

Supported DDE command keywords are designated by the following:

 

OPENCASE (case name) - Open/Create a Sanction II case database.

DISPLAY (item ID) - Display a Sanction II case item in the viewing window.

DISPFILE(full file path) - Display a Sanction II case item in the viewing window based on the complete file path.

ADDITEM (infostring) - Adds an individual item group to the Sanction II Case database.

ADDTOTEMP (item ID) - Add an existing item to the Temp Items folder.

ADDTRANSCRIPT(Type of transcript|full filepath) - Add a transcript to the case.

CREATEFOLDER (folder name)- Adds a user folder to the existing Sanction II Case.

ADDTOUSER (Folder name|Item ID|Sanction II Category|ALL (true/false) - Adds an existing item or all items in the group to the specified user Folder. Requires case re-load to view additions.

CLEARTEMP - Clears the temp items folder.

PRINTTEMP- Prints the images in the temp items folder.

PRINTLISTFILE (filename) -Print a list of Sanction II item IDs.

POLLCLIPBOARDON - Turn on Clipboard polling.

POLLCLIPBOARDOFF - Turn off Clipboard polling.

COMPRESSVIEW - maximizes the Sanction II view window.

RESTORE - restores the viewing window.

PRESMODE – launches Presentation Mode

ADDTREEFOLDER (Type of Folder, Name) - Adds a new user folder Presentation folder.

LISTCLICK (Category | ID) – acts as if selected item was clicked from list view.

EXIT - exit Sanction II

 

In addition, the following DDE commands are supplied for linking with Summation:

 

DISPIMG (DOC ID) - Display the first page of Sanction II group in the viewing window.

CONTEXT (TABS) used with DISPIMG to display item only when Image tab is selected.

MOVEIMAGE (x,y) moves the Sanction II window to the (x,y) coordinates specified. These values are translated from pixels to twips.

TOPMOST sets the focus to the Sanction II window.

 

DDE Samples

 

OpenCase

LinkExecute(OPENCASE Sanction II Demo) - loads the case database Sanction II Demo.mdb.

 

Display

LinkExecute(DISPLAY AFRC010) - displays item named AFRC010.

 

Dispfile

LinkExecute(DISPLAY D:\IMAGES\0009.tif) - displays item associated with unique filepath\filename - IMAGES\0009.tif.

 

AddItem

LinkExecute(ADDITEM iteminfo) - adds item based on the following information string(fields are delimited by "|" character):

 

iteminfo=Table|Group Name|Item ID|Page Number|Fullpath to item|Volume|Description|Exhibit Number|Trial Exhibit Number

 

ex:

LinkExecute(ADDITEM Documents|EX1401|EX1423|23|D:\EX14\00023.tif|||||) - adds the item EX1423 to the EX1401 group. Note, the fields after the full path entry are not mandatory, however the "|" character should be included.

 

ADDTOTEMP

LinkExecute(ADDTOTEMP EX010) - adds EX010 to the Temp Items folder.

 

ADDTOUSER

LinkExecute(ADDTOUSER MY FOLDER,EX010, DOCUMENTS, FALSE) - adds the single item EX010 to the Documents category in the user folder My Folder. Choosing TRUE in the last field would add the entire group containing EX010.

 

ADDTTRANSCRIPT

LinkExecute(ADDTTRANSCRIPT LIVENOTE|C:\transcripts\smith.ptf) - adds the specified transcript text file to the case. The type of transcript is a s follows:

LIVENOTE – LiveNote PTF format text file

Sanction17 – Sanction 1.7 and Sanction II transcript database

ASCII – ASCII text transcript

 

CREATEFOLDER

LinkExecute (CREATEFOLDER My Folder) - creates the user folder My Folder in the open case.

 

PRINTLISTFILE

LinkExecute(PRINTLISTFILE C:\files\batch.txt) - prints items listed in batch.txt file. Each item in the list should contain the item ID only.

 

Exit

LinkExecute(EXIT) - unloads Sanction II

 

POLLCLIPBOARDON

LinkExecute(POLLCLIPBOARDON) - Turns on clipboard polling

 

POLLCLIPBOARDOFF

LinkExecute(POLLCLIPBOARDOFF) - Turns off clipboard polling