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

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"[email protected]" rather than posting here. Follow @bbedit on Mastodon: 
<https://mastodon.social/@bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CE8DDCA0-7D5A-478E-8144-D1F1E0948D13%40mostrom.pp.se.

Reply via email to