Running the following Applescript from the Script Editor
--
tell application "StataSE"
activate
open file "myfile.do"
end tell
--
where myfile.do is in the active directory of Stata (Stata Data in this
case) gives the error message:
"StataSE got an error: File some object wasn't found"
Running the following Applescript from the Script Editor
--
tell application "StataSE"
activate
open "myfile.do"
end tell
--
gives the error message:
"StataSE got an error: Can't make some data into the expected type"
Any thoughts on these errors? The FAQ on text editors suggests this or
some variant (not the one posted) should work.