Scripts

2021-06-28 Thread Paul G
do not have knowledge or time to do this myself. Any help much appreciated. Cheers, Paul -- 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

Re: Python3 Shebang Woes

2020-03-11 Thread Paul Gobble
kept throwing the interpreter off. I resaved the file as UTF-8 No BOM and everything worked just fine. - Paul > On Mar 11, 2020, at 7:01 PM, Rick Yentzer wrote: > > Paul, > > Have you tried to run that file from the command line? I wonder if BBEdit is > not finding pyt

Re: Shebang Line Woes

2020-03-06 Thread Paul Gobble
helps! > -sam > > On 6 Mar 2020, at 11:46, Paul Gobble wrote: > > Sam, > > You might have hit something. Below is the hexdump from the macOS system > (that doesn’t run) > > paul@Emonda Python-RFP-PDF-Scraper % hexdump -C ./python_test-01.py > ef bb

Re: Shebang Line Woes

2020-03-06 Thread Paul Gobble
Sam, You might have hit something. Below is the hexdump from the macOS system (that doesn’t run) paul@Emonda Python-RFP-PDF-Scraper % hexdump -C ./python_test-01.py ef bb bf 23 21 2f 75 73 72 2f 62 69 6e 2f 70 79 |...#!/usr/bin/py| 0010 74 68 6f 6e 33 0a 70 72 69 6e 74 28

Re: Shebang Line Woes

2020-03-06 Thread Paul Gobble
020 at 3:53 AM Paul Gobble > wrote: > > > > Steve, > > > > I took BBEdit out of the testing earlier this evening. I've been doing > all my editing with vim and attempting to run the script from the command > line. I've made the two test cases as s

Re: Shebang Line Woes

2020-03-06 Thread Paul Gobble
Sam, Thank you for your input. Yes, my Mac is running MacOS 10.15.3 Catalina. I tried the tests you suggested, see below. #!/usr/bin/python3 paul@Emonda Python-RFP-PDF-Scraper % ./python_test-01.py ./python_test-01.py: line 1: #!/usr/bin/python3: No such file or directory ./python_test-01.py

Re: Shebang Line Woes

2020-03-06 Thread Paul Gobble
u can do it > from the terminal in a "normal" way first, and then I'd suggest > emailing support. > > - Steve > > On Thu, Mar 5, 2020 at 7:23 PM Paul Gobble > wrote: > > > > I keep banging my head against this problem. To try something > diff

Re: Shebang Line Woes

2020-03-05 Thread Paul Gobble
hon3. The Raspberry Pi works perfect, the Mac can only muster "#!/usr/bin/python3: No such file or directory". What is different between the two systems? Where should I look? On Thursday, March 5, 2020 at 7:06:11 AM UTC-5, Paul Gobble wrote: > I'm using BBedit 13.0.5 on Mac Os

Re: Shebang Line Woes

2020-03-05 Thread Paul Gobble
Nestor, Thanks for your help, but my results were different. I set /use/bin/ to be first search path. paul@Emonda ~ % PATH=/usr/bin:/usr/local/bin:/bin:/usr/sbin:/sbin paul@Emonda ~ % env ... PATH=/usr/bin:/usr/local/bin:/bin:/usr/sbin:/sbin ... Then I asked the terminal what it knows about

Re: Shebang Line Woes

2020-03-05 Thread Paul Gobble
Rich, Here's what I get… Emonda:bin paul$ python3 --version Python 3.7.3 On Thursday, March 5, 2020 at 8:23:07 AM UTC-5, Rich Siegel wrote: > > On 3/4/20 at 11:25 PM, pa...@paulgobble.com (Paul Gobble) > wrote: > > > I try to execute this from the Run menu item

Re: Python3 Shebang Woes

2020-03-05 Thread Paul Gobble
LinuxDan The line of code you suggested is exactly the line I've been using, and I get #!/usr/bin/python3: No such file or directory But in the shell I'll set that it is there Emonda:bin paul$ whereis python3 /usr/bin/python3 I'm stumped. On Thursday, March 5, 2020 at 8

Shebang Line Woes

2020-03-05 Thread Paul Gobble
minal app and look around. Emonda:bin paul$ pwd /usr/local/bin Emonda:bin paul$ whereis python3 /usr/bin/python3 Emonda:bin paul$ whereis env /usr/bin/env Emonda:bin paul$ Both env and python3 are right where I said they were in the shebang line, but interpreter can't find them! Can

