X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-osx%2Flauncher%2Fevents.applescript;fp=synfig-osx%2Flauncher%2Fevents.applescript;h=1da65dea67506b0da420a5a04454f4284d0a25e0;hb=a095981e18cc37a8ecc7cd237cc22b9c10329264;hp=0000000000000000000000000000000000000000;hpb=9459638ad6797b8139f1e9f0715c96076dbf0890;p=synfig.git diff --git a/synfig-osx/launcher/events.applescript b/synfig-osx/launcher/events.applescript new file mode 100644 index 0000000..1da65de --- /dev/null +++ b/synfig-osx/launcher/events.applescript @@ -0,0 +1,14 @@ +on open names + set fileNames to {} + repeat with i from 1 to count of names + set fileNames to fileNames & {quoted form of (POSIX path of (item i of names))} + end repeat + + set fifoLocation to " >> ~/sinfg/fifo" + + repeat with fileName in fileNames + set cmdLine to {"echo O " & fileName & fifoLocation} + do shell script cmdLine + end repeat +end open +