I am the biggest AppleScript noobie ever.
I am trying to make a script that when i press f-1, It will automatically type the text I want. I do not know if it is possoble to do this with AppleScript, but it is worth a try.
(please don’t shun me if this is a stupid idea)
Model: PowerBook G4
Browser: Safari 419.3
Operating System: Mac OS X (10.4)
tell application "System Events" to keystroke "I am not addicted to Runescape"
Getting it to run with F1, however, is a different story. You need to save your script in the Scripts folder, then assign it a hotkey in System Preferences under Keyboard & Mouse > Keyboard Shortcuts. Now, there’s a bug on (at least my copy of) PPC Mac OS 10.4.8 that makes this useless, so you have to download FastScripts Lite at http://www.red-sweater.com/fastscripts/ and use it.
Not to sound condescending here, but most things like this that only require one line can be found in the Dictionaries for different applications. . .it’s in the File menu in Script Editor.