This tutorial is broken down into two parts and will show you how to automatically send an iMessage after Final Cut Pro X has finished exporting. First we’ll create an Application using AppleScript that will send the message and then we will tell Final Cut Pro X to open the Application we created after FCPX has finished exporting.
For this part we will be using AppleScript Editor.app on our Mac to create an Application that automatically sends an iMessage through the Message.app on your Mac.
Open AppleScript Editor.app located on your Mac at Applications/Utilities/AppleScript Editor.app
With AppleScript Editor.app open, paste the following code into the AppleScript project. Edit the lines in the script for the phone number and email address you want to send the iMessage to.
The script will be in a purple color when you paste it into AppleScript Editor.
This indicates that the script has not been complied yet.
Click the Compile button that looks like a hammer in the toolbar of AppleScript Editor. If the script has been complied successfully then the color of the script will change to indicate that the script is now compiled.
After the script has been compiled you’re ready to save it as an Application. From the AppleScript Editor File menu click the Save command or press Command-S on your keyboard to save the script. A save dialog will appear where you can name the Application and choose the location where you want to save it. From the File Format drop down menu choose Application and leave the Options checkboxes unchecked.
When you’re ready to Share your project in Final Cut Pro X go to the File/Share menu and choose an option to Share your project. From the Share Window choose the FCPX-Text.app Application that we created in Part 1 to Open with.
This will open the FCPX-Text.app and send an iMessage through Message.app once the Final Cut Pro X project has completed exporting.
- You need to be running Final Cut Pro X on a Mac with OSX 10.8 or higher.
- You need to have Messages.app configured on your Mac to send messages.
- The phone number the text is sent to needs to be an iPhone number that has iMessages enabled.
You can also change the variable for theBuddy so that you can send an iMessage to an email address that has iMessage setup on an iPad or iPod Touch instead of a +1 phone number that is only sent to iPhones.
set theBuddy to “E:firstname.lastname@example.org“
The same concept can be used to create an Application in Automator.app that sends an email. I prefer AppleScript though since you have more control with scripting. A lot more can be done with AppleScript, Automator, and Final Cut Pro X. You can also trigger AppleScripts in Automator workflows if you want to expand possibilities even further. This example just scratches the surface of what is possible. What other ways could AppleScript and Automator Applications improve our workflow after a project has been exported from Final Cut Pro X? Share your thoughts in the comments below!
Jasper Thayer is the developer of FinalCutProX.net
He has over 15 Apple Pro Certifications for video editing and special effects including Apple Certified Trainer for Final Cut Pro X and Apple Certified Trainer for Motion 5. Jasper is also an AWS Certified Developer and AWS Certified Solutions Architect.
FinalCutProX.net is known worldwide for its unmatched excellence in providing top-quality Final Cut Pro X tutorials. Subscribe to our mailing list to remain updated on the latest info about Final Cut Pro X tips, tricks, and tutorials.