AnsweredAssumed Answered

applescript Expected end of line, etc. but found identifier

Question asked by lauriehughes on Jan 18, 2016
Latest reply on Jan 19, 2016 by lauriehughes

I am trying to run an applescript from within filemaker pro.

Its more complicated then this but at the moment I can not even get past this .....

 

set Loc_list_file to choose file with prompt "select the list export file"

set Loc_list_file_read to open for access Loc_list_file

set Loc_list_file_read_text to read Loc_list_file_read as string

 

If I put this into the window where you put your script in FMP when I hit OK in order to save the script it says....

Expected end of line, etc. but found identifier.

 

and highlights this section....

Loc_list_file_read

from the 3rd line

 

If I run it out of applescript editor its fine tho.

Any thoughts?

Outcomes