drapplet?
drapplet?
- Subject: drapplet?
- From: Mitchell L Model <email@hidden>
- Date: Wed, 25 Jan 2017 17:51:46 -0500
I rarely make script apps, so this may be a really naive question. Is it widely (at all?) recognized that you can have a script app that can be run either by double-clicking or by dragging files over it? A "drapplet"? As follows:
-- Demonstration of a "drapplet": -- a script that can be run either by double-clicking -- or by dragging files over its icon display alert "Double-clicked or run from editor" -- I don't know how to tell the difference set oldDelimiters to AppleScript's text item delimiters set AppleScript's text item delimiters to {return & return} display alert "Files dropped:" & return & return & (args as text) set AppleScript's text item delimiters to oldDelimiters
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden