• 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: choose application list - revisited
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: choose application list - revisited


  • Subject: Re: choose application list - revisited
  • From: Walter Ian Kaye <email@hidden>
  • Date: Thu, 18 Sep 2003 18:15:03 -0700

At 06:45p -0600 09/18/2003, Robert Poland didst inscribe upon an electronic papyrus:

Am I the only one to have this problem? If not, surely someone knows how to fix it?

tell application "Finder" to get creator type of process (choose application)
-->

Brings up a list of every application that was ever on the computer, including a lot of OS 9 and applescript applications, whether they still exist or not. Selecting one of them gets an error "Finder got an error: A descriptor type mismatch occurred.". this occurs with applications that are running or not running.

Perhaps your email is not working? You already received replies when you asked this question before. Are you reading this message now?

ALSO

Is there a way to update the list to something that is current?

Well how about this:

tell app "System Events"
set app_list to name of every process whose visible is true
end tell
set app_name to choose from list app_list
if class of app_name is not boolean then
set app_name to item 1 of app_name
tell app "System Events" to creator type of process app_name
end if


-boo
_______________________________________________
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.

  • Follow-Ups:
    • Re: choose application list - revisited
      • From: Emmanuel <email@hidden>
References: 
 >choose application list - revisited (From: Robert Poland <email@hidden>)

  • Prev by Date: choose application list - revisited
  • Next by Date: Re: A script just for fun
  • Previous by thread: choose application list - revisited
  • Next by thread: Re: choose application list - revisited
  • Index(es):
    • Date
    • Thread