• 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: Forcing 'tell app' to use carbon, rather than classic app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forcing 'tell app' to use carbon, rather than classic app


  • Subject: Re: Forcing 'tell app' to use carbon, rather than classic app
  • From: cassj <email@hidden>
  • Date: Tue, 7 Jan 2003 22:57:33 -0500

Phillipe-

> 'kind' is neither an AppleScript keyword, nor a Finder keyword.

I respectfully disagree with you, Phillippe. I wrote this little
script that will return the 'kind' attribute of any file you choose:


tell application "Finder"
activate
set filechosen to choose file
set filekind to kind of filechosen
display dialog "filekind: " & filekind
end tell


I'm not saying this is THE solution to Bill's situation, but it seems
like t least one way to distinguish between a "Classic Application" and
an "Application".

Kind regards,
Cassj





On Wednesday, January 8, 2003, at 01:36 AM, Philippe Gruchet wrote:

> From: email@hidden
>
>> Just taking a quick glance at this, the difference in the Classic
>> versus non-classic version of the same app seems to be its "kind".
>> You may try choosing the preferred app by knowing this. A Classic
>> app has the kind designation of "Classic Application" and a
>> non-classic app has a kind of simply "Application". I'm not sure
>> about a carbonized app's designation.
>
> 'kind' is neither an AppleScript keyword, nor a Finder keyword.
>
> You can get some information via the 'info for' instruction.
>
> Example, the Apple's Script Editor:
> --
> tell application "Finder" to application file id "ToyS" as text
> info for result
> --
>
> Regards,
> Philippe Gruchet/SVM Mac
> VNU Publications France
> http://svmmac.vnunet.fr
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/applescript-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Forcing 'tell app' to use carbon, rather than classic app (From: Philippe Gruchet <email@hidden>)

  • Prev by Date: Re: Path To commands
  • Next by Date: Re: Date Help - D&T stamp w Short dates
  • Previous by thread: Re: Forcing 'tell app' to use carbon, rather than classic app
  • Next by thread: RE: Forcing 'tell app' to use carbon, rather than classic app
  • Index(es):
    • Date
    • Thread