Command line options
Posted: Sat Sep 30, 2006 3:05 am
I was wondering if TextPipe returns some sort of exit code or success/failure codes when ran from the command line. I ask this because I want to be able to write a script that prompts me for the "files to be filtered" location and then proceeds to programmatically or dynamically build my command line
-then,
I want to write my script to wait (for the return code) until that task is finished before launching a different filter/command line against the same group of files.
I realize this can be done in a batch (multiple filters) but I do not want the second filter to start unless I am sure the first one was finished successfully or there will be unpredictable results.
Also, I would use this method to do combinations of filtering such as:
filter all files in C:\filterone\*.*
(wait)
filter all files in C:\filtertwo\*.* (different fll file this time)
(wait)
merge all outputted files together (yet another fll file)
(wait)
filter/edit the merged file a certain way, etc (and yet another fll file)
etc.....
call me lazy but I am looking to further automate some processes I am currently doing with my new TextPipe Pro
-then,
I want to write my script to wait (for the return code) until that task is finished before launching a different filter/command line against the same group of files.
I realize this can be done in a batch (multiple filters) but I do not want the second filter to start unless I am sure the first one was finished successfully or there will be unpredictable results.
Also, I would use this method to do combinations of filtering such as:
filter all files in C:\filterone\*.*
(wait)
filter all files in C:\filtertwo\*.* (different fll file this time)
(wait)
merge all outputted files together (yet another fll file)
(wait)
filter/edit the merged file a certain way, etc (and yet another fll file)
etc.....
call me lazy but I am looking to further automate some processes I am currently doing with my new TextPipe Pro