This tool get a list of file, build and launch a batch according to some options and parameters.
You can get latest version here
Latest version(update only)
Lexer file for synwrite tcbl.lcf
More details :
this is a lst2multi replacement with more features !
A) Why should i use it ?
- I want to execute some command from TC toolbar with more than one file (the %l %L).
- The command i want to execute is an internal shell command.
- I want to execute more than one command for each file.
- ....
Personnaly i use inside TC to launch a lot of imagemagick command resize,rotate,contrast...
B) is it easy to use ?
- if you know how to do thing with a dos console you are able to use it !
C) Why a bat/cmd file is used :
- you can use all system command (echo, ren, copy, move, .... ) depending
of your command interpreter.
- the -e option allow you to edit in notepad the created batch in order
to complete / modify before execution.
- the -E option allow you to use a bat file to edit the created batch in order
to complete / modify before execution.
___________________________________________________
for more : http://tccfestuff.free.fr
Create a new toolbar button
TC) Sample : create a "Copy of " Files :
Command : TCBL.exe
parameter : %L copy $f "$p\Copy of $n"
TC) Sample : create rotated images (With ImageMagick)
Command : TCBL.exe
parameter : %L mogrify -rotate 90 $f
TC) Sample : create a reducted images (With ImageMagick)
Command : TCBL.exe
parameter : %L convert -resize 50% $f $x_small.$e
TC) add ".inactive" at the end of a file
Command : TCBL.exe
parameter : %L ren $f $n.inactive
TC) remove the extension of a file
Command : TCBL.exe
parameter : %L ren $f $z
TC) create a liste of selected file name
Command : TCBL.exe
parameter : %L -q echo $f $AC:\SelectedFiles.txt
=====
in French :
J'ai fait un petit programme qui peut être utilisé en conjontion avec TC... C'est un programme qui utilise "Fichier selectionnés" %L et construit un batch à partir de cette liste. C'est très pratique pour les boutons....
Si cette utilitaire vous semble util, le voici..... http://tccfestuff.free.fr
l'aide n'est pour l'instant qu'en Anglais si c'est utile, je rajouterai des explication en francais.
_________ History ________
// the new version is beta 1.03//
- some Fix for $; separator on command line
- update slre code
- added ini parmeter t to set console title
// the new version is beta 1.03//
- some Fix for 64 bit OS version (clipboard)
- Date/Time format fixes (32/64 version)
// the new version is beta 1.03//
fix some 64bit version crash.
fix some formatting issues
fix file chooser bugs.
add intervals for file index and file size on cmd filter (tcbl.ini cmds)
// the new version is beta 1.01//
First 64bit version without support of wdx and slower. As it does not use many memory this is alsmot useless but tis is 64bit...
-- added raw file index 1...xxx not altered by ini config
-- speed optimisation for list processing
-- changed from PellesC to TDM mingw gcc compiler.
// the new version is 1.01//
-- added File choser option for ini file using internal variable
-- update for slre regexp library
-- bugfix for replacement of variable in ini parameters
// the new version is beta 0.999//
-- minor bugfix with filters
-- switched to slre 1.2 for speed improvement
-- added new path commands $p#1, $p#2... $p#9
-- upxed exe
// the new version is beta 0.998//
-- minor bugfix
-- added graphical input box and internal parameters ($_1..$_9)
-- ability to use parameter inside filter definition
// the new version is beta 0.991//
-- speed improvement for large file
-- Added $K to get clipboard content
// the new version is beta 0.990//
-- Some bugfixes on filtering and initialization
-- Added multiple filtering capabilities in ini file
// the new version is beta 0.985a//
-- bugfix on folder sent with terminating \
-- some bugfix on very large file list
-- speed improvment
// the new version is beta 0.983++//
-- Added precision for filesize options in ini part.
-- Added calculation Scheme for b Kb Mb Gb (SI or base 2^10)
-- Added decimal separator ,
// the new version is beta 0.982//
-- Added noQuote options in ini part.
// the new version is beta 0.980//
-- Added ini section by command template.
Code: Select all
ini= nStart nStep (Initialize the file counter to nStart and set nStep as step ! )
ini=# TimeFormatStr (Initialize time format for file information )
ini=C codepage (set codePage. )
ini=o outputfile (file used as output)
ini=a outputfile (file used as output in append mode. The file will not be deleted.)
ini=k (Keep output file )
ini=d ( delete output file, specially used in append mode. )
ini=x Command to Execute (command used to launch output file )
ini=X Command to Execute with all parameter (command used to launch output file using $- inside command.)
ini=x (do not execute any command)
-- bugfix when file name contains "$?" in some specific sequence.
// the new version is beta 0.965//
fix replacement of % sign in file
fix some filtering issue
fix bug with very large input file (>1000 files)
add ini section to set file counter start and step
add Odd and Pair files based on file counter
Q option do not quote and not replace %sign in filename
k option to keep generated file
e option use you default editor to edit the bat file.
add $p*n and $p+n commands to have path replacement more complete...
// the new version is beta 0.96//
fix: some bug around quote
code rewrite and new C compiler...
// the new version is beta 0.95//
added : file attributes and dates $shortcuts
added : List File $shortcut
added : file/folder filter for ini scripts
added : call SuperWDX plugin with alternate file
fix: multiple calls
// the new version is beta 0.90//
added : added disk and folder $command
fix: filtering on filename, path, .... using topic key
fix: tcblEdit.bat sample
beta 0.86//
fix: usage of %% was faulty in previous version.
// beta 0.83//
added : alternate ini files for command
added : support for super_wdx column (no language support)
//beta 0.82//
added : TCBL.ini with extended syntax file in order to externally store scripts.
added : Super_WDX support (use your wdx plugins to build command ! )
added : file filter for command (execute command only for filtered files)
...
bugFix: listFile.lst can ends without \n

...
-- 0.6
Added ini file support.
Change from lcc win32 to pellesC.
Modified quote manager.
Bug correction.
-- 0.5
Structure Section :
' $( ' is the separator between prefix and repeated commands.
' $) ' is the separator between repeated and postfix commands.
$; is the separator between 2 line.
Counter Section :
$i is the file index 1 to 99999999.
$c is the file counter 0001 to 9999.
$C is the file counter 000000001 to 999999999.
Date Time Section :
$D is the day number dd.
$M is the month number mm.
$Y is the year number yyyy.
$w is the week day.
$W is the week number.
$d is the date yyyymmdd.
$t is the time hhmmss.
$T is the long date and time.
__________________________