Here is a handler in a field script. The exit to top is necessary because of
the issue. The source can be an email from the Mail app, or it can be text from
an OCR'd PDF. The CleanASCII function is necessary because Acrobat will insert
non-printing characters for what reason I do not know, that will crash
Livecode. Since the issue occurs no matter the source, I do not think it's the
nature of the data, especially since the data gets put into the field, so all
functions have clearly returned (otherwise it would never see exit to top).
constant cModeList = "uppercase,lowercase,numbers,custom"
constant cCustomChars = "!#$%&'*+-/=?^_`{|}~.@"
on dragDrop
put cleanASCII(the dragData ["text"], cModeList, cCustomChars) into me
exit to top
end dragDrop
> On Mar 24, 2017, at 09:51 , Paul Hibbert via use-livecode
> <[email protected]> wrote:
>
> Just tried a simple test on Mac OS Sierra / LC8.1.3 and it seems to work fine
> here. Is there anything else that could be interfering with the dragDrop?
>
> Maybe the Message Watcher could give a clue as to what is happening.
>
> Paul
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode