Help - How to Insert list of text strings into sequential placeholders

2013-09-24 Thread Kip Shaw
Hi all -

When doing html/php, I often have to insert, for example, multiple image 
names into a multiple repeating snippets of markup, e.g.

img-name-1
img-name-2
etc

goes into

divimg src=#img-name-1-here#/div
divimg src=#img-name-2-here#/div
etc

Is there a way to automatically grab sequential items from a list (ideally 
from the clipboard) and insert them into sequential placeholders?

Thanks!

- Kip Shaw

-- 
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.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.
To post to this group, send email to bbedit@googlegroups.com.


Re: Help - How to Insert list of text strings into sequential placeholders

2013-09-24 Thread Oliver Taylor
On Sep 24, 2013, at 7:54 AM, Kip Shaw sunnywebsh...@gmail.com wrote:

 Is there a way to automatically grab sequential items from a list (ideally 
 from the clipboard) and insert them into sequential placeholders?

When I need to do this I use Text  Prefix/Suffix Lines.

If it's the same markup every time you could automate pasting the list and 
marking-it-up using Applescript - but my kung-fu is not strong enough for that. 
Perhaps someone else on the list can help you out.

-- 
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.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.
To post to this group, send email to bbedit@googlegroups.com.


Re: Help - How to Insert list of text strings into sequential placeholders

2013-09-24 Thread Kip Shaw
Oliver -

Brilliant! Surround instead of insert. Must be a metaphor there somewhere. 
Anyway, it will work like a charm. Thanks for the quick - very helpful - 
reply.

- Kip

++

On Tuesday, September 24, 2013 2:28:40 PM UTC-4, Oliver Taylor wrote:

 On Sep 24, 2013, at 7:54 AM, Kip Shaw sunnyw...@gmail.com javascript: 
 wrote: 

  Is there a way to automatically grab sequential items from a list 
 (ideally from the clipboard) and insert them into sequential placeholders? 

 When I need to do this I use Text  Prefix/Suffix Lines. 

 If it's the same markup every time you could automate pasting the list and 
 marking-it-up using Applescript - but my kung-fu is not strong enough for 
 that. Perhaps someone else on the list can help you out.

-- 
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.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.
To post to this group, send email to bbedit@googlegroups.com.