Pretty Print for Shell Scripts

2023-06-20 Thread commie pinkofag
I'm new to BBEdit and haven't been able to puzzle out how to format shell scripts. I'm mostly interested in re-indenting, but syntax checking and whatnot wouldn't be unwelcome. I'd appreciate being pointed in the right direction. -- This is the BBEdit Talk public discussion group. If you

Re: Scripts

2021-06-28 Thread Christopher Stone
On 06/28/2021, at 04:35, Paul G mailto:p...@profile-music.com>> wrote: > Would anyone be up to writing a couple of basic scripts for me to use in > BBEdit? > If so let me know price. > > I just need a script to alphabetically sort lines within certain parameters > insid

Re: Scripts

2021-06-28 Thread Patrick Woolsey
On 6/28/21 at 5:35 AM, p...@profile-music.com (Paul G) wrote: [...] I just need a script to alphabetically sort lines within certain parameters inside a text doc and another to replace certain text within a text doc. I know this may be simple but do not have knowledge or time to do this

Re: Scripts

2021-06-28 Thread MediaMouth
> On Jun 28, 2021, at 05:48, Paul G wrote: > > Hey All. > > Would anyone be up to writing a couple of basic scripts for me to use in > BBEdit? > If so let me know price. > > I just need a script to alphabetically sort lines within certain parameters >

Scripts

2021-06-28 Thread Paul G
Hey All. Would anyone be up to writing a couple of basic scripts for me to use in BBEdit? If so let me know price. I just need a script to alphabetically sort lines within certain parameters inside a text doc and another to replace certain text within a text doc. I know this may be simple

.bbpackage with scripts for working with R

2021-05-11 Thread Rainer Krug
Hi I started compiling a .bbpackage with scripts for working with R files (thanks jj). You can find it at https://github.com/rkrug/R_bbpackage Any feedback is welcome. Cheers, Rainer -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical

Re: More order in Scripts menu

2021-05-11 Thread jj
Hi Rainer, >From the *excellent* BBEdit User Manual;-) *menu Help > User Manual* *Organizing Scripts* *Items in the Scripts menu and Scripts palette are displayed in alphabetical order by default, but you can force them to appear in any desired order by including any two characters fo

More order in Scripts menu

2021-05-11 Thread Rainer Krug
Hi I have some scripts in the script menu which contains general scripts and scripts for specific languages. What is the easiest way of sorting these? I am using at the moment e.g `R)` for R sripts. but is there something else? Can I define dividers in the Scripts menu? Can I define submenus

Writing persistent include scripts in Swift

2021-02-15 Thread Neil Faiman
is powerful, but I can no longer even read some of those scripts, much less maintain them. Swift promises to be, among other things, a scripting language, so more recently, I've been experimenting with writing persistent include scripts in Swift. This is generally a pleasant experience, but some

Re: Assign shortcuts to scripts

2020-08-25 Thread Patrick Woolsey
On 8/25/20 at 8:33 AM, rai...@krugs.de (Rainer Krug) wrote: I did it, but I can't remember how - how can I assign keyboard shortcuts to scripts in BBEdit? Do I have to go through System Preferences, or can I do it within BBEdit? You can assign key shortcuts to top-level scripts via

Assign shortcuts to scripts

2020-08-25 Thread Rainer Krug
I did it, but I can't remember how - how can I assign keyboard shortcuts to scripts in BBEdit? Do I have to go through System Preferences, or can I do it within BBEdit? Thanks,. Rainer -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical

Re: Folding for bash scripts?

2020-02-10 Thread Lois Bennett
I had not responded to this because I had been working on python. Now I am back to working with 500 line bash scripts again, and I must say that though, yes, you can fold manually like that. It is not very helpful when you are trying to write code. The little "indicators" in the gutt

Re: com.apple.quarantine on bash scripts

2019-10-31 Thread Patrick Woolsey
On 10/30/19 at 7:42 PM, mschamsch...@gmail.com (Marius Schamschula) wrote: I could swear that I was asked to set this when I installed earlier versions of BBEdit (when Sandbox support got added). I've found that this setting has been reset after updating to BBEdit 13.0.2). Annoying!

