On 21 Oct 2021, at 12:47, TJ Luoma mailto:luo...@gmail.com>>
wrote:
> I'd like to be able to select a word, press a key, and have all instances of
> that word be surrounded by {brackets} I wondered if there was a more
> native way to accomplish this
#!/usr/bin/perl
while (<>) {
On 24 Oct 2021, at 05:55, Sonic Purity wrote:
> ...i have a Big Picture question about whether perhaps my entire approach is
> off base.
It is. There are several languages that are good for text editing, and
AppleScript is not among them. The conciseness of your desiderata below should
On 28 Sep 2021, at 19:04, Kim Mosley wrote:
> I'm looking for a grep pattern to put this data into 5 columns (though there
> is no data for the "tags" column). Hopefully I can paste it into Excel. Now
> it just goes into one column.
Save this script as xx.pl in
"~/Library/Application
On 21 Mar 2021, at 08:39, samar wrote:
> The reason you cannot reproduce the error with your file may be that the
> second column is limited to three different texts (B1, B2, and B3) whereas in
> mine there are more (up to B7 here, but the script should also work with more
> than seven):
On 20 Mar 2021, at 16:33, samar mailto:arnet...@bluewin.ch>> wrote:
> ...when I run the text filter, not all occurrences of the first element get
> replaced when necessary:
>
>
>
> Here a tab should also replace A1 in line 5, A2 in line 12, and A3 in line 18.
That makes no sense to me. If
On 20 Mar 2021, at 11:30, samar wrote:
> I'm looking for something which I assume is pretty easy to accomplish with
> GREP but I fail to see how.
>
> I have a large text file with entries sorted in this way:
>
> ...That is, the first element is replaced by a tab character *if* the first
>
On 13 Oct 2020, at 06:54, Mathias af Jochnick wrote:
> i'm trying to make 2 scripts to convert between IOS and Android i18n formats
> to work. I've gotten Android -> IOS to work, but the other way around is a
> challenge.
>
> Basically, for each row in a file i want to convert
>
On 12 Oct 2020, at 15:13, Greg Raven wrote:
> This looks slick, but it doesn't run for me. I get an error on save, and the
> (path to desktop as string) seems not to resolve to anything.
That’s very odd! I am running MacOS 10.13.6. Hard to imagine they have made
that go away; but try
> On 28 Feb 2020, at 16:00, I wrote:
>
> Replace all with \1 \2
…or Extract, of course!
--
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:
On 27 Feb 2020, at 21:43, 'anotherhoward' via BBEdit Talk
wrote:
> I have a list of names in this format:
>
> B.J. Surhoff\surhob.01
> Bobby Bonilla\bonilbo01
>
> I want to extract the last names and separately extract what comes before
> each last name
> (which could be just the first
On Mon, 20 Jan 2020 at 17:01, 'Iain Houston' via BBEdit Talk
wrote:
> I feel sure that this is a fairly common roundtrip pattern: BBEdit ->
> AppleScript -> Shell script -> AppleScript -> BBEdit.
Here's an example. You can also send arguments to an existing shell
script rather than have the
On 9 Apr 2015, at 09:56, WordWeaver777 wordweaver...@gmail.com wrote:
Despite trying a mixture of the above encodings and fonts, I haven't been
able to get the CP437 characters to display properly in a BBEdit text file.
Open the file normally; then do menu: File::Reopen Using Encoding… and
On 15 Dec 2014, at 18:05, Rich F li...@viaduct-productions.com wrote:
I’d like to have BBEdit receive text that I have parked in a Ruby variable
coming out of open-uri. Is there a way to create a new document that’s
unsaved, then copy that variable to that document? I’m assuming I’ll use
On 10 Jul 2014, at 00:56, Jason Finley jasonrichardfin...@gmail.com wrote:
How to concatenate/merge/combine text files into one text file:
--Create a new blank document.
--Edit -- Insert -- File Contents...
--Select ALL the files you want to concatenate/merge/combine together.
--Save the
On 26 Jan 2014, at 00:59, Tim Hill drtimh...@gmail.com wrote:
Just finished a text filter (in Lua) that cleans up source files for me
(mostly comment formatting). Works great :)
However, if the filter does nothing (that is, the output text is the same as
the input text), BBEdit always
On 4 Jan 2014, at 09:33, Christopher Stone listmeis...@suddenlink.net wrote:
In a Text Filter can you grab STDIN do stuff and prevent STDOUT from
rewriting the front document?
Alternatively is there a way to pipe the selection or whole text from the
front document in a Unix Script (not a
On 17 Dec 2013, at 03:55, Lawrence San lawrence...@gmail.com wrote:
...I'm using BBEdit 9.6.3 with OS X 10.6.8 (Snow Leopard). Your mention of
soft-wrapped confuses me a little; are you saying that hard-wrapping is a
precondition for suppressing the printing of folded text, in BBEdit 10?…
I am experiencing a very annoying new “feature” with the latest system software
and the latest BBEdit beta : if I type a search term/pattern in a browser and
then return to BBEdit, I find this pattern has been replaced in the BBEdit Find
dialogue; and vice versa. This is especially annoying
On 29 Nov 2013, at 16:33, Rich Siegel sie...@barebones.com wrote:
This has been an intrinsic behavior of the OS since OS X 10.0, back in March
2001. It isn't exactly new. Corollary: failure to take prior notice doesn't
constitute recent onset. :-)
Ya, but I really don’t think I have been
On 29 Nov 2013, at 17:06, Rich Siegel sie...@barebones.com wrote:
Yes: follow the directions in the help.
OK. So the default is YES/1, but there is no default until I set it. Got it.
Great metaphysics!
JD
--
This is the BBEdit Talk public discussion group. If you have a
feature
On 25 Oct 2013, at 12:11, perdox perryk...@gmail.com wrote:
...I would like to find, in one Search and replace ALL of the space
id=,space rid= bits and add a prefix that is to be the number used in
the file name. So for example, I would end up with
list id=P35-L1
list id=P35-L2
ref
On 19/8/13 at 01:22, lawrence...@gmail.com (Lawrence San) wrote:
I tried to make the process more efficient by simply adding paste
like this:
set live search bar visible to true
paste
...but it didn't work; I still need to command-v. Why is that?
I tried that too, and you’d think it
On 19/8/13 at 20:50, lawrence...@gmail.com (Lawrence San) wrote:
I often use Quick Find in BBEdit 9.6.3. I'd like to be able to use a
keystroke to transfer whatever text I've selected in my document (usually a
single word) into the Quick Find dialog, but I can't find one...
If you run this
On 13/8/13 at 18:39, fschietteca...@gmail.com (François
Schiettecatte) wrote:
I want to sort the files in a project Collection, is there a way to do
that automatically or do I need to do it the old fashioned way ?
*How* do you want to sort them?
I usually want to sort them according to
(John Delacour)
To: bbedit@googlegroups.com
On 12/7/13 at 09:34, j...@kilroyjames.co.uk wrote:
People have been asking for the Currently Open Documents window
to be resizeable for about two years...
Are you aware of the Windows palette
(Menu—Window::Palettes::Windows)? Each open project listed
On 1/8/13 at 20:20, maarten.sn...@xs4all.nl (Maarten Sneep) wrote:
-- Not poorly documented: just AppleScript.
on run
tell application BBEdit
set my_sel to (selection of text of text document 1) as text
end tell
say my_sel
end run
Or, more simply:
tell application BBEdit to
On 29/7/13 at 03:27, b...@cruzio.com (Bruce Van Allen) wrote:
Substituting in for John's one-liner, but NOT reducing blank lines:
perl -pi.bak -e s~\015?\012|\015~\n~g
Yes, sorry—I should have been in bed when I posted that!
JD
--
This is the BBEdit Talk public discussion group. If you
On 28/7/13 at 22:53, st...@shodgson.org.uk (Steve Hodgson) wrote:
Given a folder of text files is it possible to search which one
are of a particular line break type - say Mac Classic (CR)?
If your directory is “~/temp/textfiles/”, run this script in
Terminal to change carriage return to
On 29/7/13 at 21:06, rar...@banet.net (Robert A. Rosenberg) wrote:
One warning. If you want to change CR to LF (as in this suggestion),
you have to watch out for the CR+LF Line ending since just changing CR
to LF will make this LF+LF.
This will change _any_ line ending to \n :
perl -pi.bak
On 12/7/13 at 09:34, j...@kilroyjames.co.uk wrote:
People have been asking for the Currently Open Documents window
to be resizeable for about two years...
Are you aware of the Windows palette
(Menu—Window::Palettes::Windows)? Each open project listed in
this resizable palette has a
On 9/7/13 at 16:51, joncli...@gmail.com (Jon) wrote:
I'm editing an epub with the current release of BBEdit. I'd
like to educate all of the quotes in the text, but I don't want
to educate all of the quotes in the accompanying HTML. Any
solutions? Thanks.
Here’s a text filter I wrote a long
On 18/6/13 at 19:44, kaa...@rgb.ee (Kaarle Kannelmäe) wrote:
i have a problem i cannot solve myself..
i'm using Textwrangler and i need put new time values:
You have 20 lines and only 18 replacements, so your last two
lines will be unchanged if you use the following text filter.
You can
I asked:
A simple AppleScript script with a keyboard shortcut would do it,
but where do you want to save the file——in the .projectd or
elsewhere?
On 23/5/13 at 16:18, jer...@cowgar.com (Jeremy Cowgar) wrote:
When using the content menu on a given directory, it defaults to the
selected
On 23/5/13 at 11:44, jer...@cowgar.com (Jeremy Cowgar) wrote:
Is there a keyboard shortcut for the context menu item New Text
Document... ?
A simple AppleScript script with a keyboard shortcut would do
it, but where do you want to save the file——in the .projectd
or elsewhere?
JD
--
This
On 20/5/13 at 11:53, dom.obr...@gmail.com (Dom O'Brien) wrote:
1,4
I want to add a _ to the first number (1_) and repeat to
the value of the next number. so 1,4 would end up being
1_1
1_2
1_3
1_4
Here's a Perl text filter that will do it:
#!/usr/bin/perl
while (){
if (/(\d+),(\d+)/) {
On 14/5/13 at 01:29, b...@cruzio.com (Bruce Van Allen) wrote:
[Watch out for email line-breaking -- ...
Mailsmith sends format=flowed, so there is no danger of that.
JD
--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem,
On 13/5/13 at 21:16, chris.fina...@gmail.com (Christopher
Finazzo) wrote:
In an ideal scenario, I wouldn't have to use modifier keys
(Command, Option, etc.) at all in order to invoke the clipping.
It just seems odd to me that autocomplete is pigeon-holed
into this relatively limited way of
On 3/5/13 at 03:38, adejesus...@gmail.com (a de jesus) wrote:
Is there anyway to have two panels in BBEdit 10 so that my HTML
file is one panel and CSS file in another panel. With both
panels in one single window?
No. But the script below will set the two documents side by
side. This works
On 30/4/13 at 20:48, diony...@gmail.com (Aethon) wrote:
Anyone else having this problem? It remains stuck on Conselas
for BBedit 12 but I want to change it. And after selecting a
different font, nothing happens.
Are you either clicking the Select button or double-clicking in
the default
On 28/4/13 at 01:49, krem...@kreme.com (LuKreme) wrote:
I knew I was going to hate python, and I do. My script was
failing because there were spaces indenting a line instead of a tab.
I finally, after much struggling, ended up with this:
#!/usr/bin/python ...
Now, one other thing, if I
On page 66 of the newly downloaded manual I read:
To create a stationery pad, click the Save As Stationery checkbox
when saving the file from BBEdit. Alternatively, you can change any
document into a stationery pad in the Finder by clicking the
Stationery Pad checkbox in the document’s Get
On 28/4/13 at 20:13, krem...@kreme.com (LuKreme) wrote:
I have a file that looks like this:
123456 /path/to/file name/with spaces
with several thousand lines.
I want to run a text-factory that gets the number, runs it
through a bit of python code, and replaces it with the result
without
On 28/4/13 at 21:32, I wrote:
Use a Text Filter, not a factory. I don't know Python, but the
process will be very similar to the Perl routine below...
Well, not really :-/ Here's a simple example of a Python text
filter, the result of a 5 minute crash course in this weird language:
On 23/4/13 at 20:14, wesleyrh...@gmail.com (Wesley Hall) wrote:
I'm using 10.5.3 and saving a copy of a file to another location is
stripping out the extension of the name.
I can't reproduce this with 10.5.4
JD
--
--
You received this message because you are subscribed to the
BBEdit
On 19/4/13 at 18:51, listmeis...@suddenlink.net (Christopher
Stone) wrote:
I got tired of typing 'pwd'enterCmd-Z to check the working
directory of a worksheet, so I wrote a script to add/update it
as a comment on line one. It attempts to restore the cursor
location or selection.
Hello
On 14/4/13 at 01:55, john.hor...@gmail.com (jh) wrote:
I'd like to be able to run a filter on the document I'm working on.
Save the script/filter in
~/Library/Application Support/BBEdit/Text Filters/
Open the Text Filters palette from the Window menu.
Optionally set a key short-cut for the
On 08/04/2013 01:49, Rich F wrote:
I have a file I'm editing where a list of filenames I need to shove into an
array. I thought this would be a great reason to write something up that
shoves this list into an array format, or close enough to edit by hand
afterwards.
I am thinking since it's
On 03/04/2013 22:05, Fritz Anderson wrote:
My BBEdit (a 10.5.3 public beta) doesn't have that key equivalent. You
must have added it.
Well I suppose you know how to do the same? Preferences::Menus Shortcuts
JD
--
--
You received this message because you are subscribed to the
BBEdit Talk
On 01/04/2013 20:18, Christopher Stone wrote:
When I'm testing or learning new things I often duplicate a worksheet to create
a save-point, so I don't foul up code I've gotten working (and won't remember
accurately a few hours hence). I may also alter my data files to fit the
direction I'm
On 19/03/2013 04:41, Oliver Taylor wrote:
** Incremental find
I completely agree with this one. Incremental find that's good enough, and
quick enough to use, for skipping around lighting-fast inside a paragraph is
something I sorely miss from other editors. I've written my own scripts for
On 23/02/2013 11:29, David Quigley wrote:
Running BBEdit 10.5.2, File|Open now defaults to Enable: All BBEdit
Documents. How can I change the default to Enable: Everything? As
far as I can tell this is a new behavior as of a recent update. I
often open text files with odd extensions and this
On 15/03/2013 22:48, Michael Wiik wrote:
For legacy issues all our html is vanilla ascii. To find non-ascii my
workflow has been:
zap gremlins, replace with code
search for the resulting hex codes
use each in a find/replace to replace all such occurrences with their
mnemonic or numeric
On 14/03/2013 18:04, Thomas Hart wrote:
..Whenever I have a window open in the Finder, and I want to view the list of
documents in the Desktop, I click on the Desktop icon in the sidebar, and
BBEdit opens...
Try dragging the Desktop icon out of the side-bar and then drag in a new
one from
On 06/03/2013 15:58, Nick wrote:
Thanks, that did exactly what I was looking for. But, I realized I
also need to do this for anchor tags with relative links, such as:
a href=/xxx//zzz.shtmlordinateur de bureau/a
A text filter something like this should do everything you want
On 05/03/2013 23:13, Scott wrote:
One quick follow-up. I like the idea of using scripts and textfilters.
eremita's script example was perl, I see. I have no experience with
perl, but I am guessing you can just script in BBEdit and save to a
textfilter folder that BBEdit uses...?
I suggest
On 05/03/2013 04:54, Scott wrote:
Let's say I have a URL like this:
*http://www.mysite.com/section/subsection/Z3245678a34/*
And I want to turn it into an html link with the last element as the
highlighted text:
*a
On 01/03/2013 21:06, Patrick Woolsey wrote:
At 12:45 -0700 03/01/2013, LuKreme wrote:
If BBEdit did not have a Hard Wrap function and you had to recreate it
via a text factory, would it be possible?
Not with a text filter, though one could do this with a suitable script.
No, Patrick, this can
On 01/03/2013 22:03, I wrote:
No, Patrick, this can be done with a text filter. For example:
#!/usr/bin/perl
use strict;
use Text::Wrap;
$Text::Wrap::columns = 72;
my @text;
while () { push @text, $_ }
print wrap('', '', @text);
or more simply
#!/usr/bin/perl
use strict;
use Text::Wrap;
On 26/02/2013 23:29, Cerebus wrote:
Sometimes, though not very often, I want to justify plain text. When I want to do this, I use vim since as far as I know there isn't a way to do it in BBedit.
BBEdit is a text editor and to talk of justifying plain text is a
contradiction in terms. There
On 24/02/2013 19:34, Oliver Taylor wrote:
On Feb 24, 2013, at 2:55 AM, ctfishman mfisc...@casciac.org
mailto:mfisc...@casciac.org wrote:
Is it possible to pass parameters to a script being run as a text filter?
No. You'd have to use an AppleScript to prompt for parameters and pass
those
On 16/02/2013 00:04, Nick wrote:
...When I save a file, DW would save the file and write a copy to that
dev server...
It sounds as if you want a Menu Script. You can read about these in the
manual and then ask the list if there are difficulties.
JD
--
--
You received this message
On 13/02/2013 02:32, Jim Harvey wrote:
I do some grep searching once in a while, but this one has me stumped. I have
some large text files, and I need to find the nth occurrence of a string (or
pattern).
Here's an AppleScript script that finds the 4th occurrence of do in
the front
On 08/02/2013 02:17, Zephyr Mays wrote:
...I'd like to select/highlight something like:
These_Underscores_Need_To_Be_Spaces
Hit a keyboard shortcut to end up with: These Underscores Need To Be
Spaces
In almost all such cases a text filter is the solution. If you save the
script below in
On 30/01/2013 20:20, Marek Stepanek wrote:
And how you apply this ruby script to the selected text? I have no idea,
how ruby is working ...
It works just as a Perl script works, as a filter
Here a little perl-filter. Adapt the first paragraph number to your
needs: my $para_nr = sprintf(%3s,1)
On 27/01/2013 19:11, Steve Hodgson wrote:
Is it possible to change the appearance of the font used for
previewing files? I don't particularly want to style it with CSS -
just reduce the size and switch to sans serif.
Is this really too much trouble?!
style
On 24/01/2013 23:26, Adam Engst wrote:
BBEdit and perl FTW! cheers...
As a postscript to this thread I think it’s worth emphasizing how
wonderfully simple it is to use Perl RE in text filters by explaining
just what is happening. BBEdit has set things up so that the input to
the text
On 16/01/2013 17:32, Adam Engst wrote:
(This paragraph is an example of lazylinks - the two links should be
numbered 1 and 2.)
[*]: http://tidbits.com/
[*]: https://leanpub.com/
Adam,
I’m afraid I find AppleScript impossibly verbose for this kind of simple
text munging. I don’t know what
On 12/12/2012 15:07, Patrick Woolsey wrote:
For the record, BBEdit 10.5 darkens the icons of modified files in the
file list and file nav popup ...
Hello Patrick,
In the latest beta there is no sign _at_all_ that the document is unsaved.
JD
PS. (Case 256307) Of course, you are right.
On 11/12/2012 04:33, Troy Gillette wrote:
We have several million lines of code from the last ten years. C, C++,
Objective-C, Ruby, Python, XML, numerous others... Nothing in our
process cares whether anything ends in LF or CR+LF, but BBEdit does.
I think, in contrast to some others, that
On 17/10/2012 23:10, Oliver Taylor wrote:
Is it possible to test the found text*of* nextChar as regex?
If you can point me in the right direction, I'd be grateful.
*tell* /application/ BBEdit
--look at the next character
*set* nextChar*to* *find*. searching in/text/*of* *front* /text
On 12/12/2012 15:07, Patrick Woolsey wrote:
For the record, BBEdit 10.5 darkens the icons of modified files in the
file list and file nav popup instead of displaying an unsaved dot as
prior versions did. (We made this change as part of the process of
adding Retina support, and it also follows
On 13/12/2012 18:18, cancerinform wrote:
By some reason I did something and now whenever I open bbedit a little
window appears with a scrollbar telling me that bbedit state is
restored. This results in eliminating the rest of my harddrive that I
only see the bbedit window. I cannot reverse
On 13/12/2012 22:09, Oliver Taylor wrote:
On Dec 13, 2012, at 1:59 PM, John Delacour johndelac...@gmail.com
mailto:johndelac...@gmail.com wrote:
This results in eliminating the rest of my harddrive that I only see
the bbedit window.
That do you mean by this?...
What do _you_ mean
On 11/12/2012 21:39, vaboro wrote:
When I tried to run Python script from the Shebang menu I got the
following message:
usr/bin/python: No such file or directory
I supposed BBEdit had tried to find Python executable in
usr/bin/python directory.
I spent couple of hours trying to find out
I have the Chinese conversion items checked in Keyboard Shortcuts
preferences, ie. Convert Text from Simplified to Traditional and vice
versa, according to context, but the items are not available in the
Services submenu in BBEdit. Can someone please tell me if it’s possible
to have them show
On 21/11/2012 17:18, Jean-Baptiste wrote:
When running a text factory, the open document is being modified.
Is there a way to have the results sent to the scratchpad and leave
the document untouched?
I would like to keep the original document unmodified.
Here’s how I would do it in the case
If I am editing a BBEdit AppleScript script in Script Editor and run it
from BBEdit, the next time I edit the script I am told it has been
modified [by BBEdit’s having run it], and I have to ‘Save anyway’. This
is not a great inconvenience but I’m curious as to why it should happen.
JD
--
On 16/11/2012 02:16, Steve Kalkwarf wrote:
Does the script have any properties? Steve
None declared as such.
JD
--
--
You received this message because you are subscribed to the
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To
On 31/10/2012 16:40, LuKreme wrote:
I want to grep for words in a file that contain 'a' 'b' and 'c' in any order. I
also want to find words that contain two c's, even if not together (so access
and chance).
I might even want words with two c's AND a and b, again in any order.
I feel like I
On 24/10/2012 05:59, G.Shaw wrote:
I'm new to BBEdit. I'm trying to do the following:
Input:
ShipAddress1884 MapleAve SE/ShipAddress1
ShipAddress2 /
ShipCityCumming/ShipCity
ShippingPriorityGround/ShippingPriority
...
1. Reorder the above such that it's ShippingName,
On 24/10/2012 01:50, Rich Siegel wrote:
In this case I would actually recommend using a script attachment
point, rather than trying to hook on to a menu item; you'll get better
behavior.
Rich,
Could you please post a working example of Document.scpt containing the
two handlers
On 23/10/2012 10:43, Stuart Gilson wrote:
How do you refer this perl script to a file or files?
The script takes the whole text of the front document as STDIN (input)
unless you have made a selection, in which case it takes the selection.
« while () { ... » means, in effect, while reading
On 23/10/2012 19:47, Bruce Van Allen wrote:
The other part of the answer is that you save the script with a
memorable name in a text file and put the file in
~/Library/Application Support/BBEdit/Scripts. It will then show up in
BBEdit's Scripts menu (the one that looks like a scrolling sheet
On 22/10/2012 17:22, Patrick Woolsey wrote:
That will not work, and as a general reminder, please do *not* modify
anything within the application package as doing so is liable to
create problems.
Certainly! I was not suggesting modifying anything in the application
package. It was a
On 20/10/2012 04:32, Frances Cherman wrote:
Thanks, Patrick. Can anyone else definitively say whether or not it's
possible to customize the palettes?
Whether or not this would work, is for the BB people to tell you, but in
some apps it would... The file below:
On 05/10/2012 20:52, François Schiettecatte wrote:
Dumb question, have you checked that the script has execute permissions?
chmod 755 myScript.pl
I’ve explained why the scripts weren’t working, and it has nothing to do
with permissions. A script does not need to be executable in this
I installed Mountain Lion yesterday, probably the worst decision I ever
made! Some of Apple’s own main apps now seem to be buggier than they
were 5 years ago with no useful new features.
None of my UNIX filters in BBEdit are now working.
For example this script
#!/usr/bin/perl
while () {
On 05/10/2012 21:54, Doug McNutt wrote:
At 20:43 +0100 10/5/12, John Delacour wrote:
None of my UNIX filters in BBEdit are now working.
For example this script
#!/usr/bin/perl
while () {
print * $_
}
should put an asterisk at the beginning of each line in the front document but
nothing
On 5 Oct 2012, at 16:18, jmichel jmi.mig...@gmail.com wrote:
I have a file consisting of groups of lines (unknown number of lines in each
group).
Each line begins by a 6 digit number, followed by an unknown sequence of
words and numbers.
Consecutive lines starting with the same number
I'd like to be able to change ListDisplayFont on the fly using a
script, shell or AppleScript.
The nearest I've got to anything useful is setting the preferences
window to open with the Appearance pane selected...
defaults -currentHost write com.barebones.bbedit
At 09:10 -0400 30/9/12, Rich Siegel wrote:
It's not currently possible; what problem are you trying to solve?
It's not so much a problem as a missing convenience. I'm building a
functional application within an application using the TextWrangler
interface together with a custom Application
At 10:34 -0400 27/9/12, Rich Siegel wrote:
I want to make a new disk browser showing the contents of a certain folder.
set p to POSIX file /Users/siegel/Library/ -- or some other folder
tell application BBEdit
open p
end tell
Enjoy,
I certainly shall! Thank you, Rich.
--
--
You
I want to make a new disk browser showing the contents of a certain
folder. I am having no success. Here's one routine I've tried:
set _dir to alias x:y:z -- any alias is a file that _exists_!
tell application BBEdit
set _dbw to make disk browser window
At 21:20 -0700 4/8/12, Steven wrote:
I am trying to remove a date string from an SQL file.
I have ,'\d\d\d\d\-\d\d\-\d\d \d\d:\d\d:\d\d', as the string I wish
to replace with ,
It does not like that.
I assume I have to \- because - is a character grep uses
The search pattern on the
At 12:11 -0700 22/6/12, Emmanuel Décarie wrote:
I want this:
// if ($operateur == !) {
// if ($reponses_utilisateur[$T][$CT] != $reponse) {
// return 1;
// } else {
// return 0;
// }
// }
Try this text
At 11:46 -0700 3/6/12, Oliver Taylor wrote:
I'm trying to write an applescript that emulates vim's go to first
non-whitespace character on the line.
I'm also building it to be smart about skipping lists (since most of
my writing is prose).
Try this:
tell application BBEdit
set _line
At 06:55 -0700 9/3/12, LuKreme wrote:
On 08 Mar 2012, at 21:57 , Mark Christian wrote:
can get the filename of the front-most document in BBEdit, but I'm
afraid I just don't grok AppleScript.
set docName to name of text window 1
That will get you the name of the window.
This will
At 19:23 -0700 9/3/12, LuKreme wrote:
On 09 Mar 2012, at 09:21 , John Delacour wrote:
At 06:55 -0700 9/3/12, LuKreme wrote:
can get the filename of the front-most document in BBEdit, but I'm
afraid I just don't grok AppleScript.
set docName to name of text window 1
At 22:20 -0800 3/3/12, blue-orange wrote:
This sounds very helpful JD. Can you give me few pointers how to save
and run the Text Filter please?
Save the script as Perl, with UNIX line endings, UTF-8 etc., in
~/Library/Application Support/BBEdit/Text Filters
Run it from the Text
At 00:19 -0500 3/3/12, Robert A. Rosenberg wrote:
I have two HTML files. One is a list that I want to use as links to
the other file. Is there any way I can automatically edit the list
file to create unique ids for the URL#id tag and corresponding
id=tag in the other file?
Provided you
1 - 100 of 246 matches
Mail list logo