Python3 Shebang Woes

2020-03-05 Thread Paul Gobble
minal app and look around. Emonda:bin paul$ pwd /usr/local/bin Emonda:bin paul$ whereis python3 /usr/bin/python3 Emonda:bin paul$ whereis env /usr/bin/env Emonda:bin paul$ Both env and python3 are right where I said they were in the shebang line, but interpreter can't find them! Can

A simple codeless language module for Gradle build file type

2019-12-16 Thread Paul Furbacher
Hi, Just dropping by to say that I created a simple codeless language module for creating and saving new Gradle build files. Primarily, it was created so that I could save a new build file with the ".gradle" extension (BBEdit kept tacking ".txt" onto "build.gradle"!) You can get it here: ht

Re: BBEdit Error Message -108 When Processing Hugh Document with AppleScript

2019-09-06 Thread Paul Parker
The update indeed seems to have fixed the issue I had! I work on a few different computers and didn't realize this one was so out of date lol That said, after trying out Canonize, it's definitely a 100x better for doing exactly what I need - thanks for the tip!! Cheers, Paul

Re: BBEdit Error Message -108 When Processing Hugh Document with AppleScript

2019-09-06 Thread Paul Parker
ch Siegel wrote: > > On 9/6/19 at 5:28 PM, thepau...@gmail.com (Paul Parker) > wrote: > > >What I'm trying to do is Find and Replace about 3000 variables in a > >36,000 line document using an AppleScript. The below AppleScript > >works, however I get the following

BBEdit Error Message -108 When Processing Hugh Document with AppleScript

2019-09-06 Thread Paul Parker
I probably sound insane, but nevertheless, here it goes: What I'm trying to do is Find and Replace about 3000 variables in a 36,000 line document using an AppleScript. The below AppleScript works, however I get the following error message after about 800 variables every time: *error "BBEdit

Re: Would be nice to have option for bbedit command line tool to edit a *new* file

2019-06-25 Thread Paul Klissner
Oh, you're right. I thought I unaliased it. I did a which, and, ugh.. thanks. Paul On Tuesday, June 25, 2019 at 12:53:27 PM UTC-7, Rich Siegel wrote: > > On 6/25/19 at 3:49 PM, yourwe...@gmail.com (Paul Klissner) > wrote: > > >Doesn't work for me: > > &

Re: Would be nice to have option for bbedit command line tool to edit a *new* file

2019-06-25 Thread Paul Klissner
On Tuesday, June 25, 2019 at 12:46:24 PM UTC-7, Rich Siegel wrote: > > On 6/25/19 at 3:40 PM, yourwe...@gmail.com (Paul Klissner) > wrote: > > >With the macOS bbedit command line binary, I only see the option to > >open an *existing* file. Being able to also create a

Re: Would be nice to have option for bbedit command line tool to edit a *new* file

2019-06-25 Thread Paul Klissner
It also doesn't create a file that doesn't exist: imac:~/.include> bbedit test The file /Users/paul/.include/test does not exist. > -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@

Would be nice to have option for bbedit command line tool to edit a *new* file

2019-06-25 Thread Paul Klissner
With the macOS bbedit command line binary, I only see the option to open an *existing* file. Being able to also create a *new* file from the command line would be very helpful.. For example, I'm working on a project in the BBEdit GUI. The open dialog has the path default set to a fairly long p

[ANN] Erlang Language Module v1.4

2018-01-14 Thread Paul Guyot
bits). • [ENH] Updated completion lists for Erlang OTP 20 • [FEA] Added faceless helper application for reference lookups which either opens the man page in Terminal.app (if found) or performs a lookup on erlang.org in the default browser. Regards, Paul -- Semiocast

Re: Working with Typographic Characters Encoded as Entities

2016-06-06 Thread Paul R. Potts
Thank you Patrick! I will look into the "text factory" idea. I would love to be able to convert these as a batch job and then just look them over for places where the algorithms in SmartyPants may have failed. Paul On Saturday, June 4, 2016 at 10:56:44 AM UTC-4, Patrick Woolsey wrote

Working with Typographic Characters Encoded as Entities

2016-06-04 Thread Paul R. Potts
'm comfortable with the command line so I could even make a Makefile or something like that. Any suggestions? Thanks, Paul -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "supp...@barebones.com"

global tab expansion

