How do you keystroke enter?

Hi
I am trying to fill ina web form using applescript, i have worked out, how to use Gui keystrokes to fill in the form but how do i submit it. i have tryed keystroke enter, but it dosen’t seem to work
Thanks

http://bbs.applescript.net/viewtopic.php?id=13960

Thanks… but the link sends us to OSX… how do you keystroke in OS9?

All i’m trying to do is set the default printer in the Finder by selecting a printer and typing “command L”

tell application “Finder”
activate
select item “Turd”
keystroke command down
keystroke “L”
end tell

tells me it doesn’t know command down

AppleScript: 1.8.3
Browser: Internet Explorer 5.17
Operating System: Mac OS 9.2.x

Ah… figured it out… damn syntax

tell application “Desktop Printer Manager”
set default printer to desktop printer 2
end tell

This requires knowing the number(s) of your printer(s). Apparently, the Desktop Printer Manager does not recognize a finder name for your printer.

My next hurdle is figuring out how to get it to select a specfic custom-sized paper from the Page Setup… menu. Any guesses there?

Anyone? Anyone? Bueller?