• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to kill AppleSpell from a script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to kill AppleSpell from a script (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: RE: FileMaker - Scripting Remote DataBase
  • Next by Date: Re: iPhoto returns a real number as a photo ID
  • Previous by thread: How to kill AppleSpell from a script
  • Next by thread: Finder scripting bugs
  • Index(es):
    • Date
    • Thread