• 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
Identifying concurrent processes launched by applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Identifying concurrent processes launched by applescript
      • From: Emmanuel <email@hidden>
    • Re: Identifying concurrent processes launched by applescript
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: Calculating folder sizes
  • Next by Date: question for sending multiple requests to iTunes
  • Previous by thread: Re: Curl lock up
  • Next by thread: Re: Identifying concurrent processes launched by applescript
  • Index(es):
    • Date
    • Thread