Compiler chokes on statment

anybody know why this won’t compile.

tell application “Internet Explorer”
openurl “https://retailer.echostar.com/commissions_download/676AD3B8ACF743A2A8BEE37DF59F5012A6E1F8E18E104055944D36A048DE25B028C2DD78422845B7A96C112D48C36A78.csv
end tell
end tell

It highlights the “A” after the “” in the URL and displays the error message " expected “” but found unknown token"

I know there is an extra endtell in it. cut and paste error.

Chris

When passing things to the shell, you’ll need to escape the backslashes like this…

1234567891234 --> similar to what you have
12345\6789\01234 --> here it is with escaped backslashes

The same rule applies regardless of where the data is going. Otherwise, as has been discovered, it won’t compile.

– Rob