Add Droplet functionality to Applet...
Add Droplet functionality to Applet...
- Subject: Add Droplet functionality to Applet...
- From: Matthew Broms <email@hidden>
- Date: Mon, 05 Jan 2004 10:49:41 -0500
I have an AppleScript Studio project that I created using the Assistant
choosing the 3AppleScript Application2 option. Now I need to enable it to
launch when I drag a document onto it9s icon (i.e. I need it to also
function as a droplet now). Reading Matt9s new book, I found that the only
difference supposedly between the two was the 3on open2 handler. So I added
this to my code, but to no avail after re-compiling. Then I tried a test,
creating a new project choosing 3AppleScript Droplet2 and sure enough the
only code it had were place holders for 3on idle2 and 3on open2 handlers
(appearing the same way I tried it in my code). But it worked when I
compiled and tested it. Have I missed something? What am I doing wrong
here? Can this be done - can an Applet also be a Droplet?
Matt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.