2014-11-25 Thread Paul Colton
ting. How can I accomplish that? Thanks. Paul -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "supp...@barebones.com" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.co

[ANN] Erlang Language Module v1.3

2014-10-28 Thread Paul Guyot
dated completion lists for Erlang 17 • [FEA] Comments can now be spell-checked (BBEdit 11 addition). • [FEA] include and include_lib files can be opened from the popup (BBEdit 11 addition). • [FIX] Fixed algorithmic bugs revelead by Clang analyzer. Regards, Paul -- Semi

ctags generated tags file does not contain symbols from Dojo-based .js files

2013-08-24 Thread Paul Collins
I want cross-file symbol completion, Show Definition, and fast project search for a large Dojo-based project I'm starting to work on. Exuberant ctags in BBEdit sounds like it would work great, but... I can't get the functions in the project's .js files to appear in tags files, either when I use

BBEdit FTP Browser would benefit from a file name filter

2013-05-30 Thread Paul Klissner
While developing software, I edit files on remote ftp server frequently. Sometimes I visit a directory (in the FTP Browser) that has a combination of source code and binary files intermixed in the file list, yet I'd like to open *only*the source code files for editing. If the BBEdit FTB Browser

Re: Codeless Language Module & Statement blocks

2013-02-15 Thread paul . boerner
This is a very old post, but I'm trying to do something similar and haven't been able to figure it out. Any way to write a CLM that recognizes a few different Open Statement Block and Close Statement Block patterns? On Wednesday, April 21, 2010 8:41:20 PM UTC-7, Ben wrote: > > G'day all, > > I

Re: BBEdit No Longer Opens Files in Transmit FTP

2012-10-04 Thread Paul Wenzel
I'm having the same problem with Textmate, which I have been using in tandem with Transmit for YEARS. I'm also using OSX 10.8.2. It's completely disrupted my whole workflow. Super frustrating. On Wednesday, October 3, 2012 8:08:49 PM UTC-5, Patrick Woolsey wrote: > > At 20:09 -0400 10/03/2012,

Re: Text Substitution with "Language & Text"?

2012-09-16 Thread Paul Richardson
On 2012-09-16, at 11:26, Tom S. wrote: > I'm a relatively new BBEdit user and I've been enjoying it quite a but. > However, I am having one problem. I have a number of "text substitutions" > set up in System Settings that don't seem to work in BBEdit. For instance, > under "Language & Text"

Re: does anyone have a script to recover web site on mountain lion

2012-07-30 Thread Paul Guinnessy
Hi, You could try this too. http://clickontyler.com/blog/2012/02/web-sharing-mountain-lion/ Paul On Jul 29, 2012, at 1:13 AM, Steven wrote: > I upgraded to mountain lion. Not a nice cat for web developing. I can't > access my files on my sites folder anymore. Local host won&

Re: Multiple FTP/SFTP Browsers

2012-04-17 Thread Paul Richardson
t; annoying). Ideally I'd like if there were three FTP/SFTP browser windows open. Perhaps I misunderstand , but try 'File -> New -> FTP/SFTP Browser' 3 times, and then use the resulting browsers to connect to three different locations. Paul -- You received this m

tag maker paths

2011-10-25 Thread Paul Richardson
How do I persuade the new Tag Maker to give me root relative paths for img src attributes (for example) after choosing a file? I can't believe I'm expected to delete the absolute part of the url every time. Thanks for any enlightenment. Paul -- You received this message becau

Re: Extensive Horizontal Scroll?

2011-10-19 Thread Paul Schopf
I turn off soft wrap when working on python scripts (so I can copy whole indented blocks and use %paste to drop them in an ipython sesson). With my magic mouse, and moving to Lion, I am forever sliding the text off the screen. VERY annoying. I can see being able to scroll as far as the longes

Re: Rename while in project panel

2011-07-22 Thread Paul Beardsell
I can't see it either. Anyone have any clues? On Jul 21, 10:47 pm, Rob Claisse wrote: > Am I missing some thing obvious but I can see how to rename a file in > the project panel? I'd expect to down click on a file and it allow you > to rename it or atleast a option when you right click but can se

Re: Open files using search a la Textmate

2011-07-22 Thread Paul Grave
Thanks Jim, So what are the majority of BBEdit users doing? Do they navigate using the mouse to *quickly* find and open files? I like BBEdit, but lack of this feature is driving me nuts. On Jul 20, 2:33 pm, "Zajkowski, James" wrote: > On Jul 20, 2011, at 6:15 AM, Paul Grave wr

