• 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: alis ???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: alis ???
  • Next by Date: Need way to set the Creation date of a file via OSX
  • Previous by thread: Re: alis ???
  • Next by thread: How to get parameter item of a string in a list
  • Index(es):
    • Date
    • Thread