Hi,
I used to use iView Media Pro and subsequently Expression Media, I have not updated my catalog for a long time and thought it was about time I got things up to date!
I have a script that renames new image files and moves them to a standard location:
I.e.
TOO = "I:\Photos\" & Year(CaptureDt) & "\" & MM & "\"
newName = mid(Year(captureDt),3) & MM & DD & "_" & HH & "-" & MN & "_" & Model & "_" & DCOUNTER & fileExt
Everything works fine, it renames and moves the file, however when I call the following line the script errors, this used to work in iView Media Pro 3, but in Expression 2 it is failing :(
( It did work in the past in Expression 1 )
mediaItem.Path = TOO & newName
The error I receive is:
Src: Line: 100 Error:0 Scode:80004005
Does anyone have any idea why this might be happening?
Cheers,
Chris