-
Automatic Audio Crossfade
My AppleScript App mimics keypresses in order to do an instant audio crossfade.
In FCPX Command editor:
Toggle Audio Fade In is SHIFT 9
Toggle Audio Fade Out is SHIFT 0AppleScript:
try
do shell script "pgrep -x 'Final Cut Pro'"
on error
--FCP not open so quit
error number -128
end trytell application "Final Cut Pro" to activate
tell application "System Events"
keystroke "[" using shift down
key code 47 using shift down
key code 126 --up
keystroke "]" using shift down
keystroke "," using shift down
key code 126 using command down --up
keystroke "0" using shift down
keystroke "s" using control down
key code 125 using command down --down
keystroke "9" using shift down
keystroke "s" using control down
keystroke "a" using {command down, shift down}
end tell
The idea of a keyboard macro is not new, but this may be helpful.
Tony Wilson
Some contents or functionalities here are not available due to your cookie preferences!This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.