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

error number -1799 and good results?


  • Subject: error number -1799 and good results?
  • From: Iurista GmbH <email@hidden>
  • Date: Thu, 13 Sep 2012 21:44:27 +0200

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"}

Why is this error code, although the scripts seems to delivers a proper result?
Any hints for my curiosity?
Thanks
Rudolf



--
The price of freedom is eternal vigilance (Thomas Jefferson, US President)

This mail is from:
Rudolf O. Durrer
IURISTA CONSULT GmbH
Legal Counselors
Switzerland

email@hidden
email@hidden






 _______________________________________________
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

  • Follow-Ups:
    • Re: error number -1799 and good results?
      • From: Axel Luttgens <email@hidden>
    • Re: error number -1799 and good results?
      • From: Lists <email@hidden>
    • Re: error number -1799 and good results?
      • From: "koenig.yvan" <email@hidden>
  • Prev by Date: Re: Script Debugger 5: Select Current Line (was Duplicate Selection Handler)
  • Next by Date: Re: error number -1799 and good results?
  • Previous by thread: Re: Use Spotlight to Archive Files
  • Next by thread: Re: error number -1799 and good results?
  • Index(es):
    • Date
    • Thread