Skip to content

Commit

Permalink
Check for Stata 15
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheiss committed Jun 15, 2017
1 parent 08e5000 commit 3bc6241
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions text_2_stata.py
Expand Up @@ -64,6 +64,10 @@ def get_stata_version(stata_name):

else: # figure out Stata version automatically
cmd = """osascript<< END
try
tell me to get application id "com.stata.stata15"
set stata to 15
end try
try
tell me to get application id "com.stata.stata14"
set stata to 14
Expand Down

0 comments on commit 3bc6241

Please sign in to comment.