• 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: Checking if script is run from login items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking if script is run from login items


  • Subject: Re: Checking if script is run from login items
  • From: Jenni via AppleScript-Users <email@hidden>
  • Date: Fri, 21 Aug 2020 09:39:33 -0700


> On Aug 21, 2020, at 9:27 AM, llee040 <email@hidden> wrote:
>
> I would probably save as an app the one I intend to run directly, so that it
> quits after it accomplishes its purpose. If you see the app icon in your
> Dock, you know you launched it. If its action occurs but there’s no Dock
> icon, then it was launched by the login item. If it has to sit and wait for
> awhile before it does something, then you could do the opposite (make an app
> of the login-launched instance).

        Thanks, Laine, but I really want to know if there’s a flag or something
I can catch when a script is run as a login item.  This would come in handy for
many things.  There must be a way to catch this.
 _______________________________________________
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: Checking if script is run from login items
      • From: Shane Stanley via AppleScript-Users <email@hidden>
    • Re: Checking if script is run from login items
      • From: Ralph Richardson via AppleScript-Users <email@hidden>
References: 
 >Checking if script is run from login items (From: Jenni via AppleScript-Users <email@hidden>)
 >Re: Checking if script is run from login items (From: llee040 via AppleScript-Users <email@hidden>)

  • Prev by Date: Re: Checking if script is run from login items
  • Next by Date: Re: Checking if script is run from login items
  • Previous by thread: Re: Checking if script is run from login items
  • Next by thread: Re: Checking if script is run from login items
  • Index(es):
    • Date
    • Thread