Page 1 of 1
New Locale Notify
Posted: Wed Nov 04, 2015 5:42 am
by mritter0
I would like to see a system like IIntuition->StartScreenNotify() for changes in Locale. Have a built-in way to notify programs to switch catalogs.
Re: New Locale Notify
Posted: Wed Nov 04, 2015 7:48 am
by tonyw
Why?
Re: New Locale Notify
Posted: Wed Nov 04, 2015 1:35 pm
by broadblues
This is already possible, just put a variable notification (NotifyVar()) on the locale.prefs for 4.x or a file notification IDOS->StartNotify() for 3.x
Then reload your locale on the notification.
There was athread about this already but s simple search for Locale doesn't reveal it. (perhaps it was on os4coding instead?)
Re: New Locale Notify
Posted: Wed Nov 04, 2015 8:30 pm
by mritter0
@broadblues: That is what I am doing.
@tonyw: Why not? Why do we need a screen change notify system? Why do we need a directory change notify system? People have asked how to do this, so it obviously would be of benefit.
Re: New Locale Notify
Posted: Wed Nov 04, 2015 9:52 pm
by broadblues
@mritter
than there no need for anything else. Unless it doesn't work?
Overall though I'm not sure if you should be autoupdating anyway, some programs allow changing locale (ppaint for exaample, albeit with a custom locale system) but few auto change from what they were started with.