site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com On 4 Jun 2009, at 17:58, Darrin Cardani wrote: On Jun 4, 2009, at 5:01 AM, Simon Wolf wrote: Another great idea, thank you. Very many thanks. Simon _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... Apologies in advance that this is such a basic question but FCP is a completely unknown entity to me. I have tried to do some searching but my Google-skills are either limited today or there isn't much information out in the wild about this. As the sole Mac developer at work I have been asked if it is possible to create some sort of plug-in for FCP which allows us to add functionality such as opening files from pre-defined locations. Essentially, as I understand it, the ideal situation would be to provide the users with a new menu containing various commands which will perform file-based actions. Is this sort of thing possible within the plug-ins architecture or do I not get to play with FCP? It's not possible through a plugin, but there are some other ways that you could do what you want. One relatively easy solution would be to create an application with a window that just has several buttons in it. When the user clicks one of the buttons, you can send an Apple Event to FCP to open the appropriate file, or possibly even just open it using Launch Services. Depending on your needs, making the window be an always-on-top floating window may or may not be desirable. I think there's an API for adding items to the right side of the menubar, where the clock normally is and other stuff like the sound, airport, and time machine items. I don't remember off the top of my head what that API is, but you can probably ask on the Cocoa- dev list, which you can sign up for here: <http://lists.apple.com/mailman/listinfo/cocoa-dev> Great idea, thank you. I'd done some tinkering with adding a menu bar item so this definitely sounds possible. In fact, I have a script menu there, that I must have turned on by running /Applications/AppleScript/AppleScript Utility. The easiest solution would be to write an AppleScript that just sends an open event to FCP with the desired file. Then add the script to the scripts folder. The scripts are stored in /Library/Scripts for the whole computer (all users), or ~/Library/Scripts for an individual user. Let me know if that helps, It does and it's given me a lot of food for thought. Although I've used AppleScript extensively in the past I've not used Apple Events yet so I'm now looking forward to having a tinker and seeing what I can come up with. This email sent to site_archiver@lists.apple.com
participants (1)
-
Simon Wolf