keystroke with modifier?

Hi,

I want to write an applescript that uses an already established hotkey, in this case control-f. I have the

tell application "System Events"
	key code 102
end tell

but I dont know how to add the modifier control. I know this is simple, but can anyone help?

Thanks.

Model: iBook G4 (no scroll trackpad)
Browser: Firefox 1.5
Operating System: Mac OS X (10.4)

Did you look in System Event’s dictionary?

This should work:

tell application "System Events"
	key code 102 using control down
end tell

And for good measure, both key code and keystroke accept lists if you have more than one modifier:

tell application "System Events"
	key code xxx using {control down, shift down, option down, command down} -- include any
	keystroke "b" using {control down, shift down, option down, command down} -- include any
end tell