Re: alis ???
Re: alis ???
- Subject: Re: alis ???
- From: Nigel Garvey <email@hidden>
- Date: Tue, 17 May 2005 00:36:06 +0100
Simon Forster wrote on Mon, 16 May 2005 16:24:17 +0100:
>Trying to get the class of an object in Tiger using System Events:
>
>tell application "System Events" to set classOfToProcess to class of
>toProcess
>display dialog classOfToProcess
>
>And get a result of alis!?
>
>Ho hum. New one on me.
It's what happens when you use 'display dialog' directly on the class of
an object. For the result I think you were expecting, you have to coerce
the class explicitly to string first:
display dialog (classOfToProcess as string)
NG
_______________________________________________
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