views:

112

answers:

1

Hello,

I'm learning AppleScript and my first program is a Hello World(of course!):

display dialog "Hello World"

But when I try to run this I got the error:

The result of a numeric operation was too large.

  • Why this?
  • How I can solve it?
+3  A: 

See: The Ultimate Beginner’s Guide To AppleScript – Mac.AppStorm

tell application "Finder"

    display dialog "Hello World"

end tell
songdogtech
The tell block shouldn't be necessary. I can run the code given by the OP without error.
Philip Regan
Yes, but the idea is to also teach applescript....
songdogtech