Are there any system files / logs / xmls that are storing information on what project is currently open? I'm working on a piece of software that needs to know, ideally, the name of the current open project, it's path, and really any other info.
I've been poking around but haven't found it anywhere yet.
(This is more a development question but I'm not sure which forum to put it in. Mods, feel free to move it!)
Try this in Terminal:
lsof | grep .avp
On my computer that shows the path to the open project file (along with some other info). Maybe look at the man page for lsof to see if there is a way to just get the path, or find a way to trim the output using another command-line tool.
LiSt Open Files is what lsof does.
Eric
Not a bad solution! It's notably slow (took almost 60 seconds to run out for me). I'm curious if there's a way to isolate if I know which application is running. I'll do some manual reading.
Thanks!
If anyone else knows of another way, I'm all ears.
EDIT:
`lsof -c AvidMedia | grep .avp` eliminates the garbage and returns the result almost immediately.
© Copyright 2011 Avid Technology, Inc. Terms of Use | Privacy Policy | Site Map | Find a Reseller