I recently am trying to do a simple enscript to do pre-processing for encase to get the OS installation date. Have been googling for awhile but the codes i could find are all for v6 or below and after trying out on encase v7 there is an error with the part c.EntryRoot saying that it does not belong with the case class c. As this is my first time touching on enscript i'm facing quite a few difficulties so if somebody could try to enlighten me i will be real grateful.
The EntryRoot() property doesn't exist anymore. The entry objects are now exposed through a class called ItemIteratorClass.
v6 was like this
forall (EntryClass entry in c.EntryRoot()) {
// do something
}
v7 is like this
ItemIteratorClass iter(c);
while (EntryClass entry = iter.GetNextEntry()) {
//do something
}
Check out the enscript help file in the help menu and you will find ItemIteratorClass in the list on the left. There is more example code all over that help file.