UPDATE: I’ve just modified the scripts to check if Logic Pro X is the frontmost app. If Logic is in the background, the functionality is the same, but if is the frontmost application, it adds a marker without switching applications.`

I’ve been looking for a way to create a marker in Logic Pro X while podcasting without having Logic in the foreground at all times.

After a bit of tinkering, I settled on an AppleScript that does the trick. This AppleScript will activate Logic, simulate the key combination to create a marker (^K), pause for 1/2 a second (anything less and I’ve found it to only work some of the time), then switch back to the last application (⌘⇥).

This can be activated in any number of ways. For example:

Hope someone out there finds some use out of this. If you’ve got any questions, feel free to shout out :D.