Hello,
I’m trying to show the top 7 lines (or any number of lines) of a Named Clipboard in a Display Window action while maintaining the styled text.
I am able to use a Get substring of a Named clipboard action to gather the correct range of characters to display the styled text in a display text window. I am even able to remove lines, from the bottom, by using a regex script. That action will show the displayed text in a window that maintains the styled text.
I can use a head -7 shell script that will properly show the lines but the styled text is lost.
Has someone tried this before? If so, can you tell me how you can display the top lines of a clipboard, in a display text in a window action, and maintain the styled text?
I wanted to ask @peternlewis for a feature request to add lines when the dropdown list (where range is below) of the Get Substring action but if there is another way, there would be no need.
Thanks folks. Hopefully, I’m clear with this ask.
KC

