launchctl and TextEdit

Nathan Sims <[email protected]>
Newsgroups gmane.comp.macosx.admin
Message-ID <[email protected]>
One of our users (OSX 10.6.7) has a problem with TextEdit. Somehow it has been set to be auto-launched by launchctl, and if TextEdit is quit, it is relaunched again. Using launchctl I can't seem to unload it.

If I do a 'launchctl list', I do see it:

197	-	com.apple.TextEdit

But if I do a 'launchctl remove 197', I get:
  launchctl remove error: No such process

If I do a 'launchctl unload com.apple.TextEdit', I get:
  launchctl: Couldn't stat("com.apple.TextEdit"): No such file or directory
  nothing found to unload

I've looked in /Library/LaunchAgents, /Library/LaunchDaemons, the user's ~/Library/LaunchAgents and ~/Library/LaunchDaemons, but there is no rogue com.apple.TextEdit.plist file anywhere.

How can I accomplish this?
Thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.