Re: Need to extract all digits from string

2021-07-27 Thread Christopher Stone
Hey Howard, What exactly do you mean by “regmatches”? Find: (\d|\[\d+\]) Replace: \1\n -- Best Regards, Chris > On Jul 27, 2021, at 14:41, Howard > wrote: > > I have a string of numbers like this: > > "12[11]4567[10]0" > > The string may be longer or

Re: Conda environments

2021-07-26 Thread Christopher Finazzo
Ugh, false alarm. Restart BBEdit and there it is. As I get a new SE project going I will continue to test. On Monday, July 26, 2021 at 10:52:23 AM UTC-4 Christopher Finazzo wrote: > Although I haven't used Python extensively before, I was glad to see > support for conda in BBE

Conda environments

2021-07-26 Thread Christopher Finazzo
Although I haven't used Python extensively before, I was glad to see support for conda in BBEdit 14. The Standard Ebooks project uses Python extensively for their toolset and having an isolated environment within BBEdit should make using it much easier. Yet, after installing miniconda, running

Re: Script help - Convert untitled text to notes

2021-07-23 Thread Christopher Waterman
se theDoc end if end repeat end tell This will leave a bunch of open notes. Mostly I mention it because it’s good to know that `bbedit --note` exists. > On Jul 23, 2021, at 9:06 AM, Christopher Stone > wrote: > >> On Jul 23, 2021, at 10:03, Jim Strau

Re: Script help - Convert untitled text to notes

2021-07-23 Thread Christopher Stone
ting-out close theDoc until you're confident the script works as intended. -- Best Regards, Chris -------- # Auth: Christopher Stone # dCre: 2021/07/23 10:57 # dMod: 2021/07/23 10:57 # Appl: BBEdit, System Events # Task: Convert Unsaved Documents into

Re: BBEdit 14 Debuts

2021-07-20 Thread Christopher Waterman
No question, congrats to everyone at Bare Bones! I got excited and posted a little BBLove on facebook. 路‍♂️ https://www.facebook.com/1561966891/videos/403898307730001/ <https://www.facebook.com/1561966891/videos/403898307730001/> > On Jul 19, 2021, at 4:56 PM, Christopher Stone

BBEdit 14 Debuts

2021-07-19 Thread Christopher Stone
> On Jul 19, 2021, at 13:39, Rich Siegel wrote: > We are pleased to announce the release and immediate availability of BBEdit > 14.0. This major upgrade adds over a hundred new features, improvements to > existing features, and minor refinements. Color me impressed... Thanks Rich! -- Take

Re: TextFactory and then AppleScript works; AppleScript in TextFactory doesn't

2021-07-07 Thread Christopher Stone
astScripts <https://www.red-sweater.com/fastscripts/>, Keyboard Maestro <https://www.keyboardmaestro.com/main/>, or another AppleScript runner app.) Something like this: --- # Auth: Christopher Stone

Re: Searching an html tag with Applescript and BBEdit

2021-06-29 Thread Christopher Stone
On 06/29/2021, at 00:37, Murat mailto:myi...@gmail.com>> wrote: > set result to (find "" searching in ¬ > (alias "full HFS path to my file") ¬ > options {starting at top:true} with selecting match) > > if (found of result) then . > > Script debugger tells me,

Re: Scripts

2021-06-28 Thread Christopher Stone
e a text doc and another to replace certain text within a text doc. Hey Paul, Replacing text with AppleScript is easy enough once you know how: --- # Auth: Christopher Stone # dCre: 2021/06/28 21:28 # dMod:

Re: AppleScript to make window wide enough to not scroll?

2021-06-26 Thread Christopher Stone
On 06/26/2021, at 20:32, TJ Luoma mailto:luo...@gmail.com>> wrote: > I’m not sure if that’s something that can easily be changed (just to make the > scrollbar disappear) but if not that’s really a minor nit. Tweak one of these properties until its wide enough: property gutterWidth : 64

Re: Looking for Preference: Prevent Scrollbar possible ?

