Applescript not working in Yosemite
I see that I'm not the only one to discover this. I run an Applescript from within another application to fill in a form in a 3rd application from data in the calling application. This has worked flawlessly prior to Yosemite, but now in Yosemite it is very haphazard. My script begins with
tell application Firefox
activate
end tell
then it does a number of "keystroke" commands to System Events with the data, intended to go into my active Firefox page. The main problem seems to be in activating the target application; sometimes it does and usually it doesn't, and when it doesn't it keystrokes the data into whatever application it happens to settle on, often the calling application. I see that Yosemite now calls the editor Script Editor rather than Applescript, is there now a better set of commands for what I want to do?
OS X Yosemite (10.10.3)