Fill cues from a script?
Moderator: MADRIX Team
Fill cues from a script?
Hello again, Madrix tem,
I have another question related to the same project as my last post.
As I mentioned, we're making a system that has hundreds of short video files, each one loaded into its own Storage Place.
I've been looking through the scripting and HTTP remote documentation, and I may just be missing something. Is it possible to fill the Storage Places via a script? Ideally we'd like to use a csv file with footage name / file path pairs, then have each line of the CSV fill and name a Storage Place.
Thanks again for your help,
--David
I have another question related to the same project as my last post.
As I mentioned, we're making a system that has hundreds of short video files, each one loaded into its own Storage Place.
I've been looking through the scripting and HTTP remote documentation, and I may just be missing something. Is it possible to fill the Storage Places via a script? Ideally we'd like to use a csv file with footage name / file path pairs, then have each line of the CSV fill and name a Storage Place.
Thanks again for your help,
--David
Re: Fill cues from a script?
You can Import a whole storage or even just a single storage place by
or
To read a file like your csv file with script please read this
http://www.madrix.com/scripthelp/hidd_f ... tions.html
Code: Select all
void ImportStorage(int storage, string name)
Code: Select all
void ImportStoragePlace(int storage, int place, string name)
http://www.madrix.com/scripthelp/hidd_f ... tions.html
LEDs are nothing without control
Re: Fill cues from a script?
That's perfect, thank you again for a fast and helpful response!
Re: Fill cues from a script?
Hello again Wissmann,
We almost have everything worked out. The script functions you suggest are great, but on closer inspection I realize that they can only load .mef and .mss files. To put it another way, these functions can only load storage spaces that have already been defined. We would like to write a script to set up the storage places from empty.
For instance, we have many hundreds of video files. Is there any way to load all of the video files into storage spaces, other than doing it manually?
Without a script we would have to:
-Click a storage space
-Click Select Effect
-Browse the drop-down menu to SCE->Video
-Click Open Video File
-Browse to a video file
-Click the description field
-Type in the name of the video (we need this for our interactive functionality)
Obviously we would like to automate this process. If it's not possible, that's ok, it's just work we'd like to make simpler.
Thanks yet again,
--David
We almost have everything worked out. The script functions you suggest are great, but on closer inspection I realize that they can only load .mef and .mss files. To put it another way, these functions can only load storage spaces that have already been defined. We would like to write a script to set up the storage places from empty.
For instance, we have many hundreds of video files. Is there any way to load all of the video files into storage spaces, other than doing it manually?
Without a script we would have to:
-Click a storage space
-Click Select Effect
-Browse the drop-down menu to SCE->Video
-Click Open Video File
-Browse to a video file
-Click the description field
-Type in the name of the video (we need this for our interactive functionality)
Obviously we would like to automate this process. If it's not possible, that's ok, it's just work we'd like to make simpler.
Thanks yet again,
--David
Re: Fill cues from a script?
Oh sorry, i misunderstand your question.
It is true, ImportStoragePlace only handle .mef in MADRIX 2.X (.mspz in MADRIX 3).
So unfortunately what you have in mind is not possible yet.
It is true, ImportStoragePlace only handle .mef in MADRIX 2.X (.mspz in MADRIX 3).
So unfortunately what you have in mind is not possible yet.
LEDs are nothing without control
Re: Fill cues from a script?
No problem - as long as we know what we're up against, the workload isn't too bad.
Thanks again
Thanks again