• 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: Sorting characters of the text - script doesn't work as expected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting characters of the text - script doesn't work as expected


  • Subject: Re: Sorting characters of the text - script doesn't work as expected
  • From: Yvan KOENIG <email@hidden>
  • Date: Fri, 26 May 2017 19:35:17 +0200


Le 26 mai 2017 à 19:14, Brian Christmas <email@hidden> a écrit :

Yvan, I’ve found comparisons of a variablr to ‘{}’ often fail.

What I prefer is 

if count of LithuanianRecords is not 0 then
Does it work in your case?

Regards

Santa

On 27 May 2017, at 3:11 am, Yvan KOENIG <email@hidden> wrote:

if LithuanianRecords is not {} then

I don't remember having problem with comparing to {} but it doesn't hurt to use you preferred syntax.
I often saw this syntax here and there.

In fact I'm bored because, now that the cause of the original problem is identified, I have quite no hope to get the answer to what puzzled me:
what is the true reason why the script freeze when it is asked to execute :
set MyDoc to text of document i
on my machine.
Minor complementary problem :
how were the infamous extraneous couples "FC FF" inserted in the original files ?

Yvan KOENIG running Sierra 10.12.5 in French (VALLAURIS, France) vendredi 26 mai 2017 19:30:33



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Sorting characters of the text - script doesn't work as expected (From: ILJA SHEBALIN <email@hidden>)
 >Re: Sorting characters of the text - script doesn't work as expected (From: ILJA SHEBALIN <email@hidden>)
 >Re: Sorting characters of the text - script doesn't work as expected (From: ILJA SHEBALIN <email@hidden>)
 >Re: Sorting characters of the text - script doesn't work as expected (From: ILJA SHEBALIN <email@hidden>)
 >Re: Sorting characters of the text - script doesn't work as expected (From: Yvan KOENIG <email@hidden>)
 >Re: Sorting characters of the text - script doesn't work as expected (From: Yvan KOENIG <email@hidden>)
 >Re: Sorting characters of the text - script doesn't work as expected (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Sorting characters of the text - script doesn't work as expected
  • Next by Date: Re: Sorting characters of the text - script doesn't work as expected
  • Previous by thread: Re: Sorting characters of the text - script doesn't work as expected
  • Next by thread: Re: Sorting characters of the text - script doesn't work as expected
  • Index(es):
    • Date
    • Thread