Search found 5 matches
- June 25th, 2012, 12:51 pm
- Forum: Script Tutorials
- Topic: FootageItem replace() method
- Replies: 10
- Views: 108825
Re: FootageItem replace() method
Hi Dan... OK... I wrote a script to loop through app.project.numItems and check if the item was selected. If true, give me the index of the item. So... easy enough... select a footage item, run script, and get the correct index number, then make the replacement. Once again... many thanks. Without kn...
- June 25th, 2012, 11:59 am
- Forum: Script Tutorials
- Topic: FootageItem replace() method
- Replies: 10
- Views: 108825
Re: FootageItem replace() method
Hey Dan.... I wrote a small script to iterate through the app.project.item collection checking for the app.project.item.name I was looking for... got the correct index number... changed the index in the script, and viola ! Now I have to write a data entry inquiry for the name of a footage item, and ...
- June 25th, 2012, 11:25 am
- Forum: Script Tutorials
- Topic: FootageItem replace() method
- Replies: 10
- Views: 108825
Re: FootageItem replace() method
Thanks Dan... the only answer must be that the index is wrong (it shows as a Comp item, not a footage item in the javascript console.... app.project.item(70) Result: [object CompItem] Do you have an easy way to get the index for footage items in the project panel? I know you worked with Jeff on his ...
- June 25th, 2012, 4:20 am
- Forum: Script Tutorials
- Topic: FootageItem replace() method
- Replies: 10
- Views: 108825
Re: FootageItem replace() method
Hi Dan, Thanks for the tip... I redid the short script as follows, but I still get the orange bar in line 9 with the same error message... app.project.item().replace is undefined ?!? I'm sure I'm missing something simple, but I can't seem to get this to work. I've added a screen capture of the exten...
- June 23rd, 2012, 11:24 am
- Forum: Script Tutorials
- Topic: FootageItem replace() method
- Replies: 10
- Views: 108825
FootageItem replace() method
Hi, Does anyone have a script example using FootageItem replace() method to replace a footage file with another file? As a newbie scripter, I have tried many approaches and keep getting "app.project.item() is undefined" in line 6 when calling the method. The item index is valid and correct...