Any way to create a Mac LC background app?
Richard Miller
wow at together.net
Wed Mar 12 17:17:10 EDT 2014
Thanks, Richard. I think this approach will do it... if only I knew more
about implementing it! I'll read about cron's and try to figure it out.
If anyone can offer a bit more guidance, that would be great.
Very much appreciated.
On 3/12/14 5:07 PM, Richard Gaskin wrote:
> Your app could use the shell function to set up a cron job, and once
> that's in place it could handle command line arguments so it can be
> called with -ui to run facelessly.
>
> When run with -ui, the environment() function will return "command
> line", so you can use a startup handler to determine if it's been
> launched from the command line, and if so check the value of $# to get
> the number of arguments passed to it so you can parse them out as #1,
> #2, etc.
>
> For cron:
> <http://hints.macworld.com/article.php?story=2001020700163714>
>
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> Follow me on Twitter: http://twitter.com/FourthWorldSys
>
>
>
> Richard Miller wrote:
>
> > What I need is a way to have a Mac LC (desktop) app run once every 12
> > hours, complete a brief 15-second routine, shut down, then repeat
> > every 12 hours... all without user interaction.
> >
> > On 3/12/14 3:52 PM, Richard Miller wrote:
> >> Is there any way for a LC app to run in the background on a Mac, so
> >> the user won't see it listed when they cycle through their open
> >> programs? I know how to make it invisible, but it still shows up
> >> when you Apple Key-Tab through running apps.
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list