• 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: Need to run script periodically (updated for your info)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need to run script periodically (updated for your info)


  • Subject: Re: Need to run script periodically (updated for your info)
  • From: Christopher Stone <email@hidden>
  • Date: Wed, 15 Feb 2017 17:41:39 -0600

On Feb 15, 2017, at 09:27, Brian Christmas <email@hidden> wrote:
tell application "Finder"
if not (exists process "Interarchy") then error -128
end tell


Hey Brian,

That code runs but doesn't work as advertised.  See the Log History:

------------------------------------------------------
tell application "Finder"
   exists process "Script Debugger"
      --> error number -1799 from process "Script Debugger"
end tell
tell application "System Events"
   exists process "Script Debugger"
      --> true
end tell
------------------------------------------------------

It throws an error and then passes that line to System Events, so you might as well talk to SEV in the first place.

--
Best Regards,
Chris

 _______________________________________________
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: Need to run script periodically (updated for your info)
      • From: Brian Christmas <email@hidden>
References: 
 >Re: Need to run script periodically (From: Brian Christmas <email@hidden>)
 >Fwd: Need to run script periodically (updated for your info) (From: Brian Christmas <email@hidden>)

  • Prev by Date: Fwd: Need to run script periodically (updated for your info)
  • Next by Date: Re: Need to run script periodically (updated for your info)
  • Previous by thread: Fwd: Need to run script periodically (updated for your info)
  • Next by thread: Re: Need to run script periodically (updated for your info)
  • Index(es):
    • Date
    • Thread