make a drag-and-drop application?
make a drag-and-drop application?
- Subject: make a drag-and-drop application?
- From: Lawrence Paulson <email@hidden>
- Date: Fri, 9 Jul 2004 09:59:17 +0100
Is there an easy way (using a small amount of bash script, perl,
AppleScript or Java) to implement a MacOS X Application that will
launch an X11 application passing to it the paths to the items that
were dropped on the application?
I tried using Sanchez's DropScript with a bit of shell script:
open-x11 xterm
/Users/lcp/isabelle/Repos/Distribution/bin/isabelle-interface "$@"
However, only the xterm launches. If I replace the second line by
/usr/bin/aless "$@"
then AquaLess launches with the dropped arguments, so perhaps the
problem is caused by the way X11 handles command-line arguments. Any
ideas?
Larry Paulson
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.