The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run different variables accordingly
#1
First of all, I would like to thanks for the software creator. It's a greally powerful program. I just download and play around it, it's a really time saving software.

I have a macro like this:

run "F:\Program Files\Avidemux\avidemux2.exe" "--load G:\files\av\divx\filename --begin bframe --end eframe"
wait 15
act win("Avidemux 2 filename" "gdkWindowToplevel")
'Cs
5 win("Select file to save " "gdkWindowToplevel")
'filenameDTTTY
ifa win("GDK client window" "gdkWindowToplevel")
'RY
ifa win("Q Factor (set 4)" "gdkWindowToplevel")
'RB3TTY
wait 0 WV "GDK client window"
'Y
lef 358 21 win("Avidemux 2 filename" "gdkWindowToplevel")
'Cq

There are several variables:

filename
bframe
eframe

Each filename must follow with its own bframe and eframe accordingly. Since I have hunderds of file need to edit. I just copy the above marco hundereds times and then edit the filename, bframe and eframe one by one.

But I think there must be some better way to do it without copy the macro hundereds times. Hope some body can point me the right direction. Thanks.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)