Re: Any Way to Force an Idle Handler System Call? (Redux)
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