MACSCRPT Archives

November 2008

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Peter J. Hartmann" <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 20 Nov 2008 11:07:44 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
Hi,

back in August I posted the following question:

Am 12.08.2008 um 11:34 schrieb Peter J. Hartmann:

> Hi,
>
> is anybody able to execute the following line on Leopard
>
> "abc" as integer
>
> without the script hanging eternally or crashing (Applescript 2.0.1)?
> On pre-Leopard systems I just received the appropriate error.
> Is this a known issue?
> Did I miss a syntax change?


Yesterday, I finally solved the issue: a missing ",".

After quite a bit of frustrating detective work, giving up and  
starting over again, by removing all the preferences files from my  
Preferences folder and putting them back in batches, as a measure of  
desperate last resort, I found the culprit, a hidden preferences file  
named ".GlobalPreferences.plist".
This file also includes number formatting strings. For whatever  
reasons key 1 of AppleICUNumberSymbols was set to an empty string  
value. After I set it to "," things returned to normal.

"Things" means
- I could make the above mentioned AS line work properly, i.e. throw  
an error
- Calculator app now work in German
- I am able to launch the bit torrent client Transmission again. It  
had crashed on launch since v. 1.2.0

Hoping this is of interest to anybody,


___ Peter Hartmann ________

mailto:[log in to unmask]

ATOM RSS1 RSS2