I'm a total newbie with applescript, and have looked around to try and find an answer to this, as well as tried to find ways around it but am a bit stuck...
I am trying to use an incredibly basic task with applescript, but I can't get it to work...
what I'm trying to do is:
so my code looks like this (I hope I'm doing this right..):
set CR to ASCII character of 13
open location "http://www.myurl.com"
keystroke tab
keystroke CR
However I get an applescript error telling me
Can't make keystroke " " into type reference.
with the "keystroke tab" element highlighted..
what am I doing wrong?
I am trying to use an incredibly basic task with applescript, but I can't get it to work...
what I'm trying to do is:
- go to a specific URL
- tab down to my username
- press enter to login (the user and password are saved and are already there, using firefox)
so my code looks like this (I hope I'm doing this right..):
set CR to ASCII character of 13
open location "http://www.myurl.com"
keystroke tab
keystroke CR
However I get an applescript error telling me
Can't make keystroke " " into type reference.
with the "keystroke tab" element highlighted..
what am I doing wrong?