Stationery in 10.5.2 (3261)

121 views
Skip to first unread message

Rod Buchanan

unread,
Feb 5, 2013, 9:20:18 AM2/5/13
to bbe...@googlegroups.com

Has stationery support been removed in 10.5.x? I don't see the "Save as stationery" option in the "Save As" dialog, and files saved to the Stationery folder do not show up under "New with Stationery".

--
Rod Buchanan



Patrick Woolsey

unread,
Feb 5, 2013, 1:05:07 PM2/5/13
to bbe...@googlegroups.com
BBEdit 10.5.x does support stationery (as I'll vouch since I use it often :-).

You will, however, now need to apply the "Stationery" option directly to
the desired file(s) via the Finder's "Info" window rather than in the Save
dialog*.


[* since the OS file panels BBEdit 10.5 now uses do not include this option]


Regards,

Patrick Woolsey
==
Bare Bones Software, Inc. <http://www.barebones.com/>

Rod Buchanan

unread,
Feb 5, 2013, 2:55:22 PM2/5/13
to bbe...@googlegroups.com
On Feb 5, 2013, at 12:05 PM, Patrick Woolsey wrote:

> At 08:20 -0600 02/05/2013, Rod Buchanan wrote:
>> Has stationery support been removed in 10.5.x? I don't see the "Save as
>> stationery" option in the "Save As" dialog, and files saved to the
>> Stationery folder do not show up under "New with Stationery".
>
> BBEdit 10.5.x does support stationery (as I'll vouch since I use it often :-).
>
> You will, however, now need to apply the "Stationery" option directly to
> the desired file(s) via the Finder's "Info" window rather than in the Save
> dialog*.

Thanks, that did the trick.

Now if I can just remember it next time I need it ... :)

--
Rod Buchanan

Christopher Stone

unread,
Feb 7, 2013, 1:32:04 AM2/7/13
to bbe...@googlegroups.com
On Feb 05, 2013, at 12:05, Patrick Woolsey <pwoo...@barebones.com> wrote:
At 08:20 -0600 02/05/2013, Rod Buchanan wrote:
Has stationery support been removed in 10.5.x?

BBEdit 10.5.x does support stationery (as I'll vouch since I use it often :-).

You will, however, now need to apply the "Stationery" option directly to the desired file(s) via the Finder's "Info" window rather than in the Save dialog*.
______________________________________________________________________

Hey Folks,

This is easy enough to do by hand, but it's also really quite easy to automate.

Changing 'T' to 't' in the _cmd string of the first script will unset the Stationary bit.

--
Best Regards,
Chris

---------------------------------------------------------------------
# Completely automate setting Stationary bit.
# Requires Xcode for 'SetFile'.
---------------------------------------------------------------------

tell application "BBEdit"
  tell front text document
    set _file to its file
    if _filemissing value then
      set _posix to quoted form of (POSIX path of _file)
      set _cmd to "SetFile -a T " & _posix
      do shell script _cmd
    else
      error "BBEdit's front document is not saved."
    end if
  end tell
end tell

---------------------------------------------------------------------
# Open Finder Get-Info Window associated with front BBEdit document.
---------------------------------------------------------------------

tell application "BBEdit"
  tell front text document
    set _file to its file
  end tell
end tell

if _filemissing value then
  tell application "Finder"
    activate
    open information window of (_file as alias)
  end tell
else
  error "BBEdit's front document is not saved."
end if

---------------------------------------------------------------------
# Open Finder Get-Info Window associated with front BBEdit document.
# Click Stationary Pad checkbox with System Events.
---------------------------------------------------------------------

tell application "BBEdit"
  tell front text document
    set _file to its file
  end tell
end tell

if _filemissing value then
  tell application "Finder"
    activate
    set infoWin to open information window of (_file as alias)
    set winName to name of infoWin
  end tell

  

  tell application "System Events"
    tell window winName of process "Finder"
      click checkbox "Stationery pad" of scroll area 1
    end tell
  end tell

  

else
  error "BBEdit's front document is not saved."
end if

---------------------------------------------------------------------


Rod Buchanan

unread,
Feb 7, 2013, 9:44:00 AM2/7/13
to bbe...@googlegroups.com
On Feb 7, 2013, at 12:32 AM, Christopher Stone wrote:

On Feb 05, 2013, at 12:05, Patrick Woolsey <pwoo...@barebones.com> wrote:
At 08:20 -0600 02/05/2013, Rod Buchanan wrote:
Has stationery support been removed in 10.5.x?

BBEdit 10.5.x does support stationery (as I'll vouch since I use it often :-).

You will, however, now need to apply the "Stationery" option directly to the desired file(s) via the Finder's "Info" window rather than in the Save dialog*.
______________________________________________________________________

This is easy enough to do by hand, but it's also really quite easy to automate.

Changing 'T' to 't' in the _cmd string of the first script will unset the Stationary bit.

Thanks!

-- 
Rod Buchanan

Chuck Quast

unread,
Sep 29, 2013, 10:38:00 AM9/29/13
to bbe...@googlegroups.com
Hopefully you'll update the BBEdit User Manual to reflect this "change". Just spent about 15 minutes trying to figure this out per Chapter 3 - only to find reference to the checkbox in Finder/Get Info in Chapter 6.

OK, so I was slow to search further, slow to BBEdit Talk to check it out. When was the 10.5.5 User Manual made available following reference to this back in February?

Chuck Quast
retired in Chiang Mai Thailand (with lots of time of my hands ;-) 
Reply all
Reply to author
Forward
0 new messages