2021-06-26 Thread Christopher Stone
On 06/26/2021, at 04:50, Wastle Smith mailto:wastlesm...@gmail.com>> wrote: > With that I want to prevent horizontal scrolling (e.g. due to an over-size. > long line ). Instead I want that the window is resized. Great enough to > prevent that type of scrolling (which often then hides the

Re: AppleScript to make window wide enough to not scroll?

2021-06-26 Thread Christopher Stone
--- # Auth: Christopher Stone { Kudos to Shane Stanley for generous help with ASObjC } # dCre: 2018/09/16 22:24 # dMod: 2021/06/26 19:08 # Appl: BBEdit # Task: Resize width of front BBEdit window according to longest line

Re: Stumped on this one

2021-06-15 Thread Christopher Stone
On 06/15/2021, at 18:28, @lbutlr mailto:krem...@kreme.com>> wrote: > I have a file that has a few hundred lines, 77 of which are a HTML/XML style > date element > > Tue, 15 Jun 2021 17:12:26 -0600 > > I have another files that has 77 date lines in the same format. Everything is > different

Re: Extract number within parentheses using GREP

2021-06-07 Thread Christopher Stone
On 06/07/2021, at 14:53, Christopher Stone <listmeister...@gmail.com> wrote:This becomes terribly tedious when you do it all by hand, so I wrote you an example Text Factory.Install here:~/Library/Application Support/BBEdit/Text Filters/Text Factories/You have to run it from the Text > A

Re: Extract number within parentheses using GREP

2021-06-07 Thread Christopher Stone
On 06/03/2021, at 09:46, Howard wrote:Chris, what you wrote is very helpful.To get the Grep results not enclosed in parentheses, I used the Replace pattern `\2` with this Search pattern:\d*(\((\d+)\))\d*but that resulted in these numbers:10161011Hey Howard,That can't be

Re: Extract number within parentheses using GREP

2021-06-02 Thread Christopher Stone
On 06/01/2021, at 18:59, Howard mailto:leadwithlo...@gmail.com>> wrote: > To help me to understand better the Grep part of Neil's solution, can someone > provide me with the search pattern and the replace pattern to just find those > lines with numbers in parentheses and extract them without any

Re: Extract number within parentheses using GREP

2021-06-01 Thread Christopher Stone
On 06/01/2021, at 08:11, Howard mailto:leadwithlo...@gmail.com>> wrote: > I have a set of numbers. Within some of them is at least one number within > parentheses. I need to find all the lines containing numbers within > parentheses and extract those numbers. I also need to know which line they

Re: AppleScript to make window wide enough to not scroll?

2021-06-01 Thread Christopher Stone
weak it as yet. See the values for: gutterWidth gutterPad scrollbarWidth Adjust as needed. Enjoy. -- Take Care, Chris ------- # Auth: Christopher Stone { Kudos to Shane Stanley for his generous help with ASObjC }

Re: AppleScript to make window wide enough to not scroll?

2021-05-31 Thread Christopher Stone
On 05/30/2021, at 17:14, TJ Luoma mailto:luo...@gmail.com>> wrote: > Hi all, my name is TJ and I don't understand AppleScript, hence I come, > again, asking for help from those who do. > > I like to set "Soft Word Wrap" to "Window Width". > > But then I often find that I want to adjust the

Re: Two files in the same window

2021-05-27 Thread Christopher Stone
On 05/27/2021, at 11:16, Ron Catterall mailto:roncattera...@gmail.com>> wrote: > Heresy I know: BUT Supreme Text will do 2, 3 ...side by side same or > different files Hey Ron, Did you mean Sublime Text

Re: Handling dollar signs in search and replace

2021-05-27 Thread Christopher Stone
On 05/26/2021, at 21:42, Duncan Thorne mailto:duncan...@gmail.com>> wrote: > I just noticed that you too use T-E+. I sing the praises of it every day and > it's a big reason I'm still at Mojave, the last 32-bit compatible version of > the OS. I wonder what happened to Tom Bender, the guy behind

Re: Handling dollar signs in search and replace

2021-05-26 Thread Christopher Stone
On 05/25/2021, at 23:19, Duncan Thorne mailto:duncan...@gmail.com>> wrote: > Here's a sample line from my script where things go wrong: > tell front text window's text > > replace "2021 > > \$" using " \$" options {search mode:grep, case sensitive:false, starting > at top:true} -- the idea

Re: Handling dollar signs in search and replace

2021-05-25 Thread Christopher Stone
On 05/25/2021, at 19:17, Duncan Thorne mailto:duncan...@gmail.com>> wrote: > I'm stumped when it comes to reformatting a text line that begins with a $ > symbol. I want to replace the preceding line's line break, followed by the > new line's $, with a tab-$. > For instance: > ... 2021 > $0.23 >

Re: Finding & replacing text with Applescript

2021-05-25 Thread Christopher Stone
. I'm using the top table on this page as my test data: https://material.angular.io/components/table/examples <https://material.angular.io/components/table/examples> -- Best Regards, Chris ---- # Auth: Christopher Stone

Re: Line breaks: How to avoid them?

2021-05-25 Thread Christopher Stone
On 05/25/2021, at 13:58, Duncan Thorne mailto:duncan...@gmail.com>> wrote: > At the end of each of my find-and-replace applescript lines, for massaging > text, the result includes an unwanted line break. Is there a way to avoid > this? Hey Duncan, What's your script? Please show an example

Re: Finding & replacing text with Applescript

2021-05-24 Thread Christopher Stone
On 05/24/2021, at 21:44, Rich Siegel mailto:sie...@barebones.com>> wrote: > his is a good script. Some feedback: as a matter of best practices and future > proofing, avoid targeting windows (or elements of them). Hey Rich, Thanks for the feedback. Actually I often use this sort of construct:

Re: Finding & replacing text with Applescript

2021-05-24 Thread Christopher Stone
ed find/replace on the document. - You can add more replace statements as needed. Enjoy. -- Best Regards, Chris ---- # Auth: Christopher Stone # dCre: 2021/05/24 21:24 # dMod: 2021/05/24 21:29 # Appl: BBEdit # Task: Copy Safari Table to New

Re: Grep find/replace numbers

2021-05-24 Thread Christopher Stone
On 05/22/2021, at 19:22, severdia mailto:sever...@gmail.com>> wrote: > Yes, you're right. I got it working, but for future reference here's what I > was trying to do...I have many of these elements: > > Macbeth5.15.1.64 > > Both and contain act/scene/line number info and either one other >

Re: Grep find/replace numbers

2021-05-22 Thread Christopher Stone
On 05/22/2021, at 10:50, severdia mailto:sever...@gmail.com>> wrote: > I can't seem to figure out a way to find and replace some numbers using Grep. > This is what I have. > > 2.22.2.93 > > I have many cases where there are 3 numbers separated by two periods wrapped > in (like this: 2.2.309)

Re: Automator actions and Grep: Extracting lines

2021-05-19 Thread Christopher Stone
On 05/19/2021, at 08:30, Miguel Perez mailto:maperezespin...@gmail.com>> wrote: > On a daily basis I get an XML file. This file contains information about some > dossiers. I need to extract two elements from each dossier: (1) a URL to > download associated images, and (2) the dossier's name.

Re: Moving endnotes to inline

2021-05-14 Thread Christopher Stone
On 05/14/2021, at 14:04, Cooper Cavalier mailto:dstromber...@gmail.com>> wrote: > I have a text/html file which has thousands of endnotes. The file has the > inline endnote reference as [1], [2], [3], etc. which correspond to the > appropriate endnote. For the app publisher I am working for,

Re: Need help accessing multiple files' content at the same time

2021-05-08 Thread Christopher Stone
On 05/07/2021, at 17:10, @lbutlr mailto:krem...@kreme.com>> wrote: > On 07 May 2021, at 05:32, Christopher Stone <mailto:listmeister...@gmail.com>> wrote: >> # Find files, concatenate their contents, send result to BBEdit. >> find -E . -type f \( ! -n

Re: Need help accessing multiple files' content at the same time

2021-05-07 Thread Christopher Stone
#!/usr/bin/env bash # ----- # Auth: Christopher Stone # dCre: 2021/05/07 06:07 # dMod: 2021/05/07 06:07 # Task: Recursively Concatenate Files in the Front Finder Window. # Tags: @ccstone, @Shell, @Script, @Concatenate, @Fi

Re: Trying to remove all empty lines with this grep isn't working

2021-04-27 Thread Christopher Stone
On 04/26/2021, at 18:37, David J mailto:futurevint...@gmail.com>> wrote: > I'm trying to take out any empty lines from a document and can't figure out > why it's not working. > > I'm adding the text, then selecting all then adding grep > > ^\s*?\r > > then replace all with nothing. I'm

Re: find first x of a ',' delimited set of numeric strings?

2021-04-27 Thread Christopher Stone
On 04/26/2021, at 12:53, Joel Braverman mailto:joeljbr...@gmail.com>> wrote: > have a few thousand of these: > '199','627','1151','1249','1557','1558','1565','1689','1693','1711','1770','1780' > > I want to break them up into subgroups as our SQL system chokes at > 4000 > items in a query.

Re: Sorting transcripts

2021-04-26 Thread Christopher Stone
On 04/25/2021, at 00:34, @lbutlr mailto:krem...@kreme.com>> wrote: > On 19 Apr 2021, at 21:46, Christopher Stone <mailto:listmeister...@gmail.com>> wrote: >> use v5.010; > > Excellent script, but is this needed? And what are the consequences if you > have 5.

Re: Using BBEdit for markdown presentation?

2021-04-20 Thread Christopher Stone
On 04/20/2021, at 14:31, Tibor Páli mailto:palitiborlas...@gmail.com>> wrote: > Is TextsQuickLook.qlgenerator a script that you wrote, it is something > provided with Marked 2? > Tibor > >> I've got 3 apps on my system that include a Quick Look module for MarkDown. >> >>

Re: Using BBEdit for markdown presentation?

2021-04-20 Thread Christopher Stone
On 04/20/2021, at 12:23, Tibor Páli mailto:palitiborlas...@gmail.com>> wrote: > So, if I force to open an .md file with Safari, it opens it as an un-rendered > markdown text file, just like BBEdit. > > I think Chrome can render markdown files. I my install and try. Hey Tibor, Take a good look

Re: Sorting transcripts

2021-04-19 Thread Christopher Stone
Hey James, I'm late to this party, but I wanted to see how fun it would be to do the job in Perl. It turned out to be really simple: #!/usr/bin/env perl -0777 -nsw # # Auth: Christopher Stone # dCre: 2012/11/27

Re: How to grep a list of hyperlink to capitalise the words

2021-04-19 Thread Christopher Stone
On 04/19/2021, at 09:21, Francisco Hirsch mailto:listas.hir...@gmail.com>> wrote: > I should have made my question and example clearer. > I give a clearer example: > > 1. THIS SOFTWARE IS PROVIDED “AS IS”, WITHOUT > 2. PERMISSION IS GRANTED TO ANYONE TO USE THIS Hey Francisco, In my script

Re: How to grep a list of hyperlink to capitalise the words

2021-04-19 Thread Christopher Stone
On 04/19/2021, at 09:21, Francisco Hirsch mailto:listas.hir...@gmail.com>> wrote: > I should have made my question and example clearer. Hey Francisco, You can't do this job with a plain regular expression, because of the variability of the text. You'll have to use a script. How big is the

Re: How to grep a list of hyperlink to capitalise the words

2021-04-19 Thread Christopher Stone
On 04/19/2021, at 08:13, jj mailto:goo...@mixio.com>> wrote: > Here is a BBEdit Text Filter in PHP that capitalizes the text of hyperlinks. Hey JJ, Your script is failing when encountering punctuation: Original: 1. THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT 2. PERMISSION IS GRANTED TO ANYONE

Re: Can't launch BBEdit

2021-04-16 Thread Christopher Stone
On 04/16/2021, at 02:23, @lbutlr mailto:krem...@kreme.com>> wrote: > I added the BBEdit manual to my Books.app Library. Maybe I'll even remember > it's there the next time I am in desperate need, but I've been using BBEdit > for almost 20 years (yes, I'm a n00b) and this is the first time I

Re: Applescript - move to end of document

2021-04-14 Thread Christopher Stone
On 04/14/2021, at 11:28, Rich Siegel mailto:sie...@barebones.com>> wrote: > This should work: > > tell app "BBEdit" > activate > open file_path > select insertion point after last character of document 1 > end tell > > (It's best to always

Re: How to save out all my unsaved untitled files

2021-03-29 Thread Christopher Stone
want to verify.) -- Best Regards, Chris ---- # Auth: Christopher Stone # dCre: 2016/10/18 03:00 # dMod: 2021/03/29 10:33 # Appl: BBEdit # Task: Save unsaved text documents and shell documents to a date-stamped folder in the Finder. # : Then close those documents a

Re: GREP pattern to replace the first element with a tab

2021-03-21 Thread Christopher Stone
-- Best Regards, Chris #!/usr/bin/env perl -sw # --------- # Auth: Christopher Stone mailto:scriptmeis...@thestoneforge.com>> # dCre: 2012/11/27 08:12 # dMod: 2021/03/21 21:13 # Task: Create Indented Structure

Re: GREP pattern to replace the first element with a tab

2021-03-21 Thread Christopher Stone
roblem. I like JD's Perl solution for this. It's neat, clean, fast, and will handle big files with ease. If I was to use AppleScript I'd go this route: --- # Auth: Christopher Stone mailto:scriptmeis...@thestoneforge.com>> # dCre: 20

