I Have the following code in a program im working on
set outPath to "/Users/student/Desktop/Accounts.txt"
set x to text returned of (display dialog "Username" default answer "")
set y to text returned of (display dialog "Password" default answer "")
set RAccounts to (read POSIX file "/Users/student/Desktop/Accounts.txt")
if file path outPath exists
then
get word 1
else
and then it continues on, but whenever i try to compile it it gives me the following error
invalid key form
any help?
Try:
OR