compiling error


anyway i am trying to write an app. using applescript and when i try and compile it an error comes in the error is…

syntax error
Can’t set date to (the current date) as string. Access not allowed.

do you guys know how to fix that?

The problem is “date” is a reserved word (a class, actually), try a different variable such as:


[This script was automatically tagged for color coded syntax by Convert Script to Markup Code]

thanks that worked