/EnScript-Samples

This repository is a collection of EnScript code samples for use in the OpenText EnCase application.

Primary LanguageC#

EnScript-Samples

This repository is a collection of EnScript code samples for use in the OpenText EnCase application. It is very much a work in progress.

Please note that you use the code in this repository at your own risk. No warranty regarding its use is given or implied, and I cannot provide any support for it.

EnScript is a proprietary scripting language with roots in C++. It also has elements of Java and C#.

EnScripts can include other EnScript library files, resource files and .NET assemblies. They can be packaged into files with an 'EnPack' file-extension.

Each script in this repository has been tested/developed using the current version of EnCase unless specified otherwise.

If you'd like to see an example of how to accomplish a particular thing please feel free to raise an issue and I will look at it as soon as I'm able.

A substantial number of production EnScripts are available on EnCase App Central -

FAQ

Q) Why are many EnScripts in *.EnPack format? Is it to hide the code?

A) Maybe, but in most cases the code is packaged because it consists of more than one source-code file. Packaging multiple files together overcomes compatibility issues when two scripts use different versions of the same library file.

Q) Can I have a script's source-code?

A) It depends on the author - you will have to ask. GSI Training EnScripts are not open-source - they took a lot of time to develop. That said, you can always email the author if you'd like to know a little more about one particular aspect of a script's operation. He/she will probably be happy to send you a code-snippet demonstrating how to accomplish a particular task.

Q) Can I write EnScripts without EnCase?

A) Yes, but you won't be able to compile or run them. One option is to apply to become an EnCase App Central Developer. If you're accepted, you will receive an EnCase licence that can be used for EnScript development. For more details click the following link -

Please note that, due to a bug in the form, you should tick every check-box and then qualify your answers under Development Description.

Q) Is there any documentation available for EnScript?

A) EnCase ships with an EnScript help file that contains numerous examples. There is also an EnScript class browser accessible from the EnScript editor tab in EnCase itself. An EnScript Fundamentals training manual together with a copy of the EnScript language reference guide is available from the following URL -

Q) Is there any training available for EnScript?

A) Yes -

Q) Can I ask for a script example showing how to accomplish a particular task?

A) Yes - you can ask for an example by submitting an issue with the enhancement label. Please bear in mind that I can't accommodate every request nor can I provide anything but generic code. The idea is to teach you how to write EnScript, not to provide an EnScript development service!

Q) Do you have any advice regarding transitioning EnCase 6 scripts to EnCase >= 7?

A) Yes, please view this document.

Q) When I search your code using GitHub, why don't I see all of the matching search-hits?

A) Code-searching in GitHub has some limitations - please click here for more details. To overcome this, you should download your own copy of the code and search that.