• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: weird clipboard behaviour
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird clipboard behaviour


  • Subject: Re: weird clipboard behaviour
  • From: Dave Johnson <email@hidden>
  • Date: Wed, 14 Nov 2001 13:11:09 -0500

on 11/14/01 12:22 PM, JJ at email@hidden wrote:

>> 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
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Does not work in X.

Thanks

Dave


References: 
 >Re: weird clipboard behaviour (From: JJ <email@hidden>)

  • Prev by Date: Re: weird clipboard behaviour
  • Next by Date: Re: How to name a text box on a Master Page
  • Previous by thread: Re: weird clipboard behaviour
  • Next by thread: Re: weird clipboard behaviour
  • Index(es):
    • Date
    • Thread