Hello All,
I am facing the problem regarding sending data to from data file ( CSV
file ) to applescript on terminal.
I have used :
$ osascript <applescript Name > <Data file Name >
under apple script I used : "run" command
llike :
on run argv
set <Veriable Name > to item 1 of argv
-----
---
end run
When I run this script on Terminal it gives me error : End of file
error (-39)
Please provide your valuable inputs to get the data file file from
command prompt .
If I hard code the data file in the applescript , it works :
Example:
set <Variable Name > to "Path of file"
Thanks !!!