Re: com.apple.quarantine on bash scripts

2019-10-30 Thread Marius Schamschula
I could swear that I was asked to set this when I installed earlier versions of BBEdit (when Sandbox support got added). I've found that this setting has been reset after updating to BBEdit 13.0.2). Annoying! On Wednesday, October 30, 2019 at 8:22:36 AM UTC-5, Rich Siegel wrote: > > On 10/30/19

Re: com.apple.quarantine on bash scripts

2019-10-30 Thread Marius Schamschula
This happened on a Mojave machine. Yes, it also has zsh. However, I've been using bash for 25 years, and Apple's choice isn't my own. There are some subtle incompatibilities between bash and zsh. All my machines have the current GPL 3 version of bash installed via MacPorts. I do have a

Re: com.apple.quarantine on bash scripts

2019-10-30 Thread Robert Lockwood
Apple Catalina as using ZSH now, if you’re using Catalina try that. On Wed, Oct 30, 2019 at 05:50 Marius Schamschula wrote: > This morning, I updated a /bin/bash script, only to find > > marius$ mpup -u > /Users/marius/Development/MacPorts/ports/bin/mpup: /bin/bash: bad > interpreter: Operation

Re: com.apple.quarantine on bash scripts

2019-10-30 Thread Rich Siegel
On 10/30/19 at 8:46 AM, mschamsch...@gmail.com (Marius Schamschula) wrote: > This morning, I updated a /bin/bash script, only to find > > marius$ mpup -u > /Users/marius/Development/MacPorts/ports/bin/mpup: /bin/bash: bad > interpreter: Operation not permitted

com.apple.quarantine on bash scripts

2019-10-30 Thread Marius Schamschula
This morning, I updated a /bin/bash script, only to find marius$ mpup -u /Users/marius/Development/MacPorts/ports/bin/mpup: /bin/bash: bad interpreter: Operation not permitted A quick search found: marius$ xattr -l mpup com.apple.TextEncoding: UTF-8;134217984 com.apple.quarantine:

Folding for bash scripts?

2019-07-24 Thread Lois Bennett
Hi, I would really like folding and a function pull down for my bash scripts. Is that possible? Am I just missing something? Thanks -- The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e

Functions pulldown menu for bash scripts?

2019-06-24 Thread Lois Bennett
I am not sure what I am doing wrong. I have a several bash scripts with many functions but I am not getting the function pulldown menu for them like I do with my python scripts. The #!/bin/bash is present but not helping. Can any one help? Thanks. Peace, Lois -- The information

Re: Running python scripts in a virtual environment

2019-05-12 Thread David Rostenne
Good question! Have you tried using a unix worksheet to run the script from? That works for me, although i’m not sure if it is respecting the virtualenv or not. Cheers, Dave > On 12-May-2019, at 11:34 AM, Jan Erik Moström wrote: > > Is it possible to run a Python script directly from within

Running python scripts in a virtual environment

2019-05-12 Thread Jan Erik Moström
Is it possible to run a Python script directly from within BBEdit (like using the standard "Run" command) but executing in a python virtual environment? = jem -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email

Re: Do not delete compiled python scripts on quit?

2019-02-23 Thread Gauvins
Interesting suggestion (write routine) but I wouldn't know where to start and the "inconvenience" is minimal. (And yes, files are saved to disk, such that I could switch in terminal and run from there. Just more convenient to hit cmd-R from BBEdit) So, if a future BBEdit release were to check

Re: Do not delete compiled python scripts on quit?

2019-02-22 Thread Christopher Stone
On 02/22/2019, at 17:28, Gauvins mailto:gauvi...@gmail.com>> wrote: > RUN in terminal aborts if BBEdit quits. From what I understand, quitting > BBEdit purges compiled scripts on quit, which makes perfect sense. But I like > to run scripts once I *think* I am done. Some take

Do not delete compiled python scripts on quit?

