Paste from clipboard

andrew h andrew_h at excite.com
Sun Oct 1 15:09:42 EDT 2006


Below is Klaus's suggestion to my problem, with a few minor alts. Thanks Jim for your help too, I guess the saying "there's more than one way to skin a cat" is true.

Andrew
 
on mouseUp
  put clipboardData into tTitle
  put wordOffset("Prize", tTitle) into prizeoffset
  put word 1 to (prizeoffset-1) of tTitle into fld "Race title:"





 --- On Sun 10/01, Jim Ault < JimAultWins at yahoo.com > wrote:
From: Jim Ault [mailto: JimAultWins at yahoo.com]
To: use-revolution at lists.runrev.com
Date: Sun, 01 Oct 2006 08:46:19 -0700
Subject: Re: Paste from clipboard

get the clipboarddata<br>put word 1 to 5 of it into fld destination<br><br>set the itemDel to "/"<br>put item 1 to -2 of it into fld pathToFileName<br><br>Jim Ault<br>Las Vegas<br><br><br>On 10/1/06 2:30 AM, "andrew h" <andrew_h at excite.com> wrote:<br><br>> <br>> <br>> I'm a total newbie to programming but Runrev looks friendly enough to have a<br>> go. However, I've run into a bit of a problem. How do I paste from the<br>> clipboard into a field up to a specific word. The word could appear at any<br>> point in the clipboard. I've tried to set the itemDelimiter to the word but<br>> that doesn't help. Any suggestions would be mos appreciated.<br>> <br>> Andrew<br><br><br>_______________________________________________<br>use-revolution mailing list<br>use-revolution at lists.runrev.com<br>Please visit this url to subscribe, unsubscribe and manage your subscription preferences:<br>http://lists.runrev.com/mailman/listinfo/use-revolution<br>

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!





More information about the Use-livecode mailing list