Many thanks to Paul Dupuis and Mark Waddingham.  The script below tries to
test their suggestions.  Using 10.0.0 dp5 on an Intel Mac, and watching
execution after the breakpoint, I get errors at each "try" in the script.
So it does not seem that I can write the fullClipboardData
or rawClipboardData to an array variable; and it does not seem that I can
access any element of the rawClipboardData array.  Further advice is
welcome.

Best wishes,
David Epstein

*on* a2

*lock* clipboard

*put* the keys of the clipboardData into myK1

*put* the keys of the fullClipboardData into myK2

*put* the keys of the rawClipboardData into myK3

*breakpoint*

*try*

*put* the fullClipboardData into ta2

*catch* myError

*put* myError into e2

*end* *try*

*try*

*put* the rawClipboardData into ta3

*catch* myError

*put* myError into e3

*end* *try*

*put* 1 into n

*repeat* for each line k in myK3

*try*

*put* the rawClipboardData[k] into temp[n]

*catch* myError

*put* myError into e4[n]

*end* *try*

*add* 1 to n

*end* *repeat*

*unlock* clipboard

*end* a2
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to