Skip to main content

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

vbs script to get Filename to title

Comments

2 comments

  • imaginatian
    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 be
    Set ivApp = CreateObject("iView.Application")
    In an Expression MediaPro script the code will be
    Set app = CreateObject("ExpressionMedia.Application")
    In a PhaseOne MediaPro script the code needs to be
    Set 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,

    Ian
    0
  • PhilBach
    Thank you very much, it works.
    0

Post is closed for comments.