import text image sequence

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

import text image sequence

Adrien Aubourg
>Why not write a macro to loop over your text images? Something like:
>
>directory = getDirectory("Choose directory");
>fileList = getFileList(directory);
>setBatchMode(true);
>for (i=0; i<fileList.length; i++) {
>   file = directory + fileList[i];
>   run("Text Image... ", "open=[" + file + "]");
>}
>run("Images to Stack", "name=Stack title=[] use");
>
>I used Plugins>  Macros>  Record to generate the key commands needed.
>
>Regards,
>Curtis

Thank you for your very fast answer and sorry for my late feedback.
The macro is running well but I had to add "setBatchMode(false)" at the
end of the macro in order to display the stack.

Thank you very much,

Adrien