project logical editor issue

anyone used to writing PLE scripts came across this issue of not being able to target any locked tracks? in some way it makes sense a PLE macro would not allow altering locked tracks (though i remember seeing someone complaining a PLE macro can in fact override a ‘lock’ settings).

however, i am only trying to ‘select’ respective tracks with my script.

and it wouldn’t work – any ideas on how to get around this?

(the exact scenario is as follows: i need a script that will select track(s) containing a particular string in their name; this works fine for any track unless it is locked, in which case i cannot get the PLE to select them.)

I think that would be how it is designed? The point of a locked track is to keep anything from happening to it accidentally. Why not just unlock the tracks you want to affect?