Search found 2 matches

by michal13
2011-03-29T15:09:53-07:00
Forum: Users
Topic: Batch - extracting names from file to draw
Replies: 2
Views: 7225

Re: Batch - extracting names from file to draw

Thank You Pete, I found it! You gave me courage to test other ways, this one is running: set %sc=0 for %%f in (*.jpg) do ( set /a %sc=sc+1 ) set %lv=0 :begin set /a lv=lv+1 FOR /F "delims=¦ tokens=2 skip=%lv%" %%A in (list.txt) do (c -fill red -pointsize 20 -gravity south -draw "text 0,4 '%%A' " %lv% ...
by michal13
2011-03-29T09:53:31-07:00
Forum: Users
Topic: Batch - extracting names from file to draw
Replies: 2
Views: 7225

Batch - extracting names from file to draw

I would like to solve this thema: I have for example .jpg files (1.jpg - n.jpg) and list.txt written as follows: 1¦name_1 2¦name_2 .... n¦name_n I want to draw names from this list.txt file to single pictures (1.jpg annotate with name_1 and so on). I tried to use this batch, but it reads just last na ...