No, your code will not work, at least not in the way the OP wanted. The OP wants to add a take-marker at edit cursor position. You need to translate that edit-cursor-position to the source-position before you could use it in SetTakeMarker. It's easy if the take has no stretch-markers. In that case, you just calculate edit_cursor_position-item_start. However, it is impossible to calculate properly, as soon as you have stretch-markers in the item, as they put the take-position all over the place. So the only reliable way to do it isn't using SetTakeMarker, only the action. But yes, the missing bit was the position, which unfortunately doesn't help solving the problem... Edit: corrected my post above accordingly