JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for UK-NEXTSTEP-USERS Archives


UK-NEXTSTEP-USERS Archives

UK-NEXTSTEP-USERS Archives


UK-NEXTSTEP-USERS@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

UK-NEXTSTEP-USERS Home

UK-NEXTSTEP-USERS Home

UK-NEXTSTEP-USERS  2001

UK-NEXTSTEP-USERS 2001

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Mac OSX Services and assignment to a key combo

From:

Chris Bidmead <[log in to unmask]>

Reply-To:

NeXT users discussion list: hardware,[NEXT|OPEN|GNU]STEP, Darwin/Mac OS X,WebObjects" <[log in to unmask]>

Date:

Wed, 7 Nov 2001 19:27:20 +0000

Content-Type:

multipart/alternative

Parts/Attachments:

Parts/Attachments

text/plain (58 lines) , text/enriched (86 lines)

On Tuesday, November 6, 2001, at 12:58  am, Chris Bidmead wrote:

> Cracked it,  :-)

Ah, but there's an even better way.

No disrespect to Christian Grunenberg, who's done a lovely job with
WordService, and tells me he'll be adding Date+Time as a single timestamp
to a future version -- but I've come across something that can deliver
that here and now, and has huge flexibility (eg your own format for the
Date+Time stamp, and much, much more).

Those who remember the Developer extensions in the old NeXTStep Edit.app
will recall the ability to add user definable UNIX pipes as a menu
extension.  If we had that in MacOS X's TextEdit, of course, all this
stuff I've been banging on about here would be a no brainer.  Running:

echo [`date`]

... from the command line produces something like:

[Wed Nov 7 19:08:24 GMT 2001]

...so Edit.app with the Developer extensions switched on gave you the
ability to whack that string straight into the text.  Instant datestamping.

Well, the good news is that whacking user-definable UNIX pipes into the
GUI is back.  With a vengeance.  Check out Mike Ferris's TextExtras 1.6,
freely downloadable from StepWise.  Installing it is a simple matter of
dropping Mike's stuff into a couple of Library directories.  Then you'll
need to spend an amusing 30 seconds doing some plist editing (which I've
noticed since my last posting here you can do in plain ASCII, so you don't
need PropertyListEditor from the Dev Kit).  Mike's UNIX piping is hand
tailored using a file called .TEUserPipes.plist in the home directory.  He
supplies a sample version of this file, which shows how the configuration
goes and demos some routines for simple sorting of the selected area.
Here's my 2c's worth as an addition to that file for adding the Date+Time
stamping as discussed above, attached to Cmd-Shift-T.

         <dict>
                 <key>Command</key>
                 <string>echo [`date`]</string>
                 <key>InputSource</key>
                 <string>0</string>
                 <key>KeyEquivalent</key>
                 <string>T</string>
                 <key>OutputDestination</key>
                 <string>1</string>
         </dict>

The Really Good News is that any features you add using TextExtras is by
default made available to _all_ Cocoa apps.  You can switch it off
globally or for any individual apps as you please.

--
el bid

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
December 2022
February 2022
February 2021
January 2021
October 2020
August 2015
February 2015
June 2013
July 2012
May 2012
November 2011
October 2011
September 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
September 2010
June 2010
March 2010
February 2010
January 2010
November 2009
July 2009
March 2009
February 2009
January 2009
November 2008
June 2008
April 2008
March 2008
January 2008
December 2007
October 2007
July 2007
June 2007
April 2007
January 2007
December 2006
October 2006
September 2006
August 2006
July 2006
June 2006
April 2006
March 2006
February 2006
January 2006
November 2005
October 2005
June 2005
May 2005
March 2005
February 2005
January 2005
2004
2003
2002
2001
2000
1999
1998


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager