Re: weird clipboard behaviour
Re: weird clipboard behaviour
- Subject: Re: weird clipboard behaviour
- From: JJ <email@hidden>
- Date: Wed, 14 Nov 2001 18:22:10 +0100
>
set test_string to "abcdefghijklmne"
>
>
display dialog (offset of "e" in test_string)
>
>
set the clipboard to test_string
>
set test_string2 to the clipboard
set test_string2 to (the clipboard as string)
(works for me, returning "5")
>
display dialog (offset of "e" in test_string2)
>
>
display dialog test_string2
>
>
>
The first 'offset of "e"' gives me 5 as I would expect. However after a trip
>
through the clipboard offset can no longer find "e". It returns 0. I've
>
tried many different variations (copy vs set) added "as string" etc. but it
>
comes out the same. Any ideas?
JJ