Re: Accessing information from applications
Re: Accessing information from applications
- Subject: Re: Accessing information from applications
- From: Abhinav K Tyagi <email@hidden>
- Date: Fri, 03 Jun 2011 00:42:18 +0530
Thanks for your reply Arvin. the concern however is not loading the
system if the query is to be performed frequently and fetching
metadata of media files locally played. We can avoid complex process
like electronic music fingerprinting. The intermediate objective is
something like that.
Thanks
Abhinav K Tyagi
email@hidden
---------------------------------------------------------------
On Jun 3, 2011, at 12:26 AM, Bhatnagar, Arvin wrote:
From the man page you can do something like this:
lsof -F | grep MyApp
Excerpt from the man page of lsof:
OUTPUT FOR OTHER PROGRAMS
When the -F option is specified, lsof produces output that is
suitable for processing by another program - e.g, an awk or Perl
script,
or a C program.
Run the command in a terminal window and see what your output is.
Thanks,
Arvin
On 6/2/11 2:50 PM, "Abhinav K Tyagi" <email@hidden> wrote:
Hi list members,
I have searched for and have seen "lsof" command can be used and the
output can be then filtered out.
Although i can filter the information based on the extensions of
files
but how can i get the information if the opened file is a url. The
best case can be of an audio stream or something like that.
I am not getting way hoe to do it.
Thanks
Abhinav K Tyagi
email@hidden
---------------------------------------------------------------
On Jun 2, 2011, at 11:48 PM, Abhinav K Tyagi wrote:
Hi,
Is there any method to know what files are opened by any
application?
Thanks
Abhinav K Tyagi
email@hidden
---------------------------------------------------------------
* Composed using Mac Mail.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden