Apple script and automator
Submitted by clemens on Mon, 2015/02/23 - 5:10pm
on run {input, parameters}
# http://macbiblioblog.blogspot.nl/2014/12/key-codes-for-function-and-spec... tell application "System Events"
# Symbol Code
# Zero 0 29
# One 1 18
# Two 2 19
# Three 3 20
# Four 4 21
# Five 5 23
# Six 6 22
# Seven 7 26
# Eight 8 28
# Nine 9 25
key code 21 using {control down}
# key code 20 using {control down}
# key code 21 using {control down}
key code 18 using {control down}
end tell
return input
end run