Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Has anyone gotten this to work?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Has anyone gotten this to work?
Authored by: wgscott on Sep 21, '03 12:03:19PM

Every time I tried to change something I received an error message.



[ Reply to This | # ]
Has anyone gotten this to work?
Authored by: sdt on Sep 21, '03 01:59:50PM

It has worked fine for me. Can't help wondering why /Applications/Utilities is left out of the application search path???



[ Reply to This | # ]
Has anyone gotten this to work?
Authored by: sdt on Sep 21, '03 03:06:26PM
I tell a lie. I haven't got it to work. On first run I answered 'no' to 'core services?' and 'no' to 'individual apps?' and assumed it would work when I had the time to go through them. However, like you say, each individual app produces the same error:

5 * toggle NSServices OFF for "" ? p
/Applications/Stickies.app
/usr/local/bin/nss: get_basename: command not found
5 * toggle NSServices OFF for "" ? y
text encoding or xml code problem! fixing text encoding... fixing unsuccessful! returning app to original state. skipping app.
/usr/local/bin/nss: get_basename: command not found

I can't even begin to help with troubleshooting. Just thought I'd back you up after claiming it worked before fully testing it!

[ Reply to This | # ]
Same error too.
Authored by: gxw on Sep 21, '03 04:04:00PM

I get the same xml error as above on the apps I tried to toggle.



[ Reply to This | # ]
I believe I found the problem
Authored by: jreese on Sep 21, '03 09:19:19PM

Line 157 of the script contains

if [ ! "$nss" = " <key>NSServices</key>" ]; then

I found that there were two spaces between the quotation mark and the "<key>" tag. When I changed the two spaces to a single tab character in BBedit, the script worked as advertised.



[ Reply to This | # ]