Re: Deleting a file via AppleScript

2021-03-21 Thread Christopher Stone
library gets rebuilt during the > compile-link workflow). Hey Alfredo, If you're content with doing this manually then you've got your answer, but I'll add to the plot anyway: # Auth: Christopher Stone # dCre: 2021/03/21 00:

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-18 Thread Christopher Stone
c location on my hard drive, but I'm done for the day. -- Best Regards, Chris -------- # Auth: Christopher Stone mailto:scriptmeis...@thestoneforge.com>> # dCre: 2021/03/18 21:10 # dMod: 2021/03/18 21:27 # Appl: BBEdit, Finder, System Events #

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-18 Thread Christopher Stone
script to open the last saved-state, or even one to provide a list of saved-states to pick from. There are other ways to do this of course, but let's start here. -- Best Regards, Chris ---- # Auth: Christopher Stone mailto:scriptmeis...@thestonefor

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-18 Thread Christopher Stone
Edit but saving it is left to the user.  If I was doing this for myself I'd auto-save the file to a specific location on my hard drive, but I'm done for the day.--Best Regards,Chris--------# Auth: Christopher Stone <scriptmeis...@thestoneforge.com&g

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-18 Thread Christopher Stone
let's start here.--Best Regards,Chris--------# Auth: Christopher Stone <scriptmeis...@thestoneforge.com># dCre: 2021/03/18 19:06# dMod: 2021/03/18 19:06 # Appl: BBEdit, Finder# Task: Create Aliases of All Files Open in BBEdit in a Date-Stamped Folder.

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-17 Thread Christopher Stone
On 03/17/2021, at 18:12, Bill Kochman mailto:wordweaver...@gmail.com>> wrote: > Of course, if someone here could write a simple script for me — ahem … Chris? > — which would open the designated files, and then minimize them to the Dock, > that would be great! :) Hey Bill, If my memory is

Re: Open a path in a text file

2021-03-17 Thread Christopher Stone
e or folder of the path selected in the front BBEdit window. All keyboard – no mouse needed. -- Best Regards, Chris ---- # Auth: Christopher Stone mailto:scriptmeis...@thestoneforge.com>> # dCre: 2021/03/17 18:02 # dMod: 2021/03/17 18

Re: BBEditExtras Website Update

2021-03-17 Thread Christopher Stone
On 03/12/2021, at 13:25, Clay Loveless mailto:c...@loveless.net>> wrote: > I don't know if you guys saw this, but https://www.bbeditextras.org/ > has undergone a very nice makeover sometime > in the past few weeks. > > It looked like a standard MediaWiki website

Re: Reverse order of lines

2021-03-08 Thread Christopher Stone
On 03/08/2021, at 11:14, Ted Stresen-Reuter mailto:tedmaster...@gmail.com>> wrote: > I know this can be done but am not finding the solution. Hey Ted, I'd use `gtac` in the shell myself, but I've got the GNU Core Utilities installed on my system. (Installs easily with MacPorts or HomeBrew.)

Re: How to open a page from the search list.

2021-02-12 Thread Christopher Stone
On 02/11/2021, at 16:44, Omar KN mailto:omne...@gmail.com>> wrote: > So when I perform a search, several pages are listed. Hey Omar, You mean when you perform a Multi-File search? > Now it happens I want to work **on one of those pages** from the search list, > how can I move it away from

Re: Regex question

2021-02-12 Thread Christopher Stone
On 02/12/2021, at 06:07, @lbutlr mailto:krem...@kreme.com>> wrote: > > I seem to be having a Brain Cloud¹ moment, but I am trying to match a pattern > like this: > > foo+(anything)# or foo# and NOT match > > foobar# > foobar+(anything)# > foob# > foob+(anything)# > etc > > foo+# is invalid

Re: Syntax checker- greyed out?

2021-02-11 Thread Christopher Stone
On 02/11/2021, at 14:35, Omar KN mailto:omne...@gmail.com>> wrote: > A page is open in BBEdit, but how to apply the Syntax checker, it is greyed > out? Hey Omar, Are you looking in the #! (shebang) menu? Look in Markup > Check > Document Syntax -- Take Care, Chris -- This is the BBEdit

Re: Colored mark in the line number column possible ?

2021-02-08 Thread Christopher Stone
On 02/08/2021, at 02:28, Peace Keeper mailto:maddi...@gmail.com>> wrote: > Also I could use the marker menu - but the effort is a bit high for that, > while my eyes are focused on the scrolling text. Hey There, Assign keyboard shortcuts to the Jump Point menu items. You can instantly set

Re: Wrap tag around URLs

2021-02-07 Thread Christopher Finazzo
ash "works", an identifier, and a name. Does it matter that this is a wholesale replacement of some lines? On Sunday, February 7, 2021 at 11:26:01 AM UTC-5 listmei...@gmail.com wrote: > On 02/07/2021, at 09:54, Christopher Finazzo wrote: > > I have a similar situation and am wondering if th

Re: Wrap tag around URLs

2021-02-07 Thread Christopher Stone
On 02/07/2021, at 09:54, Christopher Finazzo mailto:chris.fina...@gmail.com>> wrote: > I have a similar situation and am wondering if this would work... > > The Find pattern you described will indeed find all of the URLs in my > document, but if I want to replace each of them

Re: Wrap tag around URLs

2021-02-07 Thread Christopher Finazzo
I have a similar situation and am wondering if this would work... The Find pattern you described will indeed find all of the URLs in my document, but if I want to replace each of them with the same root URL, (So, instead of href="\0", I could use href="example.com") is this something I could

Re: Multi-File Extract: source file names in results list?

2021-01-20 Thread Christopher Stone
On 01/20/2021, at 09:44, jj mailto:goo...@mixio.com>> wrote: > 'File menu' > 'Export as text ...' usefully exports the results of a > multi-file search. > Maybe that's something you could use. Hey Folks, You can also copy and paste them from the multi-file search results window. -Chris --

Re: (Case 417198) Need to remove blank lines

2021-01-14 Thread Christopher Stone
On 01/14/2021, at 10:08, Bruce Van Allen mailto:b...@cruzio.com>> wrote: > Here’s Rich’s explanation of BBEdit’s behavior. > > I’m still not clear why Christopher seems to get different results. Hey Bruce, I figured it out. The original data sample from Howard has many tab

Re: Need to remove blank lines

2021-01-13 Thread Christopher Stone
g…” dialogue looks different from the image Christopher > posted. And the regex ^\s*$ does NOT work. Nor does ^\h*\$ . > > What versions are y’all using? > Hey Bruce, I'm using BBEdit 12.6.7 (412120) on my Sierra Mac and BBEdit 13.5.5 on my Mojave Mac. Both behave the same f

Re: Need to remove blank lines

2021-01-13 Thread Christopher Stone
On 01/13/2021, at 17:15, Tom Robinson mailto:barefootg...@gmail.com>> wrote: > Huh, I was going to say use Process Lines Containing, but search for ^$ and > select Grep and Delete matched lines — saves the copying & pasting step. > > But BBEdit isn’t finding the blank lines. Hey Tom, It works

Re: Need to remove blank lines

2021-01-13 Thread Christopher Stone
On 01/13/2021, at 16:28, Howard mailto:leadwithlo...@gmail.com>> wrote: > I have several hundred lines of data. Each observation occupies two lines; > however, in a number of places (not all) a blank line exists between > observations. For example, between the first data element, Max Scherzer,

Re: Get path to $SHELL for a Text Filter

2021-01-12 Thread Christopher Finazzo
in a filename, which defeats the purpose. On Tuesday, January 12, 2021 at 11:05:32 AM UTC-5 Patrick Woolsey wrote: > On 1/12/21 at 10:22 AM, chris@gmail.com (Christopher > Finazzo) wrote: > > >I am redoing a filter which sorts a list of items. Although > >which zsh

Get path to $SHELL for a Text Filter

2021-01-12 Thread Christopher Finazzo
I am redoing a filter which sorts a list of items. Although which zsh tells me the location of the executable is at /usr/local/bin/zsh, BBEdit says there is nothing on STDIN when I run this against a document. #!/usr/local/bin/zsh sort "$1" | uniq | sort -nr | bbedit Should this be in

Re: Global Preference for window width?

2021-01-11 Thread Christopher Stone
y look like this: {380, 45, 1440, 1196} ---- # Auth: Christopher Stone # dCre: 2021/01/11 18:03 # dMod: 2021/01/11 18:03 # Appl: BBEdit # Task: Place Bounds of Front Window on the Clipboard # Libs: None # Osax: None # Tags: @Applescript, @

Re: Global Preference for window width?

2021-01-11 Thread Christopher Finazzo
I was just thinking about this too, as I recently changed the default resolution on my machine (13" 2020 MacBook Pro). Tl;dr The default resolution of these machines in past few years isn't a perfect 1:1 map to the pixel density of

Re: Shifting Right/Left by Space

2021-01-04 Thread Christopher Stone
On 01/04/2021, at 23:55, @lbutlr mailto:krem...@kreme.com>> wrote: > Aha! That explains something that annoyed me and I didn't dig into to see > what the cause was a week or two ago. It was very confusing and I just threw > a regex hammer at it, but I think this might be what happened. I

Re: Shifting Right/Left by Space

2021-01-04 Thread Christopher Stone
> On 01/04/2021, at 06:37, Nestor Aguilera > wrote: > I don't see that if there is something that is not a space. The behavior of > Cmd-Shift-] seems different when the line only contains spaces. But it could > be my settings (I use no tabs and "auto expand

Shifting Right/Left by Space

2021-01-04 Thread Christopher Stone
Hey Folks, When you use Cmd-Shift-[ or Cmd-Shift-] BBEdit will shift the selection or the line the cursor is on by 1 space. The problem is that when you reach the number of spaces in the tab-width the spaces convert to a tab. I was thinking there was a way to prevent this and force the

Re: select entire line(s) and extract them

2020-12-29 Thread Christopher Stone
On 12/27/2020, at 08:21, Gabriel mailto:gabrielsfra...@gmail.com>> wrote: > ... but for some reason, the expression ^.+$ doesn't work: > it selects the whole text, not line by line, as I tried from the beginning. Hey Gabriel, I think you probably have the 'Show matches' checkbox in the Find

Re: select entire line(s) and extract them

2020-12-19 Thread Christopher Stone
ompletely BBEdit-Centric method using AppleScript: ---- # Auth: Christopher Stone # dCre: 2020/12/19 07:34 # dMod: 2020/12/19 07:34 # Appl: BBEdit # Task: Create Files in the Finder from Lines in the Front Document. # Libs: None # Osax: None # Tags: @Apples

Re: Need some help with multiple search-replace Apple script

2020-12-16 Thread Christopher Stone
"switch_header" = "Switch account"; > "automaticCheckinTo" = "Automatic check-in to %@"; > "shortcut_subtitle_checkin" = "Choose location"; Hey Mathias, Okay, that helps. Let's start with AppleScript, since that's the way you began yoursel

Re: Need some help with multiple search-replace Apple script

2020-12-14 Thread Christopher Stone
On 12/14/2020, at 07:38, Mathias mailto:math...@lightlabs.se>> wrote: > … Isn't the script expecting every row to begin with "login_infolabel" as it > is written right now? The variable names in the files are different on every > row. Or am i missing something obvious? Hey Mathias, Please

Re: LF vs CR vs CRLF option disappeared from status bar

2020-11-26 Thread Christopher Stone
On 11/26/2020, at 12:34, MediaMouth mailto:commun...@gmail.com>> wrote: > I've been using a feature in the status bar area (bottom of each window) of > BBEdit that controls whether how line feeds are encoded, whether LF, CR, or > CRLF etc. Hey There, Look in the Text Files section of

Re: Can I make the tab stops more noticeable?

2020-05-13 Thread Christopher Waterman
I believe the guide contrast slider effects the contrast of the tab stops as well. > On May 13, 2020, at 5:25 PM, TJ Luoma wrote: > > In my daily quest to get older and have my vision get gradually worse, > I've noticed that it's getting harder to notice the "Tab Stops" in > BBEdit documents >

Re: [ANN] BBEdit 13.1 (414031) pre-release

2020-05-13 Thread Christopher Waterman
I second that.  -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@barebones.com" rather than posting here. Follow @bbedit on Twitter: --- You received this message because you are

Re: BBEdit + AppleScript

2020-04-11 Thread Christopher Waterman
Try this: tell application "BBEdit" activate tell application "Finder" to set theFile to "Macintosh HD:Users:johnlove:Sites:www.lovetoteach.dev:Web_Site_Storage:lovesongforever.com:coronavirus:Coronavirus_Support/Compiled_Output_scss=css:compiled_corona_virus.html" open file theFile select text

Re: BBEdit + AppleScript

2020-04-11 Thread Christopher Waterman
I apologize I accidentally posted, then made a mistake. select text document 1 of poject window 1. -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@barebones.com" rather than posting here. Follow @bbedit on

Re: BBEdit + AppleScript

2020-04-11 Thread Christopher Waterman
So when I set this scenario up it works the way you want. Meaning the doc that was opened is selected in the left pane. But, you can manipulate what file is selected. I'm making at least one assumption. 1. This isn't a project style window where you have two panes in the left column. One

Re: Navigating between panes in a results browser

2020-03-30 Thread Christopher Waterman
Tab out of the the results, ctrl Tab back in. > On Mar 30, 2020, at 4:08 PM, Neil Faiman wrote: > > Are there keyboard shortcuts to move the focus between the results list pane > and the text editing pane in a search results browser window (or an error > browser window)? > > I want to do a

Re: Values for the download attribute

2020-03-15 Thread Christopher Finazzo
don't *think* he had a name inside anchors for examples of this behavior, so I assumed for the longest time it wasn't required. On Saturday, March 14, 2020 at 10:27:34 PM UTC-4, Neil Faiman wrote: > > On Mar 14, 2020, at 8:45 PM, Christopher Finazzo > wrote: > > > When c

Re: Synchronising location in md file with preview?

2020-01-24 Thread Christopher Finazzo
Hathaway wrote: > > Christopher, > > Can you remind me exactly what you’re trying to do? > > Is your goal to open a LaTeX file in BBEdit and select “Preview in BBEdit” > to see the PDF document generated by pdflatex? > > Thanks. > -sam > > On 24 Jan 2020, at 10:55,

Re: Synchronising location in md file with preview?

2020-01-24 Thread Christopher Finazzo
Still no luck. As I mentioned before, the Makefile is darn close to UNIX 101: A default rule which calls pdtlatex on the input file via redirection. I realize my request is closer to something that Preview.app should handle, but short of filing a bug w/ Apple - which has even less chance of

Re: Synchronising location in md file with preview?

2020-01-21 Thread Christopher Finazzo
I realize this is a pipe dream, but I would love to see something akin to Marked's ability to have a custom script handle the output and styling. In my case, I might run something like the following: % pdflatex $< This produces a PDF from the filename and BBEdit's Preview could update to

Re: Zettelkasten

2019-12-18 Thread Christopher H.
ollum. Best, Christopher On Wednesday, December 18, 2019 at 9:23:42 AM UTC-5, Vlad Ghitulescu wrote: > > Hey! > > EagleFiler <https://c-command.com/eaglefiler/> > >- let you organize the notes in one big bucket or a hierarchy of >subfolders >- can

Zettelkasten

2019-12-14 Thread Christopher H.
o so. The primary features required are related to automatic ID generation for the file as well as incorporation of wiki-style links. - Christopher H. -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@barebones.c

Re: GUI-style display of hexadecimal colours

2019-09-19 Thread Christopher Mackay
il.com (Christopher > Mackay) > wrote: > > >Is there any third-party plug-in that can insert some sort of inline > >representation, maybe a square in the represented colour, so I can > >tell what I’m looking at > > The Character Inspector palette will show a

GUI-style display of hexadecimal colours

2019-09-19 Thread Christopher Mackay
Hi, As a long-time BBEdit user — since version 3.5, I think, which shipped on floppies, and I haven’t missed any shipping versions! — I mainly use it to edit HTML & CSS (including Sass/SCSS). Something that’s really inconvenient, though, is having colours listed in hexadecimal, rbg, or rgba

Re: Delete rest of line starting with some character (how?)

2019-09-04 Thread Christopher Stone
On 09/04/2019, at 07:28, Gauvins mailto:gauvi...@gmail.com>> wrote: > I often want to delete extraneous characters surrounding the value of > interest. Can this be done in one fell swoop? Hey Gauvins, Most likely. Please provide one or more real-world examples. Faux examples and descriptions

Re: BBEdit wont run in free mode. Just quits.

2019-09-02 Thread Christopher Stone
On 09/02/2019, at 07:18, Brennan Young mailto:gurunann...@gmail.com>> wrote: > I am exploring Sublime and others, but I would prefer to stay with BareBones > if possible. I am being driven away! Contrary to the company tagline, this > actually sucks. Hey Brennan, Jeez, take a breath... This

Re: not able to install the Command Line Tools (BBEdit version 12.6.6 (412112, 64-bit, sandboxed), macOS Mojave 10.14.6)

2019-08-13 Thread Christopher Stone
On 08/12/2019, at 10:24, Vlad Ghitulescu mailto:v...@ghitulescu.de>> wrote: > So I opened the Terminal and navigate to /usr/local but there’s no directory > „share“ already there and I also don’t have the permission to create it (I am > logged in as a normal user): Hey Vlad, Rich's answer is

Re: strip trailing spaces

2019-08-01 Thread Christopher Stone
On 08/01/2019, at 11:28, Bruce Van Allen mailto:b...@cruzio.com>> wrote: > 1. Take a script like Chris’s that deletes end of line whitespace, and attach > it to the Save menu command (see manual for how to attach). Hey Bruce, Good idea. I didn't think of using an attachment script. That

Re: strip trailing spaces

2019-08-01 Thread Christopher Stone
On 08/01/2019, at 07:00, Nestor Aguilera mailto:nestoreaguil...@gmail.com>> wrote: > … after applying the filter you sent me it seems that (a) the file is not > saved, and (b) the trailing spaces **are** trimmed, which is exactly the > opposite of what I want (save the file with whatever white

<    1   2   3   4   5   6   7   8   9   10   >