Re: Finding out is an Application is running
Re: Finding out is an Application is running
- Subject: Re: Finding out is an Application is running
- From: Martin Orpen <email@hidden>
- Date: Wed, 11 Feb 2004 22:08:04 +0000
on 11/2/04 8:57 pm, Andrew at email@hidden wrote:
>
I was wondering if there was any way of figuring out if an application file
>
at some path is currently running.
>
>
The way I do it now is by the insane :
Wouldn't it be easier to use "do shell script" for this kind of task?
ps -ax | grep whatever
Will determine if an app is running.
You can also use stuff like:
lsof | grep whatever
To determine if a specific file is open.
Regards
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.