I wanted to make a script (an “eternal” script, that is always active) that would replicate a key stroke on two different programs. something like:
tell application "System Events"
if application "World of Warcraft" is front and (keystroke "1" is press) then
tell application "World of Warcraft1"
keystroke "1"
end tell
end if
end tell
but that worked, and that was always active. i just need an example for one key, the others ill just copy/paste can anyone help me?