# Delete Multiple Instruction Templates (Action Instructions) from Task?

**URL:** <https://tech-community.robotics.abb.com/t/delete-multiple-instruction-templates-action-instructions-from-task/6932>\
**Category:** RobotStudio\
**Tags:** instruction-template\
**Created:** [December 16, 2015, 4:04pm UTC](https://tech-community.robotics.abb.com/t/delete-multiple-instruction-templates-action-instructions-from-task/6932 "2015-12-16T16:04:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TSutton3G](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@TSutton3G](https://tech-community.robotics.abb.com/u/TSutton3G)\
**Post date:** [December 16, 2015, 4:04pm UTC](https://tech-community.robotics.abb.com/t/delete-multiple-instruction-templates-action-instructions-from-task/6932/1 "2015-12-16T16:04:41Z")

</div>

I’m cleaning up a station built by another programmer that has hundreds of unused routines as action instructions. In order to remove the action instructions, I have to delete each one, one at a time (cannot select multiples with shift or control for whatever reason), and quite frankly I’m about ready to throw my computer out the window. Is there a better, faster way to remove instruction templates?

Also will Comment instructions ever be supported in RS?

---

<div class="post-metadata">

**Author:** ![D\_toto13](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/d_toto13/32/407_2.png) [@D\_toto13](https://tech-community.robotics.abb.com/u/D_toto13)\
**Post date:** [September 28, 2016, 6:06pm UTC](https://tech-community.robotics.abb.com/t/delete-multiple-instruction-templates-action-instructions-from-task/6932/2 "2016-09-28T18:06:07Z")

</div>

TSutton3G,

As you’re saying - comment instruction will work, but it will still be a Sisyphus work …I was in the same situation @ some point so I can relate your pain/anger …  
Anyway, you would have a couple of options, but the best one that I found would ease your work by a lot (only if you’re trying to delete complete routines, otherwise you still have to go line by line though :().

When you open your Main module you should have multiple jobs/routines …you have the option to expand/contract each individual routine (“-” expanded, “+” contract) …if you highlighted the line where you have that routine (see pic) you’ll be able to get rid of the whole routine at once.

 ![image.jpg](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/1X/10a23e62e920e07e6862b9bdafc077493a4e1c54.jpeg)

I hope it will help somebody @ some point since the post it’s so old …

Dan

 ![image.jpg](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/1X/10a23e62e920e07e6862b9bdafc077493a4e1c54.jpeg)
