Re: Extract string found in line
Here's a little Applescript snippet that works in BBEdit: find src=\([a-zA-Z0-9\\=\\\.\\-_]+)/([a-zA-Z0-9\\=\\\.\\-_]+)\ searching in imgDocRef options {search mode:grep, starting at top:false} with selecting match set imgSrc to grep substitution of \\1 set imgName to grep substitution of \\2 Don't know if it works in anything else. On May 11, 2014, at 3:36 PM, Lee Hinde wrote: I am parsing apache log files. This is the grep pattern I'm using: GET /public/search/\?q=(\w|\+|\.|-)+ works fine. But I want to extract just the text that matches that string and lose all the rest of the line. How would I do that? -- 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. -- 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: Update BBEdit credit
OK. Here's an Applescript: tell application BBEdit set bbeditVersion to version replace meta name=\generator\ content=\BBEdit ([0-9\\.]+)\ / using meta name=\generator\ content=\BBEdit bbeditVersion \ / searching in text 1 of text document 1 options {search mode:grep, starting at top:false, wrap around:true, backwards:false, case sensitive:false, match words:false, extend selection:false} end tell On Feb 16, 2013, at 11:58 AM, Lewis Kirk wrote: 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. -- 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: Remove file from project
You can ignore this question! I have been informed of how projects work! On Dec 23, 2013, at 1:59 PM, captkirk wrote: I have a project which does not let me remove files from it. The 'rename' and 'remove' are either not there in the pop up or are greyed out. The plus mark to add files down at the bottom is also greyed out. Other projects don't seem to have this issue. What am I doing wrong? Thanks! -- 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. -- 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.
Update BBEdit credit
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.
Re: web site includes
OK I figured that out. Everything's in the project. Now where did the show clipboard option go? On Dec 6, 2012, at 3:33 PM, Lewis Kirk wrote: just got lost and I can't find a way to tell BBEdit where to look. -- -- 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 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
web site includes
just got lost and I can't find a way to tell BBEdit where to look. -- -- 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
transform again
Sometimes I need to highlight some text and do the same thing to it that I just did to another selection. Something repetitive but not lending itself to scripting. Like making the text italic. Using a keyboard command. Adobe has this and I find it quite useful. -- 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
Re: Incrementing numbers in a rectangular selection
At 1:08 AM +0200 8/12/11, Roland Küffner wrote: Speaking of rectangular selections ... one other thing I find myself doing quite often, is that I write one, let's say, variable name with a trailing number, copy it down and then, increment the number. So, after duplicating one line (with a nice little script) I would have a bunch of duplicate lines like: variable1 variable1 variable1 variable1 What I really want is this: variable1 variable2 variable3 variable4 Uh, this is not a BBEdit solution, but in a spreadsheet program (Excel, OpenOffice), you can type in 'variable1' in a cell, then type in 'variable2' in the cell below it, select the cells, and then pull down as far as you want. The number will increment as you pull. Then copy and paste. I wrote an Applescript to do this until I discovered the spreadsheet. -- 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
Growl appears
Out of the blue today, I got a Growl notification. I look in system preferences and now there's Growl. It sez it's helping me with BBEdit, Firefox, Yahoo! Messenger, etc. Don't know where it came from or how long it's been there. BBEdit help sez it uses it for some notices. I saw some previous discussion of it in the group, but I still don't get why I want it. I can't even find it on my system, but Activity Monitor sez it's running. I don't like invisible applications that just show up and don't do anything useful that I can see. I have downloaded the uninstaller but have not used it yet. Does BBEdit need this? Did BBEdit install it? -- 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
Re: Growl appears
Lewis Kirk goo...@dmzgraphics.com sez: Out of the blue today, I got a Growl notification. I look in system preferences and now there's Growl. It sez it's helping me with BBEdit, Firefox, Yahoo! Messenger, etc. Don't know where it came from or how long it's been there. BBEdit help sez it uses it for some notices. [...] Does BBEdit need this? BBEdit can use Growl, but does not require it in any way. Did BBEdit install it? Nope; my guess is you got it from a prior Dropbox install (though I think it comes with some other apps too). Regards, Patrick Woolsey Thanks for the replies. I did look at all the removal and mystery installing info. I have never used Dropbox. I started getting Growl notifications in BBEdit yesterday, and now I am getting them in Firefox today. I have not downloaded or installed or updated any apps for weeks. I would not have approved the Growl installation if I had been asked without finding out what it was. I generally like to keep my system 'barebones' to cut down on problems! The Growl developers are not making any friends. -- 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
Local web site testing
I got a MacPro not long ago and was setting up web sharing to test things locally. However, I can't connect to either web shared folder as listed on the Web Sharing System Preferences panel from the MacPro or a G4 connected via ethernet. I was able to set web sharing up successfully on the G4 and have followed the same procedure on the MacPro. Can anyone point me to a step by step setup? Or suggest what the problem might be? -- 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
Open oversized content centered in browser window
Here's a web design question: A client has supplied art work that is 1152 px wide. He wants it to be centered horizontally in the browser window on the open of the page regardless of the user's browser window size. (Scroll bars don't matter so don't get side-tracked on that.) I can't figure it out. I suppose you could do it with javascript, but that seems like overkill. -- Lewis Kirk www.dmzgraphics.com 803-787-3450 -- 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
Re: unable to set BBEdit as the default app to open .php files
Can anyone tell me how to insure that BBEdit is launched by the Finder as the default application when opening PHP text files? I am still using Tiger, but I have an Applescript app on the desktop which I drop files on to convert the line endings to UNIX and the file type to BBEdit. Useful for converting Perl or PHP files so I can upload them to remote hosts successfully. It may be a BBEdit script. Here's the file type changer portion. on open filelist repeat with oneFile in filelist tell application Finder try set oneFile's creator type to R*ch set oneFile's file type to TEXT on error the error_message number the error_number beep tell me to display dialog error_message buttons {OK} default button 1 end try end tell end repeat end open Then again, once you open Dreamweaver or do a restart, the files might revert, but the script might be faster. Wonder if you could set up a folder action? --~--~-~--~~~---~--~~ 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 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 specific feature request or would like to report a suspected (or confirmed) problem with the software, please email to supp...@barebones.com rather than posting to the group. -~--~~~~--~~--~--~---