keyboard inputs in a script???

Hi,

can someone please tell me how to add keyboard events to a script - i’m using excel 08 but only have the student version so cant script it normally…

all i need it to make my script input a “right arrowkey” then paste (or a cmd+v since i cant properly script it)

i think i need system events then the keycodes perhaps?

Please help!?!

Thanks

Its ok - think i’ve found the answer:


tell application "System Events"
	keystroke (ASCII character 29)
	keystroke "v" using {command down}
end tell

thanks anyway

Hi,

I cannot believe, that Microsoft has disabled the scriptability in the EDU version of Office 2008