02-10-2021 08:25 AM
Hi,
I would like to set up a DataPugin for a csv file type but when I use the text-based loading wizard it creates an encrypted plugin file of type VBCrypt, which I can't view in DIAdem's SCRIPT window. On previous occasions, perhaps with other file extensions, this hasn't happened and I've received plugins of type VBS.
It isn't certain yet, but it's possible that the csv files I want to open will not be consistent and so I wanted to see if I could utilise a plugin script, perhaps by calling it from a main script, to cope with variable file contents. However, I see that when a plugin VBS script is open in DIAdem's SCRIPT window the play button is greyed out. Are they not the same as normal vbs files?
If this is not an appropriate way forward, can I just use commands like TextFileOpen and TextFileReadLn on my csv files? I can see this method taking a very long time to open a file with a lot of lines in it, so I feel a plugin would be the best way if possible.
Regards, Simon.
Solved! Go to Solution.
02-12-2021 05:03 AM
If you open DIAdem help it contains a section about VBS DataPlugins.
The zip file contains some examples to help you start creating a dataplugin.
Have alook at the examples. Hope they help you how to write the scripts you need.