2019-02-22 Thread Gauvins
RUN in terminal aborts if BBEdit quits. From what I understand, quitting BBEdit purges compiled scripts on quit, which makes perfect sense. But I like to run scripts once I *think* I am done. Some take several minutes to complete, so I usually start some other small task. After a while I may

Re: BBEdit TeX integration scripts

2018-08-21 Thread Maarten Sneep
Hi, > On 20 Aug 2018, at 13:01, Nestor Aguilera wrote: > > Hi Maarten: > > First of all, thank you very much for sharing your work. I have been using > your scripts for a long time, working with TextWrangler and then BBEdit with > TexLive, and occasionally with TexShop.

BBEdit TeX integration scripts

2018-08-20 Thread Nestor Aguilera
Hi Maarten: First of all, thank you very much for sharing your work. I have been using your scripts for a long time, working with TextWrangler and then BBEdit with TexLive, and occasionally with TexShop. I made a few changes through the years (with the invaluable help of Michael Sharpe), so I

BBEdit TeX integration scripts

2018-08-19 Thread Maarten Sneep
Hi, I’ve update my BBEdit TeX integration scripts following the sunsetting of TextWrangler. Yes, I’m not using the script every day. Note that the scripts are still unsupported. Details can be found here: https://msneep.home.xs4all.nl/latex/ Kind regards, Maarten -- This is the BBEdit Talk

Re: Upgrading and Apple Scripts

2017-09-19 Thread Christian Boyce
lem. You just have to change the way your write the script. c > On Sep 19, 2017, at 12:33 PM, Chuck Dingee <chuck.din...@gmail.com > <mailto:chuck.din...@gmail.com>> wrote: > > I have been using BBEdit for many years, and it has been quite a few since I > have upgr

Re: Upgrading and Apple Scripts

2017-09-19 Thread Oliver Boermans
have been using BBEdit for many years, and it has been quite a few since > I have upgraded. I am using version 9.6.3 (ancient, I know). I love it, and > I figure if it ain't broke don't fix it. But I am thinking of upgrading now > and want to make sure my old Apple Scripts will work. (Obviou

Upgrading and Apple Scripts

2017-09-19 Thread Chuck Dingee
I have been using BBEdit for many years, and it has been quite a few since I have upgraded. I am using version 9.6.3 (ancient, I know). I love it, and I figure if it ain't broke don't fix it. But I am thinking of upgrading now and want to make sure my old Apple Scripts will work. (Obviously I

Re: Environment variables in BBEdit scripts

2016-08-20 Thread Oliver Boermans
False alarm, I was running an less than current version of BBEdit (probably a pre-release). Variables come through fine with current release (and current pre-release). Face palm… On 21 August 2016 at 08:55, Oliver Boermans wrote: > > On 20 August 2016 at 23:36, Christopher

Re: Environment variables in BBEdit scripts

2016-08-20 Thread Oliver Boermans
On 20 August 2016 at 23:36, Christopher Stone wrote: > #! /usr/bin/env bash > echo -e "BBEdit Environment Variables\n"; > echo -e " > Doc Name: $BB_DOC_NAME > Doc Path: $BB_DOC_PATH > Doc Mode: $BB_DOC_MODE > Doc Language: $BB_DOC_LANGUAGE > Doc Sel Start:

Re: Environment variables in BBEdit scripts

2016-08-20 Thread Christopher Stone
On Aug 20, 2016, at 07:24, Oliver Boermans <boerm...@gmail.com> wrote: > If I execute this script from the scripts menu in BBEdit: > … > Should I be seeing BB_DOC_NAME, BB_DOC_PATH and friends in the list that is > output? > > I have been attempting to use the

Environment variables in BBEdit scripts

2016-08-20 Thread Oliver Boermans
If I execute this script from the scripts menu in BBEdit: #!/bin/sh printenv Should I be seeing BB_DOC_NAME, BB_DOC_PATH and friends in the list that is output? I have been attempting to use these variables in a script, but they are returning nothing, i.e. #!/bin/sh echo $BB_DOC_NAME What

Best Tools for Editing Bash Scripts

2016-05-16 Thread Nello Lucchesi
I'm editing (FreeBSD/FreeNAS) bash scripts in BBEdit (11.5.2) and hoping to find ways to augment the included "Unix Script" language selection. For example, I'd like to add these capabilities: - Code Folding - Finding function and variable declarations Is there any way to make BBEdit

Re: document won't save when using apple script menu scripts

2015-12-02 Thread Steve Samuels
Try logging in and out. On Tuesday, December 1, 2015 at 8:56:49 AM UTC-5, Stephen wrote: > > Hello, > > I created an Apple script, named it File•Save and placed it in Menu > scripts. The script runs fine when I save a document but the actual file > doesn't ever save

Re: document won't save when using apple script menu scripts

2015-12-01 Thread Maarten Sneep
> On 01 Dec 2015, at 04:41, Stephen <windows4solita...@gmail.com> wrote: > > Hello, > > I created an Apple script, named it File•Save and placed it in Menu scripts. > The script runs fine when I save a document but the actual file doesn't ever > save. Is this int

document won't save when using apple script menu scripts

2015-12-01 Thread Stephen
Hello, I created an Apple script, named it File•Save and placed it in Menu scripts. The script runs fine when I save a document but the actual file doesn't ever save. Is this intended functionality or am I doing something wrong? -- This is the BBEdit Talk public discussion group. If you have

Re: GPG encrypt/decrypt scripts?

2013-08-25 Thread SMcCandlish
I'm pretty sure this simple shell script would fail for any content that contained a double-quote character, since it would prematurely end the $1 structure. External shell scripts for BBEdit as of this writing don't use this sort of $1 logic anyway, and consequently don't pass anything

Re: GPG encrypt/decrypt scripts?

2013-08-25 Thread Tim Gray
On Aug 24, 2013 at 09:09 PM -0700, SMcCandlish wrote: I'm pretty sure this simple shell script would fail for any content that contained a double-quote character, since it would prematurely end the $1 structure. External shell scripts for BBEdit as of this writing don't use this sort of $1

Re: Scripts to send command files to Stata/R selected text to Stata

2013-07-01 Thread Steve Samuels
There are other scripts around. For R, see: https://files.nyu.edu/jmb736/public/projects/R.html On Friday, June 28, 2013 5:40:28 PM UTC-4, Steve Samuels wrote: Stata 13 changed its scripting behavior and broke the previous scripts. I've revised them to work with any Stata version

Re: Scripts to send command files to Stata/R selected text to Stata

2013-06-29 Thread Neil Tiffin
Excellent, I did not know these existed and they will make my R work much easier. Neil On Jun 28, 2013, at 7:35 PM, Steve Samuels sjsamu...@gmail.com wrote: I should have added that Ben Hulley was the author of the originals of these scripts. See the header material

Scripts to send command files to Stata/R selected text to Stata

2013-06-28 Thread Steve Samuels
Stata 13 changed its scripting behavior and broke the previous scripts. I've revised them to work with any Stata version. The scripts are written for StataMP; if you use a different flavor, substitute its name. The Send_to_Stata_or_R script checks the file extension (do for Stata, R or r for R

Re: Scripts to send command files to Stata/R selected text to Stata

2013-06-28 Thread Steve Samuels
I should have added that Ben Hulley was the author of the originals of these scripts. See the header material of the Send_to_Stata_or_R for some other sources of that script. I modified or added only about six of 58 lines in Ben's original Send_Selection_To_Stata

Re: Unix scripts not working in 10.8.2

2012-10-06 Thread John Delacour
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

Re: Unix scripts not working in 10.8.2

2012-10-06 Thread Doug McNutt
At 21:53 +0100 10/6/12, John Delacour wrote: 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

Unix scripts not working in 10.8.2

2012-10-05 Thread John Delacour
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 () {

Re: Unix scripts not working in 10.8.2

2012-10-05 Thread François Schiettecatte
Dumb question, have you checked that the script has execute permissions? chmod 755 myScript.pl François On Oct 5, 2012, at 3:43 PM, John Delacour johndelac...@gmail.com wrote: I installed Mountain Lion yesterday, probably the worst decision I ever made! Some of Apple’s own main

Re: Unix scripts not working in 10.8.2

2012-10-05 Thread Doug McNutt
At 20:43 +0100 10/5/12, John Delacour wrote: 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

Re: Unix scripts not working in 10.8.2

2012-10-05 Thread François Schiettecatte
Good point about the semi-colon, I missed that (too much python). FWIW it is good practice to use : #!/usr/bin/env perl rather than: #!/usr/bin/perl At the start of your script, so that perl can be found if it is relocated. François On Oct 5, 2012, at 4:54 PM, Doug McNutt

Re: Unix scripts not working in 10.8.2

2012-10-05 Thread John Delacour
happens at all with this script or any other. You might need a semicolon after the print, But it is the last line between {}s so whonoze? I said _none_ of the UNIX scripts were working, not that I doubted my ability to write a simple Perl script! In fact a semi-colon in this position is redundant

Seeking Scripts to Format PHP and SQL

2012-03-07 Thread Nello Lucchesi
Can anyone recommend any scripts that could be used within BBEdit to format (pretty print) PHP or SQL? -- 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 unsubscribe from

Unable to change keyboard shortcuts for scripts

2012-02-15 Thread Rick Yentzer
Not sure when this occurred but I'm currently unable to change the keyboard shortcuts that I have assigned to some scripts that format markup. They are greyed out in the preferences menu. *version* 10.1.2 (3141) Thanks, Rick -- You received this message because you are subscribed

Re: Installing Attachment Scripts

2011-09-08 Thread Christopher Stone
Hey Alex, On Sep 07, 2011, at 16:48, Alex Popescu wrote: 3. when saving the script make sure it is saved as: Script with the Run only option checked That only means that you can't reopen and edit the script. It would make no sense for BBEdit to require run-only scripts in this context

Installing Attachment Scripts

2011-09-07 Thread Alex Popescu
Document.documentDidSave.scpt and saved it into my ~/Dropbox/Application Support/BBEdit/Attachment Scripts folder. But the script doesn't seem to be triggered at all. I've removed most of the code in the original and just left inside: on documentDidSave() display dialog BBEdit on documentDidSave buttons

Re: Installing Attachment Scripts

2011-09-07 Thread Alex Popescu
that triggers makeTags. As per the manual, I've named the script Document.documentDidSave.scpt and saved it into my ~/Dropbox/Application Support/BBEdit/Attachment Scripts folder. But the script doesn't seem to be triggered at all. I've removed most of the code in the original and just left inside

Re: Question on attaching scripts to events

2011-08-11 Thread Maarten Sneep
On Wed, 10 Aug 2011 12:18:08 -0700 (PDT), binaryghost wrote: I was interested in writing a script that would be called when and image is dropped on to the document and was wondering if there was a way to attach a script to such an event? Possibly a documentReceivedImage or something like that.

Re: Question on attaching scripts to events

2011-08-11 Thread Don Southard
Wow you guys have given me some interesting ideas to consider. Basically my goal was to adapt a script I have already wrote that takes an image and uploads it to my S3 account, then it figures out the scaled down dimensions to fit it nicely on my blog, and builds a Wordpress formatted html img tag

Re: Question on attaching scripts to events

2011-08-11 Thread oliver
On Thursday, August 11, 2011 6:26:12 AM UTC-7, binaryghost wrote: I just thought if I could call that from a drag-n-drop event like in Textmate and have it print the tag right in the document, I could save my self a step or two. It is entirely possible to write a script that does all this -

Re: Question on attaching scripts to events

2011-08-11 Thread Don Southard
Ok, thanks for the info! Sent from my iPhone On Aug 11, 2011, at 11:28 AM, oliver mrolivertay...@gmail.com wrote: On Thursday, August 11, 2011 6:26:12 AM UTC-7, binaryghost wrote: I just thought if I could call that from a drag-n-drop event like in Textmate and have it print the tag right in

Question on attaching scripts to events

2011-08-10 Thread binaryghost
I was interested in writing a script that would be called when and image is dropped on to the document and was wondering if there was a way to attach a script to such an event? Possibly a documentReceivedImage or something like that. Thanks. -- You received this message because you are

Re: Scripts that report information about selected text?

2011-08-10 Thread Bruce Van Allen
On 2011-08-10, rowen wrote: I'd want to write a script that reports the sum and mean of a column of numbers that are selected using column selection. I have a Python text filter that does this now with normally selected text (working on the first number found on each line), but it writes the

Re: Scripts that report information about selected text?

2011-08-10 Thread John Delacour
At 11:00 -0700 10/08/2011, rowen wrote: I'd want to write a script that reports the sum and mean of a column of numbers that are selected using column selection. I have a Python text filter that does this now with normally selected text (working on the first number found on each line), but it

Re: Question on attaching scripts to events

2011-08-10 Thread Christopher Stone
On Aug 10, 2011, at 14:18, binaryghost wrote: I was interested in writing a script that would be called when and image is dropped on to the document and was wondering if there was a way to attach a script to such an event? Possibly a documentReceivedImage or something like that.

git scripts

2011-08-02 Thread isao
I thought I'd share a few git-related scripts I have assigned to BBEdit keyboard shortcuts https://github.com/isao/shell/tree/master/bbedit/Scripts - git-bbdiff.sh - bbdiff current file vs index - git-pull.sh - git pull for repo corresponding to current file - gitx.sh - launches gitx

Re: Setting keyboard shortcuts for nested scripts

2011-07-20 Thread Chris
/Application Support/BBEdit/Scripts/ __ Hey Chris, You don't mention what version of BBEdit you're using. In 9.x you have to open the Script Palette window and set them from there. In 10.0 you can do this from

Setting keyboard shortcuts for nested scripts

2011-07-19 Thread Chris
I'm not seeing how it's possible to remap keyboard shortcuts for items located in folders inside ~/Library/Application Support/BBEdit/Scripts/ -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email

Re: Setting keyboard shortcuts for nested scripts

2011-07-19 Thread Christopher Stone
On Jul 19, 2011, at 15:26, Chris wrote: I'm not seeing how it's possible to remap keyboard shortcuts for items located in folders inside ~/Library/Application Support/BBEdit/Scripts/ __ Hey Chris, You don't mention what

GPG encrypt/decrypt scripts?

2010-06-05 Thread Adam Turetzky
Hi, Is anyone aware of scripts for GPG encrypt/decrypt text using BBEdit? I'm thinking this could be something neat to use with the scratchpad for pasting into other applications. Thanks, Adam -- You received this message because you are subscribed to the BBEdit Talk discussion group

Re: GPG encrypt/decrypt scripts?

2010-06-05 Thread Tim Gray
On Jun 05, 2010 at 02:19 AM -0500, Adam Turetzky wrote: Is anyone aware of scripts for GPG encrypt/decrypt text using BBEdit? There are Applescripts for this for Mailsmith. I'm sure you could adapt those to BBEdit pretty easily. Alternately, you should be able to write a shell script

Re: GPG encrypt/decrypt scripts?

2010-06-05 Thread Adam_T
On Jun 5, 10:28 am, Tim Gray tg...@125px.com wrote: On Jun 05, 2010 at 02:19 AM -0500, Adam Turetzky wrote: Is anyone aware of scripts for GPG encrypt/decrypt text using BBEdit? There are Applescripts for this for Mailsmith.  I'm sure you could adapt those to BBEdit pretty easily

Re: Run Unix scripts without changing content?

2009-08-17 Thread Carlton Gibson
On 14 Aug 2009, at 11:23, skillzero wrote: Is there a way to run a non-filter Unix script that has info about the current window? I'd like to be able to run a Unix script with access to BB_DOC_PATH, BB_DOC_SELSTART, BB_DOC_SELEND, etc., but I don't want to modify the text of the window (as a

Re: Run Unix scripts without changing content?

2009-08-17 Thread Maarten Sneep
On Mon, 17 Aug 2009 09:14:44 +0100, Carlton Gibson wrote: You can use AppleScript from within your shell script to query BBEdit for the information you need. No, you can't. BBEdit does not process apple events while a unix command is running. Trying to do so will result in a timeout error

Re: Run Unix scripts without changing content?

2009-08-17 Thread Carlton Gibson
On 17 Aug 2009, at 09:36, Maarten Sneep wrote: On Mon, 17 Aug 2009 09:14:44 +0100, Carlton Gibson wrote: You can use AppleScript from within your shell script to query BBEdit for the information you need. No, you can't. BBEdit does not process apple events while a unix command is

Re: Run Unix scripts without changing content?

2009-08-17 Thread Maarten Sneep
On Mon, 17 Aug 2009 09:49:56 +0100, Carlton Gibson carlton.gib...@gmail.com wrote: On 17 Aug 2009, at 09:36, Maarten Sneep wrote: On Mon, 17 Aug 2009 09:14:44 +0100, Carlton Gibson wrote: You can use AppleScript from within your shell script to query BBEdit for the information you need.

Re: Run Unix scripts without changing content?

2009-08-17 Thread Carlton Gibson
On 17 Aug 2009, at 10:05, Maarten Sneep wrote: On Mon, 17 Aug 2009 09:49:56 +0100, Carlton Gibson carlton.gib...@gmail.com wrote: On 17 Aug 2009, at 09:36, Maarten Sneep wrote: On Mon, 17 Aug 2009 09:14:44 +0100, Carlton Gibson wrote: You can use AppleScript from within your shell

Keyboard shortcuts for custom scripts

2009-06-13 Thread chewy
I have an applescript under the Scripts menu... how do I assign a keyboard shortcut to it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups BBEdit Talk group. To post to this group, send email to bbedit

Re: Keyboard shortcuts for custom scripts

2009-06-13 Thread John Delacour
At 21:48 -0700 12/6/09, chewy wrote: I have an applescript under the Scripts menu... how do I assign a keyboard shortcut to it? Do menu: WindowPalettesScripts and use the Set Key button. Jd --~--~-~--~~~---~--~~ You received this message because you

Re: BBRails Toolkit: Scripts to make Ruby on Rails Developers Happy

2009-02-24 Thread Corey Ehmke
Thanks, Dennis. And with regard to the syntax coloring, those colors are actually the Gruber Dark set from BBColors. On Feb 23, 1:23 am, Dennis argent...@mac.com wrote: On Feb 22, 2009, at 4:02 PM, Corey Ehmke wrote: Over the past few months, I've been working on a number of scripts

Re: BBRails Toolkit: Scripts to make Ruby on Rails Developers Happy

2009-02-22 Thread Dennis
On Feb 22, 2009, at 4:02 PM, Corey Ehmke wrote: Over the past few months, I've been working on a number of scripts for BBEdit to streamline my Ruby on Rails development process. Thanks for all your contributions, Corey. I'm sure both the Git integration and your BBRails Toolkit will come

Re: Syntax coloring problem in python scripts

2008-12-03 Thread Semper Fidelis
I did what Dennis did and got exactly what he got -- all comments displayed in gray. On Dec 03, 2008, at 12:15 PM, Dennis wrote: On Dec 2, 2008, at 4:16 AM, Harvey wrote: - - - - - - - E G - - - - - # This file is designed to be loaded by yaml, converted to a # decendAttrEvalDict in

Automatically translating scripts

2008-10-06 Thread Maarten Sneep
had a script that automated this translation, but it seems this doesn't work properly (especially the decompile step from a compiled script to a .applescript text file). Are there any suggestions to improve the maintenance of these scripts? I offer no support, but get questions regardless

Re: Any hope for support for scripts in other languages?

2008-08-28 Thread Jim Correia
On Aug 28, 2008, at 6:58 PM, rowen wrote: A feature I'd really like to see is the ability to write scripts in any standard language (e.g. Python or Perl) that can modify the current selection by reading it from standard output and writing the modified version to standard output. If no text