Re: How to kill AppleSpell from a script
Re: How to kill AppleSpell from a script
- Subject: Re: How to kill AppleSpell from a script
- From: Thomas Fischer <email@hidden>
- Date: Wed, 16 Jun 2010 17:22:34 +0200
Hello Yvan,
you might try some brute (a little, -9 would be really brutal) force on the shell level:
do shell script "kill -2 `ps aux | grep AppleSpell | grep -v grep | awk '{ print $2 }'`"
(note the three different kinds of quotes).
All the best
Thomas
Am 16.06.2010 um 16:34 schrieb KOENIG Yvan:
> Hello
>
> Trying to help an user, I wrote a small script allowing it to insert a list of words in a single task in the custom dictionary.
>
> I just need an information:
> how may I code an instruction killing AppleSpell so that the next call to the SpellChecker will take care of the new dictionary's contents ?
>
> AppleSpell doesn't appear in the processes returned by System Events.
> I just see it in Activity Monitor where I am able to kill it by hand.
>
> Yvan KOENIG (VALLAURIS, France) mercredi 16 juin 2010 16:34:26
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden