Thread View: comp.sys.next.programmer
1 messages
1 total messages
Started by Dave Griffiths
Sat, 01 Aug 1992 01:48
Filenames not presented to Services
Author: Dave Griffiths
Date: Sat, 01 Aug 1992 01:48
Date: Sat, 01 Aug 1992 01:48
25 lines
1645 bytes
1645 bytes
I had an idea for a Service utility that would take as input a filename. The filename would usually be associated with the key window. For instance, if you are in Edit, the name of the file you are editing is presented to any Service that wants to use it. Unfortunately, I have just discovered that Edit is one of the few apps that *do* present the filename to a Service. Improv, WriteNow, WordPerfect etc do not. This seems a bit of a shortcoming (and has scuppered the plans for my utility!). The problem is that the app must explicitly do things to provide the filename as a Service send type. How can the default behaviour be improved? One way would be for NeXT to add the functionality to present the filename as a Send type by default. This could be done in the setTitleAsFilename: method of Window. While we're on the subject, I was also planning to be able to drop the filename icons into my utility as an alternative to using a service. It would be neat if the icon for the file currently being edited in an arbitrary application was readily available, say in the window title bar. (I was also going to write a Service utility to display the icon for the current filename, but if only Edit and Draw can use it there doesn't seem much point!). Is the situation any better in 3.0? Dave Griffiths
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads