I am trying to automate some simple repetitive tasks, and a lot of the time, I can eliminate hitting the enter key. For example, the following will select by color then wait for me to pick exactly one object to trim, then move on without me needing to hit enter.
_-SelColor
RGBA
251
203
120
0
_-Trim
_Pause
_Pause
_Enter
I need two _Pause because the first on is in the place where I would select the cutting objects. This all works fine, as long as I have some way to pre-select the cutting objects.
I’m trying to figure out how to do something similar, but I want to pick one surface myself then trim 4 surfaces to it… and not hit enter after the first surface.
I thought that this should work…
_-Trim
_Pause
_Enter
_Pause
_Pause
_Pause
_Pause
_Enter
But it doesn’t. The first pause does wait for me to pick an item, but the enter after the pause doesn’t come in until after I hit enter myself, and that’s what I am trying to avoid. It should start the trim function, let me select one cutting edge, then hit enter for me, then let me pick four things to trim, then hit enter again… Apparently _Enter only works at the end of a function, but where I put it here should have worked.
So I tried:
_-Select
_Pause
_Enter
_-Trim
_Pause
_Pause
_Pause
_Pause
_Pause
_Enter
But this doesn’t work either, _-Select waits for me to hit enter myself before moving on.
How can I select exactly X number of things and make the script move on without me hitting enter?
Why doesn’t using _Enter on the first part of the macro work the same way that it does on the second part? That seems like a bug to me, but it seems to always happen that way, no matter what function I am using so I’m guessing there is some reason for it.
This is just an example, I it comes up all the time, I want to start some random function, pick X number of things, have it hit enter for me, then pick Y number of other things, then hit enter again. I suppose a Python Script would not have this issue, but a lot of these macros I have are things that will ever only be used for a relatively small number of operations, and then they will never be needed again, it’s not worth the time it would take to write and test a python script, so it would be great to find a solution to this issue.