How to transfer applescript dictation commands to another mac
Custom user commands created for Enhanced Dictation, either directly in System Preferences > Accessibility > Dictation Commands or via Automator, are stored in ~/Library/Preferences/com.apple.speech.recognition.AppleSpeechRecognition.CustomCommands.plist. If you haven't already custom commands on the new system, you can copy the entire file; otherwise, you'll need to manually move the entries by hand.