vbs script to get Filename to title
Hello,
I used to work with scripts which worked well with iView and EM2 but cannot find a way to adapt them for Media Pro.
I'm looking for someone who could fix them or create them.
The goal is to get a vbs script to set Filename to Title and another one to set Filename to Source
Thanks
I used to work with scripts which worked well with iView and EM2 but cannot find a way to adapt them for Media Pro.
I'm looking for someone who could fix them or create them.
The goal is to get a vbs script to set Filename to Title and another one to set Filename to Source
Thanks
0
-
Hi,
If you have VBS scripts that worked in iView and Expression MediaPro then it is a simple change to make them work for Phase One MediaPro.
Near the top of each script will be a line of code that creates an "object" for the application. This provides various methods for navigating through a catalogue and allows for properties of the catalogue or image to be read or set. Each company that has owned this application has put their own stamp on it so there is a single piece of code that needs changing.
In an iView script this code will beSet ivApp = CreateObject("iView.Application")
In an Expression MediaPro script the code will beSet app = CreateObject("ExpressionMedia.Application")
In a PhaseOne MediaPro script the code needs to beSet app = CreateObject("PhaseOneMediaPro.Application")
Don't worry abou the first bit of these lines being different. The second "word" is the variable name it is putting the "object" in to. The important bit that needs changing in a script is the "[color=#FF0000:6uut8tu7]xxxx[/color:6uut8tu7].Application". If you make a copy of your working iView or Expression MediaPro script and place it in the scripts folder for Phase One Media Pro and then edit it in Notepad and change it as above it should then work. You will need to restart MediaPro as, in all incarnations, has only every loaded the scripts upon start up.
Hope this helps,
Ian0 -
Thank you very much, it works. 0
Post is closed for comments.
Comments
2 comments