Open files using search a la Textmate

2011-07-20 Thread Paul Grave
I'm a Textmate user and I've just switched to BBEdit 10. There is a Textmate feature that I use all the time and I can't see any equivalent in BBEdit. In Textmate, rather than navigate through folders, I'd type CMD+T and start typing the name of the file that I'm interested in, Textmate shows a l

Re: BBEdit 10 cost

2011-07-19 Thread Paul Guinnessy
Considering the price drop and improvements, seems fair to me. Paul On Jul 19, 2011, at 1:11 PM, Keith wrote: > So let me get this straight. I've been a faithful customer for over > 15 years, buying every single BBEdit upgrade. And yet brand new users > can buy the product for

Re: Block formatting a long document

2011-07-19 Thread Paul Linsay
Thanks, the perl script did the trick. On Jul 18, 8:26 pm, Ronald J Kimball wrote: > On Mon, Jul 18, 2011 at 05:02:00PM -0700, Semper Fidelis wrote: > > If you literally mean "(?s)^Note:.*?(?=^RULE)", then you could achieve > > the effect you want by escaping all the regex characters in BBEdit's

Block formatting a long document

2011-07-18 Thread Paul Linsay
I have a very long text document that I need to format. There are multi-line sections of text that are captured by the regex (?s)^Note:.*?(?=^RULE) that I would like to shift to the right by one tab -- even one space would be fine. Every Note is different with an unpredictable number of lines.

Re: HTML5 Form Elements

2011-02-11 Thread Paul Burney
in Opera and Chrome, making the form unusable in those browsers. I would still recommend trying to use the new form elements, but I would also recommend testing them in a wide variety of browsers that your users will be using, and being prepared to scrap their use if necessary. -Paul Burney http:/

Re: converting to ascii in the scratchpad for a applescript/service

2010-10-27 Thread Paul Ingraham
actually reads: “replace the text to be processed with the results?”) hardly inspired my confidence in that direction … Anyhoo, thanks again. On Oct 27, 2:35 pm, John Delacour wrote: > At 13:50 -0700 27/10/2010, Paul Ingraham wrote: > > >I just don't seem to know how to convert

converting to ascii in the scratchpad for a applescript/service

2010-10-27 Thread Paul Ingraham
I can script BBEdit to convert text in BBEdit. I’m having trouble with making it into a service: getting text temporarily into the scratchpad, converting to ASCII there, returning it ... that has stumped me, for some reason. Halp? The infrastructure for getting text in and out is fine, I think.

Re: Select text after paste

2010-08-06 Thread Paul Richardson
t clipboard select (characters startingPoint thru (startingPoint + textLength - 1)) end tell end tell — This works with the current clipboard. Doing the same while cycling throught the clipboard set is going to be more difficult. Paul -- You received this message because you a

Re: Select text after paste

2010-08-06 Thread Paul Richardson
t clipboard select (characters startingPoint thru (startingPoint + textLength - 1)) end tell end tell ## This works with the current clipboard. Doing the same while cycling throught the clipboard set is going to be more difficult. Paul -- You received this message because you a

request: better CSS syntax coloring via new Language Module

2010-06-29 Thread Jean-Paul Lew
Hi everyone: Wouldn't it be possible to improve syntax coloring in BBEdit by remapping all CSS files to a custom-made CSS Language Module? When I say improve, I mean coming to par with the way Komodo Edit displays CSS. Here's a screenshot ('Underwater' color theme): http://radhanathswamiaudio.com

regenerating clippings

2010-03-30 Thread Paul Ingraham
. Seems like things went off the rails with my clippings sometime in the last few days ... but I haven’t updated BBEdit recently. Anybody have any idea what’s going on and how to stop BBEdit from re- populating that folder? Paul Ingraham, Mac user iMac 27” 3.33 GHz, 8MB RAM, 1TB HD + Apple 24

Re: How to Run a line of code in external program

2010-01-12 Thread Paul Burney
Hi Dennis, Your Run Shell Command script has been very, very helpful to me. Thank you so much for posting it! -Paul Burney -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email

bbedit@googlegroups.com

2009-11-09 Thread Paul Burney
of err_text I also prefer to change the "No errors" message to a simple "beep" command so that it's less intrusive. Hope that helps, -Paul Burney On Nov 8, 1:02 pm, Scout wrote: > Thanks, Jim! I had looked at that page but there was no indication > that the script

AppleScript problem with "choose color"

2009-05-07 Thread Paul Burney
add a default color like this: set new_color to choose color default color {3, 15000, 45000} It works fine in script editor but from BBEdit instead of getting the new color returned I get back the initial default color. Is this a bug or something I'm doing wrong? Thanks for a

Re: Is my description of ctags correct?

2009-04-06 Thread Paul Burney
ating. Thanks again for the great tip! -Paul Burney --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To post to this group, send email to bbedit@googlegroups.com To unsubscribe fro

Re: Is my description of ctags correct?

2009-04-03 Thread Paul Burney
: 1) Syntax Highlighting for user defined functions. Before they were just the plain text black but now they're a dark maroon. 2) The ability to click on any of my functions and look up its definition as you can in an IDE like Eclipse. Thank you so very much!!! -Paul Burney P.S. I also li

Re: PHP Formatting, Syntax Checking, Pasting Non-Breaking Spaces

2009-04-01 Thread Paul Burney
an error on line two because in some circumstances you don't need braces after an if statement. The parsing error happens on line 6 because that right closing brace is not valid if there isn't a left opening brace before it. You'll see similar issues where it's

Re: PHP Formatting, Syntax Checking, Pasting Non-Breaking Spaces

2009-03-31 Thread Paul Burney
ks well for pure PHP/JavaScript code but not for mixed PHP/HTML code. If you can get one of those other beautifiers working on the command line, you could adapt the very simple unix script version I have on my site for your purposes. Hope that helps. -Paul Burney --~--~-~--~~---

Re: Show SVN status in file list

2009-03-27 Thread Paul Richardson
locally, or isn't in the repository at all. SCPlugin <http://scplugin.tigris.org/> Its Finder badges show up in Project Lists Paul --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "BBEdit Talk&q

Re: error 22119 while editing via FTP

2009-02-23 Thread Paul Foraker
I'm getting the same intermittent error with 9.1.1 (2328). In previous versions, I could quit, come back and open the file from the server OK. That doesn't work with 9.1.1. However, I may have discovered a workaround. When the error occurs, dismiss the dialog, close the document, close the FTP b

Erlang BBEdit Language Module

2009-02-15 Thread Paul Guyot
://erlang-bblm.googlecode.com/files/ErlangBBLM-1.1.zip The module is open source and the source code is available under the MIT license on Google Code: http://code.google.com/p/erlang-bblm/ Regards, Paul --~--~-~--~~~---~--~~ You received this message because you

Re: BBedit and spaces

2009-01-15 Thread Paul Richardson
On 2009-01-15, at 22:53, Thrakazog wrote: > why I have I never seen this with textmate? Why > have I never seen this with ANY other app, than the occasional office > mishap? Why have I never seen it in BBEdit? BBEdit behaves for me quite well in space

Re: newbie grep question

2008-11-12 Thread Paul
Thanks, Jonathan. I had completely overlooked that (?s), struggling with strings of \s and \r. Paul On Nov 12, 2:55 pm, Jonathan Lundell <[EMAIL PROTECTED]> wrote: > On Nov 12, 2008, at 11:28 AM, Paul wrote: > > > Two full days of experimenting, reading, experme

Re: newbie grep question

2008-11-12 Thread Paul
Thank you, Patrick. It not only solves my problem but points me at the solution to some others *and* expands my knowledge for the future. Paul On Nov 12, 3:13 pm, Patrick Woolsey <[EMAIL PROTECTED]> wrote: > Paul <[EMAIL PROTECTED]> sez: > > >Two full days o

newbie grep question

2008-11-12 Thread Paul
http://validator.w3.org/docs/help.html#faq-flash";>FAQ item on valid flash. I expect that if somebody provides the solution I'll be slapping my forehead and going "Duh," but I'm stuck. Any generous souls out there? Paul --~--~-~--~~--

Re: Jumping to frequently used directory in disk browser

2008-11-11 Thread Paul Richardson
r favourite disk browser directories in a folder at ~/ then opt-cmd-N, (which starts at ~/) will get you to them quicker than restarting BBEdit. If you see what I mean ... (??) Paul --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Defaulting to specific directory

2008-11-04 Thread Paul Richardson
directory in BBEdit's Startup Items. Paul --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this