Hello.
Womdering if there is a simple way to display a notification? I'm not intertested in anything fancy. Just being able to show a notice when my program loads.
The usual mechanism would be Ringhio. If it still does the job. But doesn't have its own library I can see.
I found application.library but it needs an app to be registered before it does anything. So, for just displaying a message and nothing else, does an app need to be registered with application.library and go through all the motions to do it?
Simple way to display a notification?
Re: Simple way to display a notification?
I'm not on my miggy, so can't give you detailed instructions, but take a look at sys:documentation/ringhio/test_ringhio.rexx
It gives you the most simple script to display a notification with your personal message (and icon, if you want to).
It gives you the most simple script to display a notification with your personal message (and icon, if you want to).
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Re: Simple way to display a notification?
Thanks. I actually did find that. Forgot to specify I'm writing in C.
To duplicate it, I would need to craft an Arexx message, then find and post it to the port in a Forbid. Both to register and then for message.
Given what's involved, I might as well do it cleanly, using the library. The only caveat is a bug in older versions. Would prefer one code block than can work on all versions. But no big deal if only modern one can be used to simplify it.
To duplicate it, I would need to craft an Arexx message, then find and post it to the port in a Forbid. Both to register and then for message.
Given what's involved, I might as well do it cleanly, using the library. The only caveat is a bug in older versions. Would prefer one code block than can work on all versions. But no big deal if only modern one can be used to simplify it.
Re: Simple way to display a notification?
Ah sorry then.
Can't code myself, but maybe some if the wizards will step in?
Can't code myself, but maybe some if the wizards will step in?
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Re: Simple way to display a notification?
It seems pretty trivial. Just not as simple as using DOS or Intuition to display a requester. For a message to pass by the application library must be opened, an app must be registered and then finally a message can be displayed.
Re: Simple way to display a notification?
I think the simplest method would be the "TimedDosRequester" function. Check it out in the DOS autodoc.
AmigaOne X1000 with 2GB memory - OS4.1 FE
Re: Simple way to display a notification?
I do actually use this as well but I reserve it for errors. But this is more in your face than a little notification in the corner. I ended up just registering an app to give a notification which worked fine after I ironed out the bugs.