Actually, you don't need the script if you use a trackpad and the Project 
List has focus:  A two-finger  tap on any selected item will open the 
contextual menu  and typing "r" will reveal and select  _all_ currently 
selected files. (Make sure you've checked "secondary tap" in the TrackPad 
Preferences Pane.)  

If you don't use a trackpad, here's a version of the script that will open 
the  folders of multiple items selected in the Project List.

tell application "BBEdit"
set fList to selected items of project window 1
end tell
tell application "Finder"
activate
repeat with i from 1 to count fList
reveal item i of fList
end repeat
end tell

Steve

On Sunday, December 2, 2012 11:13:40 AM UTC-5, Steve Samuels wrote:
>
> I think that the only real issue you've identified is that it's tedious it 
> is to reveal a project file in the Finder.  Here's a way to do it quickly:  
> Put the following script in BBEdit's Scripts folder and assign it a 
> keyboard shortcut.
>
> Steve
>
> tell application "BBEdit"
> set Flist to selected items of project window 1
> set theFile to item 1 of Flist
> end tell
> tell application "Finder"
> activate
> reveal theFile
> end tell
>
> On Friday, November 30, 2012 12:49:49 PM UTC-5, digitalagua wrote:
>>
>> Is there any way to get finder functionality in the Project Sidebar. 
>>
>> I'd like to rename files and folders, drag and drop files to new 
>> locations, and get info.
>>
>> I find it tedious to have to right click, then reveal in finder, then do 
>> any operation that would be completely intuitive if I was able to do this 
>> in the Project side bar. 
>>
>> I am wondering if this was a design decision on Bare Bones part or an 
>> oversight. If it was a design decision, it would be great to find out their 
>> reasoning.
>>
>> Thanks,
>>
>> James
>>
>

-- 
-- 
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.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>



Reply via email to