Remote file path mapped to local

2012-05-28 Thread eddyk
Since using  Lion 10.7.4, problems with aliases of remote files happen. If I 
double click on an alias of a distant /library/webserver/documents folder, the 
window open with the correct file path, 
/volumes/distant_volume_name/library//webserver/documents.
Opening one of the files therein in BBEdit (ot TextWrangler), if, on the local 
webserver, I have a file  with the same name, it is this one local file which 
is opened ! 
The only way to have the local file open and at the same time the remote file 
open is to use for it the open from Ftp server command (BBEdit 9.6.3)
I have used the possibility to view and manage at the same time local  and 
distant copies of files of websites for years using aliases of remote folders.
And it still works using Snow Leopard 10.6.8
Problem of incorrect file path resolution in 10.7.4  is present on iMac i3 and 
MacBook Pro, for all users. Repairing permissions, reinstalling using Mac 
10.7.4 combo do not resolve the issue.
Any ideas ? Thanks.

-- 
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: Exporting Patterns

2012-05-28 Thread Christopher Stone
On May 27, 2012, at 20:33, JT wrote:
 Hi, could someone tell me if there is a way to export the saved grep patterns 
 in bbedit? Want to make sure I don't lose all my patterns in the event I have 
 to do a fresh install.
__

Hey JT,

Having a fresh backup of BBEdit's app-support folder and its prefs is desirable 
of course, but if you want a nice readable export give this Applescript a try.

--
set patternFile to ~/Library/Application Support/BBEdit/Setup/Grep 
Patterns.xml
set patternFile to do shell script echo   patternFile
tell application System Events
tell property list file patternFile's property list item 
SavedGrepPatterns
set SavedGrepPatterns to value of property list items
end tell
end tell
set patternList to {}
repeat with i in SavedGrepPatterns
tell (contents of i)
set end of patternList to  Title:its Title
set end of patternList to  SearchPattern:its 
SearchPattern
set end of patternList to ReplacePattern:its 
ReplacePattern
set end of patternList to 
end tell
end repeat
set AppleScript's text item delimiters to return
set patternList to patternList as text
tell application BBEdit
activate
make new document with properties {text:patternList}
end tell
--

--
Best Regards,
Chris

-- 
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