whats the key code for a quotation mark
iMac Alu 2.0GHz, Mac OS X (10.5.5)
iMac Alu 2.0GHz, Mac OS X (10.5.5)
If you want it to compile then add this to the very end of your script.
tell application "System Events"
keystroke "k" usingcommand down
end tell
By the way what are all the keycodes doing? They don't seem to have an effect on the outcome. This might be a better way to write the script you have though.
tell application "Script Editor"
makenewdocument
tell application "System Events"
keystroke "tell application 'finder' to display dialog '" using shift down
keystroke "Hello"
keystroke "'" usingshift down
keystroke "k" usingcommand down
end tell
end tell
whats the key code for a quotation mark