Re: list to a text representation of that list
Re: list to a text representation of that list
- Subject: Re: list to a text representation of that list
- From: yvan-koenig <email@hidden>
- Date: Wed, 16 Mar 2005 09:55:17 +0100
Le 16 mars 2005 , à 9:26, jj a écrit :
…
on error msg
set msg to text 23 thru -2 of msg
if msg starts with "(" and msg ends with ")" then --> unknown
object
return text 2 thru -2 of msg
else
return msg
end if
end try
end whateverToText
I wish to write that your script assumes that the machine is using
english.
If it is using french for instance, the raw message is :
"Impossible d’obtenir application {1, \"a\", {x:2}}." and so, the way
you truncate it is wrong.
Perhaps safer to use "application" as TID to cut more accurately.
Yvan KOENIG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden