Dictation notation code and how to disable it
Doug Easterbrook
doug at artsman.com
Tue Feb 6 16:36:18 UTC 2024
hi Nigel
put this code somewhere near when you start up omnis. it will update your config.json file
the key one is ‘useDictation’. so set it false.
there are more config.json items you can set…. and the changes don’t take effect right away in studo 10… they will take effect qhen you quit omnis and start it again.
hope that helps.
# set some key values in config.json
Calculate Row as $root.$prefs.$getconfigjson()
If Row.$cols.$findname('macOS')
Calculate Row.macOS as TMObjs.$makeparamrow(Row.macOS,'ignoreTitleClicksInBackground',kFalse)
# V1007363 kfalse to have title on left and icons on right in Monterey.
# V1007363 Ktrue means put title above icons as traditional - decision for keeping interface like old times
Calculate Row.macOS as TMObjs.$makeparamrow(Row.macOS,'useToolbarStyleExpanded',kTrue)
# V1007434 caps lock on sonoma affects data entry reported as ST/WO/2788.
# This was fixed in the latest releases of both Studio 11 and 10.22 (32066) so set it TRUE later after testing
Calculate Row.macOS as TMObjs.$makeparamrow(Row.macOS,'useDictation',kFalse)
End If
Do $root.$prefs.$setconfigjson(Row)
also…. I use the freely available external TMOBJS to ADD COLUMNS to a row on the fly and replace values if the column is already in the row.
if you don’t want to use that, then you’ll need to use code somewhat like the few lines below for every thing you want to change int he config.json file.
if row.$cols.$findname(’useDictation’)
else
do row.$addcol(’useDictation’)
calculate row.useDictaion as kfalse
end if
Doug Easterbrook
Arts Management Systems Ltd.
mailto:doug at artsman.com
http://www.artsman.com
Phone (403) 650-1978
> On Feb 6, 2024, at 5:15 AM, Nigel Hughes <nigel at rnamh.co.uk> wrote:
>
> Hi
>
> A client using macOS Sonoma and an app based on Studio 10.22 likes to use dictation to enter data into fields.
> That works apart from Studio crashing if dictation is still enabled and Save or Cancel buttons are clicked, all fine when clicked if dictation has stopped.
>
> I can see on the Standard Menu Command all the codes for the Edit menu down to Paste from file but there is no Start/Stop dictation which is next on the edit menu below Paste from file.
>
> Does anyone know if it’s possible to get a code for that command ?
>
> Regards
>
> Nigel Hughes
>
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list