enable to execute commands to a selected range.