• 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: error number -1799 and good results?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error number -1799 and good results?


  • Subject: Re: error number -1799 and good results?
  • From: Axel Luttgens <email@hidden>
  • Date: Thu, 13 Sep 2012 23:10:03 +0200

Le 13 sept. 2012 à 21:44, Iurista GmbH a écrit :

> Hi
>
> I found this piece of code on http://hintsforums.macworld.com
>
> tell application "Finder"
> 	set proc_list to name of every process whose visible is true
> end tell
>
> The result is puzzling:
>
> tell application "Finder"
> 	get name of every process whose visible = true
> 		--> error number -1799
> end tell
> tell application "System Events"
> 	get name of every process whose visible = true
> 		--> {"Finder",  "AppleScript Editor", "firefox"}
> end tell
> Ergebnis:
> {"Finder", "AppleScript Editor", "firefox"}

Interesting; never noticed (or have forgotten it) that those process-related commands have been relegated in Finder's Legacy suite, with following comment: "Operations formerly handled by the Finder, but now automatically delegated to other applications".

Axel

(on 10.7.4 here)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


References: 
 >error number -1799 and good results? (From: Iurista GmbH <email@hidden>)

  • Prev by Date: Re: error number -1799 and good results?
  • Next by Date: Re: error number -1799 and good results?
  • Previous by thread: Re: error number -1799 and good results?
  • Next by thread: List Current MacUpdate Items
  • Index(es):
    • Date
    • Thread