Quantcast
Channel: UltraEdit, UltraCompare, UEStudio forums
Viewing all articles
Browse latest Browse all 307

Macros • Run macro on multiples files

$
0
0
I'm trying to run a macro on multiple files.
Just that, to run several editing steps on files.
Searching, I found Run Macro on all files within folder

And I thought something like this:

Code:

InsertModeColumnModeOffHexOffFindInFiles "F:\tests\" "*.srt" "1^p"IfFoundPlayMacro 1 "Fix subtitle"EndIf

All ".srt" files follow this pattern:

Code:

100:00:30,600 --> 00:00:42,680Free will is your ability to decide by yourselfwhat you do. It means that the future is an open200:00:36,880 --> 00:00:48,440arena that you can shape with your actions. It’sat the core of human relationships - it means300:00:42,680 --> 00:00:53,240you are responsible for your actions, whichis the basis of our moral and legal systems.

Macro "Fix subtitle" goes through all file using a loop and changes timecode positions, until reaches eof.

Running the main macro, it only open a new window "** Find Results **" with "Search complete. Found", but did not run "Fix subtitle" macro.
Both macros are on the same ".mac" file.

Whats is wrong?

statistics: Posted by Gabarito52 minutes ago — Replies 0 — Views 9



Viewing all articles
Browse latest Browse all 307

Latest Images

Trending Articles