Separated several classes into header files from tool main.cpp
[synfig.git] / synfig-osx / launcher / events.applescript
1 on open names
2         set fileNames to {}
3         repeat with i from 1 to count of names
4                 set fileNames to fileNames & {quoted form of (POSIX path of (item i of names))}
5         end repeat
6         
7         set fifoLocation to " >> ~/sinfg/fifo"
8         
9         repeat with fileName in fileNames
10                 set cmdLine to {"echo O " & fileName & fifoLocation}
11                 do shell script cmdLine
12         end repeat
13 end open
14