G'day Doug, On Jan 8, 1:04 am, Doug McNutt <[email protected]> wrote:
> At 18:47 -0800 1/6/10, Ben wrote: > >Is there a way to create a key-stroke that will take the current line > >(or selection) and dump it into a nominated window. > Execute Text is a service I found somewhere long ago. Have a look at > BBEdit's BBEdit menu and see if there is a usable service already provided by > Apple. Not that I can see, but I guess the concept opens up some possibilities. I found a copy as plain text service, I just need to work out how to a) select the whole line if nothing is selected, and b) get it to send to a destination and paste. > Ann then you can use BBEdit worksheets but perhaps not if you need to use the > file as an input source to SQL later. That capability died with BBEdit 5 or > so when Bare Bones changed the format of worksheets from simple TEXT to XML. > > The worksheet method allows retention of shell variables - like PWD - The > service concept will spawn a new shell that is ignorant of earlier settings. > Applescript will do the same thing while insisting that you use sh instead of > $SHELL. Hmm - interesting, but not quite what I was after - I want to be able to send commands to (for instance) the R console or the psql program... thanks for your input cheers Ben
-- 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 "[email protected]" rather than posting to the group.
