Paste from clipboard

Jim Ault JimAultWins at
Sun Oct 1 11:46:19 EDT 2006

get the clipboarddata
put word 1 to 5 of it into fld destination

set the itemDel to "/"
put item 1 to -2 of it into fld pathToFileName

Jim Ault
Las Vegas

On 10/1/06 2:30 AM, "andrew h" <andrew_h at> wrote:

> I'm a total newbie to programming but Runrev looks friendly enough to have a
> go. However, I've run into a bit of a problem. How do I paste from the
> clipboard into a field up to a specific word. The word could appear at any
> point in the clipboard. I've tried to set the itemDelimiter to the word but
> that doesn't help. Any suggestions would be mos appreciated.
> Andrew

More information about the Use-livecode mailing list