I want to write a plugin to convert CSV files a certain way before they are compared. The output needs to be based on data in both of the original files, not just a conversion of file 1 then a conversion of file 2.
For example file 1 may have a header and file 2 may not have a header. If either file does not have the header, then I want to strip it out if both. If both have a header, then I can leave it alone. This is a simple example of other things I want to be able to do.
Are there any secret variables other than %s and %t that can be used?
I have thought about checking for existing %t files in the temp folder to determine if this is the first or second comparison and storing the first conversion file name in the registry/ini file to be picked up by the second check, but this is a very messy and slow way to do it.
Any suggestions would be appreciated.
For example file 1 may have a header and file 2 may not have a header. If either file does not have the header, then I want to strip it out if both. If both have a header, then I can leave it alone. This is a simple example of other things I want to be able to do.
Are there any secret variables other than %s and %t that can be used?
I have thought about checking for existing %t files in the temp folder to determine if this is the first or second comparison and storing the first conversion file name in the registry/ini file to be picked up by the second check, but this is a very messy and slow way to do it.
Any suggestions would be appreciated.
Comment