Following is clipboard code from my PReader program.
This is NSBasic, but NewtonScript code should be pretty similar.
Eric
2084 LET clipBoardDataFrame={}
2086 LET clipBoardDataFrame.label=substr(Layout_0.txtText.text,0,10)
2088 LET clipBoardDataFrame.types=[['text]]
2090 LET clipBoardDataFrame.bounds={}
2092 LET clipBoardDataFrame.data=[[{text:u.Layout_0.txtText.text}]]
>>Date: Wed, 12 Dec 2001 02:04:39 -0500
>>Subject: Re: [NTLK] Password Generator
>>From: Stephanie Maks <steph_at_maksystems.com>
>> I also want to add a button that will copy the password right into the
>> clipboard, but haven't figured that one out yet. As I said earlier, I'm new
>> at this.
-- This is the Newtontalk mailinglist - http://www.newtontalk.net To unsubscribe or manage: visit the above link or mailto:newtontalk-request_at_newtontalk.net?Subject=unsubscribe
This archive was generated by hypermail 2.1.2 : Wed Jan 02 2002 - 12:01:40 EST