On 9 Oct 2024, at 23:00, Patrick Woolsey wrote:
> Good afternoon and please pardon the obvious :-) but is there any reason not to just create a script which compounds the desired commands and run that within BBEdit?
>
> ========
> #!/bin/sh
>
> bbedit -c ~/Desktop/only_one.txt
>
> echo "Nullam.txt" | bbedit --append
> ========
Only that I hope to later do some scripts that would involve some slightly more complex stuff, and I'm more comfortable using Python than sh (there are a few more things I want to do before getting BBEdit to do it's thing). While sh and I were friends, the keywords are "were" and the missing "close", I'm pretty much a complete newbie at this time.
It's also bin (sigh, I'm trying to learn German) a while since I used subprocesses in Python so I was trying to brush up on that part as well, and this script seemed to be a simple start.
But you're completely right, for this very simple script this would work just fine.
= jem