• 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: Any Way to Force an Idle Handler System Call? (Redux)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any Way to Force an Idle Handler System Call? (Redux)


  • Subject: Re: Any Way to Force an Idle Handler System Call? (Redux)
  • From: "S. J. Cunningham" <email@hidden>
  • Date: Sun, 08 Jun 2014 08:15:07 -0400

On Jun 8, 2014, at 7:47 AM, Shane Stanley wrote:

> On 8 Jun 2014, at 8:33 pm, S. J. Cunningham <email@hidden> wrote:
>
>> The only way I have been able to figure out how to do it is
>>
>>  do shell script "killall  applet"
>>
>> Ugly, but it works.  Raises the question as to what will happen if another "applet" is running somewhere :)
>
> killall takes the process name, which will be the app name minus the extension (unless you rename it in the Finder after saving it).

For some reason that doesn't work for me.

MacBook-Pro:~ sjc$ ps -A | grep "Idle App" returns:

32094 ??         0:00.27 /Users/sjc/Documents/Projects/1. Projects, Active/Dead Man Alarm System/Idle Handler with Stay Open App Example/Idle App.app/Contents/MacOS/applet -psn_0_13622525

killall "Idle App" (or sudo killall "Idle App") returns "No matching processes were found."

but killall applet works as expected.

Steve
 _______________________________________________
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


  • Follow-Ups:
    • Re: Any Way to Force an Idle Handler System Call? (Redux)
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Any Way to Force an Idle Handler System Call? (Redux) (From: Ted Wrigley <email@hidden>)
 >Re: Any Way to Force an Idle Handler System Call? (Redux) (From: "S. J. Cunningham" <email@hidden>)
 >Re: Any Way to Force an Idle Handler System Call? (Redux) (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Any Way to Force an Idle Handler System Call? (Redux)
  • Next by Date: Re: Any Way to Force an Idle Handler System Call? (Redux)
  • Previous by thread: Re: Any Way to Force an Idle Handler System Call? (Redux)
  • Next by thread: Re: Any Way to Force an Idle Handler System Call? (Redux)
  • Index(es):
    • Date
    • Thread