Re: Write changes to two destinations on save

2013-02-16 Thread John Delacour

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 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 this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
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.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups BBEdit Talk group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: executing Text Factory results in the shell

2013-02-16 Thread LuKreme
Bruce Van Allen opined on Thursday 14-Feb-2013@22:26:19
 Put the call to your executable or script, with any parameters, and also any 
 notes or reminders (commented out), at the top of the worksheet, on multiple 
 lines if necessary, followed by a line with only #-#-# on it (without the 
 quotes).
 
 Then run an applescript (see below) that combines two steps:
 
 - the first step selects everything from the line AFTER the line with 
 #-#-#, to the end of the worksheet, and deletes the selection;
 
 - the second step selects everything from the start of the worksheet up to 
 and including the line with #-#-#.

This is interesting, and thank you, but pasting the text to process into a 
worksheet, hitting the command key to run the text factory, and then hitting 
Command-A, enter has proved to work very well. Yes, it would be nice if the txt 
factory could do those last two steps, but it’s not enough of a factor that it 
requires solving. I’m doing this a few times a day for some reasonably short 
period of time (I have about 300-400 of these ‘jobs’ to get through, then I’ll 
be doing only a handful a month).

Still, this could prove quite useful for some other task in the future.

-- 
Everything you read on the Internet is false -- Glenn Fleishman

-- 
-- 
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 this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
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.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Update BBEdit credit

2013-02-16 Thread Lewis Kirk
Here's an idea: What if on update of an html document, the meta 
name=generator content=BBEdit 8.2.4 / would update the version to what I 
am using now? I know this is not particularly important and it could be done a 
number of ways with scripts, etc., but if I am giving BBEdit credit for being a 
great program, couldn't it do this too?

-- 
-- 
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 this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
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.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Copying HTML of preview window

2013-02-16 Thread Jan Erik Moström
I'm pretty sure I'm missing something really basic here. I seem to remember
to having seen that it was possible to copy the HTML code from the preview
window but now I can't figure out how to do it.

Am I misremembering something or am I just stupid and can't find how to do
it?

- jem

-- 
-- 
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 this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
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.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Help from the clueful

2013-02-16 Thread LuKreme
I have a text file that is formatted like this:

1#some text
1#goes here 
1#not hard wrapped
1#to the line length
2#while other text
2#is here
3#some here
4#also here
4#and there and everywhere

and continuing on for a few thousand increments and many thousands of lines. 
(that is, there are over 2000 numbers and over 5000 lines).

I need to end up with this:

# some text goes here, hard wrapped to the line length
# while other text is here
# some here
# also here and there and everywhere

(that is, I need to strip the numbers, but I need to keep each text block 
together on a single line).

The specific formatting at the end isn't the issue, I can do that, it's 
grouping the lines based on the numbering that is the issue. Even if I could 
just get to 

1#some text #goes here #not hard wrapped #to the line length
2#while other text #is here
3#some here
4#also here #and there and everywhere

That would get me close enough to deal with the rest of the formatting.

I was reading Chapter 8 thinking there was a way to do this with grep, and I 
think there is a way with the negative look-ahead, but once again when trying 
to figure it out my brain melted a little.

Something like (^\d+)#(.*)$ . . . (?!\1)

BTW, in googling for info, I found this page

http://caspar.bgsu.edu/~courses/Stats/Labs/Handouts/grepadvanced.htm

Which appears to simply be an html-ization of a portion of the BBEdit manual.

-- 
There's sex and death and human grime in monochrome for one thin dime
and at least the trains all run on time but they don't go anywhere.

-- 
-- 
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 this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
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.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.