Last post I saw on AppleScript report is now over two years old.
Seems to me the newer AppleScript interpreter does not parse "export to html" as a single command because I get:
execution error: Can’t get HTML of "./ci_artifacts/coverage/". (-1728)
when I attempt to export via
osascript bin/coverage_report.applescript ./ci_artifacts/coverage
I get:
tell application ((<my bin path> as string) & "CoverStory.app")
activate
set x to open <my project>
tell x to export to HTML in (item 1 of argv)
end
CoverStory comes up and loads all the files properly so I know it's not a path issue.
If I wrap "export to HTML" in parens the error is:
execution error: The variable HTML is not defined. (-2753)
Anyone have any thoughts?
Bob