Working example of #SCRIPT# place holder in clipping

2024-05-19 Thread 'Gary Ash' via BBEdit Talk
I've got an AppleScript that I'm trying to run from a clipping but it 
doesn't seem to work.
The script does work from the script editor

#SCRIPT /Users/garyash/Library/Application 
Support/BBEdit/Scripts/line-of-asterisk.scpt #

line-of-asterisk.scpt

*tell* *application* "BBEdit"

*set* theLineNumber *to* ((*startLine* *of* *selection*) *of* *text window* 
1)

*set* theColumnNumber *to* ((*startColumn* *of* *selection*) *of* *text 
window* 1)

*set* txt *to* ""

*repeat* (90 - theColumnNumber) *times*

*set* txt *to* (txt & "*")

*end* *repeat*

*set* *selection* *to* txt

*tell* *text* 1 *of* *window* 1

*select* *insertion point* *after* *line* theLineNumber

*end* *tell*

*end* *tell*


i did a chmod +x in case that was it

thanks for any help

-- 
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 
"supp...@barebones.com" rather than posting here. Follow @bbedit on Mastodon: 

--- 
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 bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/eabe5be9-84bb-41b3-ae05-db59199e083an%40googlegroups.com.


Re: Jupyter Notebooks

2024-05-19 Thread Brian Quirt
I actually do a lot of Jupyter notebook editing in BBEdit, you just have to
edit them as a text file. I still find the ability to do multi-file
searches and grep useful enough to deal with not being able to run the
notebooks or see the active formatting. It can especially be useful if you
have a notebook whose metadata has somehow gotten into a state that causes
Jupyterlab to be unable to load it.

I would love it if BBEdit could run notebooks, but I also feel as if it
would be far outside of the core way that BBEdit works. Being able to start
up a Jupyter server and run the notebook that I currently have open, or
tell the server that it’s changed and reload it after making edits in
BBEdit, feels like something closer to the spirit of BBEdit as best I
understand it, and would definitely make my life easier, if not necessarily
everyone’s.

-Brian


On May 17, 2024 at 10:55:02, James Reynolds (justanotherta...@gmail.com)
wrote:

I should clarify, the reason why I am hoping for Jupyter notebook support
is because these ipynb files are only editable by opening JupyterLab. Even
VSCode requires JupyterLab to be running I think. It's kind of a pain.

James Reynolds
https://magnusviri.com

> On May 16, 2024, at 11:33, Johnny Ragadoo 
wrote:
>
> BBEdit plus Affinity Publisher is a pleasant combination. I have a word
processor of magically intense capability (Mellel). If I lost Mellel, my
second choice "word processor" would be BBEdit for composition, Affinity
Publisher for output.
>
> I'm not a Word fan.
>
> For more BBEdit love, Mellel documents are zip archives and based on XML,
much like docx. BBEdit will directly open and modify them in place. Nice
future proofing, courtesy BBEdit.
>
> On Thursday, May 16, 2024 at 2:47:39 AM UTC-5 Rob Russell wrote:
> On Thursday 16 May 2024 at 07:49:12 UTC+12 James Reynolds wrote:
> I use the Notes feature of BBEdit and I'm grateful for it so that I don't
have dozens of Untitled Text documents all over.
>
> OMG!!! 🙀 How did I miss that feature? I usually have 2-3 dozen untitled
documents holding snippets (which, I might add, BBEdit never loses). Nice
way to organise them!
>
> Rob
>
> --
> 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 "supp...@barebones.com" rather than posting here. Follow @bbedit on
Mastodon: 
> ---
> 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 bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/2a4b7299-2e86-4396-ab9c-901c216f0841n%40googlegroups.com.


-- 
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 "supp...@barebones.com" rather than posting here. Follow @bbedit on
Mastodon: 
---
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 bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/22D1DB54-0493-4133-9FEF-755486FD9A40%40gmail.com.

-- 
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 
"supp...@barebones.com" rather than posting here. Follow @bbedit on Mastodon: 

--- 
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 bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CAPsQJPrL0mJDWLRTyd%2B8%2BOADje-1kPR0a_tKOLJ%3DeusieXKqmg%40mail.gmail.com.