UPDATE 1:
I managed to come up with something that kinda works like this:
1)looping through every single region to check if there is an audio file,
2)if there is a file add it to a table
3)select everything in the table
4) Invert selection
5) This then selects all the items that are not in a region.
6) However when i do a count after the inverted selection it seems to be giving me every item in the session..
This works but i think it could be a lot better as i would like to have more flexibility like being to look for the first item that is not in a region so i could ripple edit and move the files back 1 region
I guess the other way would to be
1) add all items in selected track to table1
2) do the loop and check if there are any items in a region, add to table 2
3) compare the 2 table to get the items that are not in a region then add those items into table 3
4) select items in table 3, somehow get the first item in table3...
I'm not a programmer and i'm having issue trying to get the compare working even after diving into google for hours..
|