What is Macintosh equivalent of relaunch handler?
Bill Vlahos
bvlahos at mac.com
Fri Mar 29 13:41:54 EDT 2019
Doing this on startup works perfectly but I don’t see how my app can get notification any other way while it is running.
I’ve tried openCard, preOpenCard, openStack, preOpenStack, and resumeStack but no luck.
Bill
> On Mar 29, 2019, at 12:14 AM, Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> To get the args, just know that any word is an arg, and a quoted string counts as one word, so this:
>
> on startup
> put $1 &cr& $2 &cr& $3
> end startup
>
> ...when call from:
>
> ./myapp ThisIsArg1 "And this is a multi-word arg" "this,is,delimited"
>
> ...would give you:
>
> ThisIsArg1
> "And this is a multi-word arg"
> "this,is,delimited"
>
> From there you can parse to your heart's delight.
>
> That is, once we figure out how your app will get notification...
More information about the use-livecode
mailing list