When I press Escape, it displays the results that I've selected up until that point. Is that not what you are getting? Is that not what you want? If you aren't getting that, we should investigate. Or maybe tell me why this isn't what you want.
When I press CTRL-SHIFT-F6, Macro3 (not Macro1) will display the selected items, if there are any items selected. Is that not what you are getting? Is that not what you want? The Macro1 macro does not stop when I press CTRL-SHIFT-F6. I thought that's what you wanted.
You are using a trackpad. Im not sure how you RIGHT-CLICK with a trackpad. Could that be the problem?
So from everything I can see, the macro is doing what I intended. If it doesn't match what you want, please try to explain again what it should do.
Thanks for getting back! I hope your dish was good
Everything is working perfectly! I have just no idea what's the issue with my esc key. I actually found out that the the macro stops when I press the "fn" key + the "esc" key- which is really strange. This doesn't happen when I just press the "esc" key. So, I guess that's something with my keyboard?
Edit: The "fn" + "esc" issue is definitely a problem on my side. It's the same for another macro!
I don't have any experience with the laptop's FN key, but there is a FN key on my iMac keyboard. Why are you pressing it? You didn't mention needing to press it until now. I can modify by app if I know what your intentions are.
Hey @Sleepy, thanks for the macro's. The current selection displays in lines below each other. Is it much trouble to have the result (selections) displayed inline.
Current:
Item2
Item4
Item6
Requested:
Item2 Item4 Item6
Tried to solve by adapting tr "\n" " " without result.
Replacing "\n" with "," is a problem I face approximately once per month and I keep having to re-solve (not resolve) it because I keep forgetting what my solution was. Give me a few minutes.
Ok , that line of yours should work. I tested it. I replaced the last line in my Macro1 with the following, and it displayed what you wanted:
@Sleepy Thanks for your reply and solution. I tried also tr -s "\n" " " and tr "\n" "\b"
problem was that I placed it on de the wrong place in Macro 1.
Hey @Sleepy, I also use variables in the Items list. Unfortunately these are not translated to the value of the variable as it does in a prompt list. Any way to solve this?
If you are talking about the action "Prompt with List", there are four fields in that action. Which field are you saying "does not translate to the value of the variable"? I've successfully used variables in each of these fields. It would help me to understand if you showed your code.
When I insert a variable into a Set Variable as Text action, it substitutes the variable. You can see that in the highlighted red square in this image. Text substitution works. So my suggestion is that you provide a more complete example of your problem, or insert debug statements before and after your macro to ensure that the variables are set to what you think the are.
My first theory is that it MIGHT be a typo. The letter "l" and capital letter "I" look identical. Please retype everything while I consider other possibilities.
I have another theory! Each Set Variable to Text action has a cogwheel with settings for variable substitutions. You may have "nothing" checked for this action. Please validate your cogwheel settings.
So I'm theorizing that you have "Process Nothing" checked here.
Since you have "Process nothing" that seems to explain why the variable isn't getting substituted. So have I solved your problem? If you want variables to be substituted, you should probably click on "Process Text Normally".