Re: Killing an appleScript applet
Re: Killing an appleScript applet
- Subject: Re: Killing an appleScript applet
- From: "Stockly, Ed" <email@hidden>
- Date: Fri, 30 May 2014 19:21:00 +0000
- Thread-topic: Killing an appleScript applet
set appletName to "RunningScript"
tell application "System Events" to set PID to unix id of process appletName
--That works, but only if you leave off the ".app" extension. I wonder if
it's any faster than using the shell to get a list and stepping through the
list?
do shell script "killall " & appletName
--No matching processes belonging to you were found
I tried several variations of this before going sending my question. Doesn't
work with our without the ".app" extension.
ES
_______________________________________________
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