© 2004-2017 Automate, Inc.
All worldwide rights reserved
MeGUI Job Creator
added on March 9, 2011 by Ahmed Agbabiaka (email@example.com)
Creates all of the jobs required to encode avs files to h.264, wav files to aac and mux both as an mp4.
All jobs are created as MeGUI xml job files with all of the info about the input files and their settings.
your video is an avisynth script
audio is a wav file
no target size (use profile settings) is used for Size/Bitrate
Usage (First Run):
1) Clear MeGUI and restart MeGUI (ensures that their aren't any xml files in the job directories
2) Load an AVS file and WAV file into MeGUI
3) Set Encoder Settings for Video encoding and Audio. Click AutoEncode.
4) In the Automatic Encoding window choose No Target Size (use profile settings). Then click Queue.
5) Make the following directory: C:\Program Files (x86)\MeGUI\jobs\templates
6) Copy the four jobs from C:\Program Files (x86)\MeGUI\jobs\ to C:\Program Files (x86)\MeGUI\jobs\templates
7) Make sure that jobs are named job1, job2, job3 and job4
8) Clear the MeGUI queue and exit MeGUI
Usage (normal use)
1) Run the MeGUI Job Creator task. It will prompt you for the location of your avs and wav files.
2) When the task is complete, start MeGUI
Voila, your queue has been populated with all of the jobs required to batch convert a directory full of avs/wav files to MP4.
More Sample Tasks and Workflows
Round up to Whole Number Using VB Round() Function
The VB round() function, by default rounds to the nearest whole number based on the following: 10.00 through 10.50 = 10 10.51 through 10.99 = 11 There are scenarios where you want to round up all decimal values to the nearest whole number. Based on the above criteria, adding 0.5 to any numeric value with a decimal will cause the round() function to round up. For example: 10.00 + .50 = 10 round(10.5) 10.10 + .50 = 11 round(10.6) 10.90 + .50 = 11 round(11.4) The attached tasks will demonstrate the round() function usage to round up numeric values.
Restart a Service (Automate and Intermapper)
This sample task will allow you to use Automate and Intermapper to restart a service.
DDE Sample (task)
The attached task demonstrates DDE Execute, DDE Poke and DDE Request. The task assumes that Excel is running with a worksheet named Sheet1. DDE Execute: Maximizes the Excel spreadsheet. DDE Poke: Will write the number 7 in row 1 column 1 of Sheet1. DDE Request: Will grab the value from row 1 column 1 of Sheet1 and populate variable varTest.
Workflow Loop Sample (workflow)
This sample demonstrates how a workflow loops through a shared dataset using the evaluation object and NO loops within the tasks.
Inline Padding Sample (task)
This sample demonstrates how to pad a string inline with leading or trailing spaces.
Split filename into two variables
A task has a name of 'abc_123.txt' I would like the folder name to be the prefix of the filename prior to the "_" delimiter 'C:\abc'. File 123.txt will then be placed inside C:\abc\123.txt
Count Rows in TXT/CSV using Regular Expression
I have a *.txt or *.csv containing column headers and X rows of data. Using RegEx the task simply counts the number of rows based on carriage returns. Great for csv files that have X amount of records and you simply need a total count of rows minus the headers.
Dataset to CSV File using Excel action
How do I create a CSV file from a dataset without using Interactivity actions inside MS Excel, ie, 'File Save As.'? Here's how to create a CSV file in one step using a dataset with our 'Excel - Set cells' activity.
Dataset to CSV using ODS action
How do I create a CSV file from a dataset without Microsoft Excel being present on my machine? Here's how to create a CSV file in one step using a dataset with our new 'ODS (OpenDocument Spreadsheet) - Set cells' activity.
Using this task, you can hide the windows that are active in the field of view. Posted by Younes Raeisi