What is Macintosh equivalent of relaunch handler?

Phil Davis revdev at pdslabs.net
Fri Mar 29 13:50:24 EDT 2019


Hi Bill,

It sounds like this is your scenario:
You have an app with UI that is running, and you want it to occasionally 
send/receive info to/from another invisible 'helper' app. Is that correct?

If so, can you use sockets in your environment? That would be a simple 
way to get the interaction you want between the 2 apps.

Or maybe I misunderstand your scenario.

Best -
Phil


On 3/29/19 10:41 AM, Bill Vlahos via use-livecode wrote:
> 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...
>
> _______________________________________________
> 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

-- 
Phil Davis





More information about the use-livecode mailing list