I know how to accept and open files dropped onto the app icon, but is there a way to accept raw text dropped onto an icon like SimpleText does?
i.e. when you drag a paragraph from a webpage in Safari onto SimpleText in the dock, it opens a new plain text document that contains the text you dropped onto its icon.
[quote=463080:@Emile Schwarz]And what about AcceptTextDrop ?
Do you accept them ?[/quote]
Windows and Controls can have AcceptTextDrop, but not Application, which is where I’m assuming you’d have to deal with something being dropped on the application icon.
Both are in foreign programming languages. However, translating to Xojo shouldn’t be too hard (I don’t have time right now; if you don’t get other answers, I’ll try later).
If you’re using the MBS plugin, there are ready-classes to deal with services. Otherwise, declares will be the way to go.