Perhaps a dumb newbie question about recording keystrokes...

Hi all,

I am trying to figure out how to create an applescript that just is a series of keystrokes (about 30 in all), some of which are keyboard shortcut commands.  I have been unable as of yet to figure out how to do it.  Thanks!

Keystrokes look something like this:

tell application "System Events"
	launch
	
	keystroke "--some text"
	keystroke return
	delay 1
	keystroke "a" using {command down}
end tell

Provide more specific questions if you need more help.

Thank you well the tricky thing I need to do is using the arrow keys, use the home key, and pull off a command-ctrl-option-shift-F15 combination. All of this in word. Anyone have any suggestions? I am using appleā€™s script editor btw. Thanks again