i've got a script to select the current line in coda, and it works fine if i run it from script editor but when i run it from fastscripts menu it's acting like "command down" is still in effect for the second keystroke... iow in script editor the following selects the current line, but in fs it selects to the end of the document. is there a way to "clear" the keystroke modifier between script steps? note that i've tried this script in textwrangler too, with the same effect.
tell application "Coda"
tell application "System Events" to keystroke (ASCII character 28) using command down
tell application "System Events" to keystroke (ASCII character 31) using shift down