Hi again, Tyler here.

Still enjoying BBEdit after years of productivity.

Just switched over to licensed while upgrading to 13.0.2. (Installer 
swiftly deleted my old version, and then I had to finish upgrading to MacOS 
before I could use BBEdit again...oops...)

Same old issue coming back up here. I basically just like to be able to 
switch the Currently Open Documents sidebar on and off at will, with a 
shortcut, without the overall window getting whacked out of shaped in the 
process. Now, though, after upgrading (NB: I also upgraded to MacOS 
Catalina), if I try my trusty old modified shortcut script (from Bruce 
above), I get an error dialogue saying "A scripting error has occurred: 
BBEdit got an error: Can't make visible into type visible." On top of that, 
the options in the Sidebar part of Preferences (i.e. Automatically show 
sidebar: As needed, Always, Never) don't seem to have any effect, and the 
View > Window Appearance > Hide Currently Open Documents menu command is 
greyed out — seemingly most similar to this old post on the TextWrangler 
forum (way back in 2012): 
https://groups.google.com/forum/#!topic/textwrangler/zyXubgVEgnw.

Sadly, my Applescript debugging attempts are not getting me anywhere. Any 
help?

Cheers
Tyler

On Monday, April 24, 2017 at 8:33:33 AM UTC-4, Tyler Neill wrote:
>
> Very cool, thanks! It worked, and now I understand more for the next time 
> I need something. Teach a man to fish...
>
> On Thursday, April 20, 2017 at 12:04:29 AM UTC+2, Bruce Van Allen wrote:
>>
>> Hi Tyler, 
>>
>> On 4/19/17 at 7:47 AM, [email protected] (Tyler Neill) wrote: 
>> >I like being able to toggle the sidebar on and off, but 
>> >whenever I hide it, the window resizes down, i.e., shrinks accordingly. 
>>
>> Save this Applescript to your BBEdit Scripts folder, and 
>> remember that you can assign a keyboard shortcut to do it: 
>>
>>
>> -- toggle file list of front window, 
>> -- keeping overall window width constant 
>> tell application "BBEdit" 
>>      set bnds to bounds of text window 1 
>>      set files visible of text window 1 to not the files visible 
>> of text window 1 
>>      set bounds of text window 1 to bnds 
>> end tell 
>>
>>
>> HTH 
>> -- 
>>
>>    - Bruce 
>>
>> _bruce__van_allen__santa_cruz__ca_ 
>>
>>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/8f3c4364-2849-403f-b71a-b060fc0477e5%40googlegroups.com.

Reply via email to