replace with: unexpected behavior

while i tried to solve the cue-range/query/editing which doesn't work with query, i tried "replace with" because it can do cue ranges and has (limited) conditions too. but when i tried something i received some unexpected behaviour:

Cue 1 Thru Enter Chan 15 Color_Palette 5 ReplaceWith Intens 0. i know that's not what the function was conceived for, but i thought i'll try and if the concole doesn't feel like doing that, it will return an error. but what it did was ignore Intens so it inserted the 0 in the scroller column (so i ended up with F 1-). what i tried to achieve is this: in all cues where chan 15 has colorpalette 5 i want the intesity to be 0. but that didn't happen. unless i was doing something wrong, i think the concole should have given me an error. apparently replacewith needs source and target parameter to be the same. i think the console should give me an error instead of doing something counter-intuitive.

Cue 1 Thru Enter Chan 1 Cyan 50 ReplaceWith Magenta 30 Enter. the console sets all instances of cyan @50 in the cue range @30.

thx, ueli

Parents Reply Children
  • hey, that's what i thought and that's why i tried with query first. but when query didn't do what i wanted it to do, i thought, let's try something new. ;-)

    me personally i could life with the danger of powerful (and possibly confusing) functions as long as parameter names in the command line are not ignored without error message... ;-)

     

    ueli

Related