I want to use TextExpander to activate when I type the specific text "attached", and have the AppleScript type out the word "attached" (since TextExpander will remove it), and then invoke the keystroke Control-Z
I can get each to work individually, but not together. Here is the code I am using based off of code I found here:
tell application "System Events"
keystroke "attached"
keystroke "z" using control down
end tell