Applescript in a Nutshell
Applescript in a Nutshell
- Subject: Applescript in a Nutshell
- From: Joey Parshley <email@hidden>
- Date: Wed, 6 Nov 2002 19:26:17 -0500
I am reading this book and tried out the first script. I compiled in OS
9 but did not in Jaguar can someone tell me why?
Here is the script
tell application "Finder"
activate
set memblock to (largest free block / 1024 / 1024)
display dialog "The largest free block is about " & (memblock) &,
" megabytes."
end tell
When I try to check the syntax I get the following syntax error and the
word "free" in the parentheses is highlighted.
"Expected ',' but found identifier."
Does applescripting not carry over into Jaguar? What should I be
looking at to decipher the error statement? I tried the dictionary for
Finder and thought I might see something about "free" but no dice.
TIA
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.