Identifying concurrent processes launched by applescript
Identifying concurrent processes launched by applescript
- Subject: Identifying concurrent processes launched by applescript
- From: Rich Reardon <email@hidden>
- Date: Fri, 01 Sep 2006 16:11:36 -0500
- Organization: Digital Media Center, University of Minnesota
Hi:
We're novice scripters, attempting something in applescript that might
NOT be achievable in applescript...
Our dilemma is that we're running multiple concurrent instances of VLC
(an open source media player) on an OSX mac to ingest audio streams and
record them locally. Automation of our Applescript works slick via cron,
EXCEPT when we want to stop ONE of the concurrent processes ahead of the
other.
Telling application VLC to stop from any of the launching applescripts,
stops all running VLC players. We can run a shell script within
Applescript to obtain appropriate PID's for particular instances, and
kill a particular player process, but kill commands don't allow VLC to
write a proper EOF (the resulting recorded file is no good).
Is it possible to reference the particular player spawned from the
launching applescript -- a reference derived from code IN that
applescript -- so we can stop that one ALONE when that player's
recording interval is over?
[note: each applescript is launched via cron, but the
time-until-TellApptoStop command is part of the launched applescript]
Thanks
--
"When it's not necessary to do something, it becomes necessary NOT to do
it."
Rich Reardon
Manager, University Video Services
Room 212, Walter Library, 117 Pleasant St. SE
University of Minnesota
Minneapolis, MN 55455
email@hidden
Ph: 612-625-3486/Fax: 612-625-9302
http://dmc.umn.edu/video/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden