Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rethish

macrumors member
Original poster
Oct 16, 2008
41
0
Hi,

I need to open the saved project file which is stored in the document folder by using scheduling.

I created a plist file to launch my application at the scheduled time and and its working well. But I need to load the saved project file, when the application launches.

How can I do it?
What are the procedures to do it?

Thank you in advance.
 
Is this your application, or someone else's? If the latter, I'm not aware of any built-in ways of doing this. I think you'd have to write a helper process to track when apps get launched.
 
For the scheduled task, you could always use the 'open' command instead of calling the application directly.

'/usr/bin/open' with arguments '-a <app name> <document path>' will do the trick I'd think.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.