@@ -312,6 +312,35 @@ def script_dateTime(self,gesture):
312312 text = winKernel .GetDateFormatEx (winKernel .LOCALE_NAME_USER_DEFAULT , winKernel .DATE_LONGDATE , None , None )
313313 ui .message (text )
314314
315+ @script (
316+ # Translators: Input help mode message for set the first value in the synth ring setting.
317+ description = _ ("Set the first value of the current setting in the synth settings ring" ),
318+ category = SCRCAT_SPEECH ,
319+ gestures = ("kb(desktop):NVDA+control+home" , "kb(laptop):NVDA+shift+control+home" )
320+ )
321+ def script_FirstValueSynthRing (self ,gesture ):
322+ settingName = globalVars .settingsRing .currentSettingName
323+ if not settingName :
324+ # Translators: Reported when there are no settings to configure in synth settings ring (example: when there is no setting for language).
325+ ui .message (_ ("No settings" ))
326+ return
327+ settingValue = globalVars .settingsRing .first ()
328+ ui .message ("%s %s" % (settingName ,settingValue ))
329+
330+ @script (
331+ # Translators: Input help mode message for set the last value in the synth ring settings.
332+ description = _ ("Set the last value of the current setting in the synth settings ring" ),
333+ category = SCRCAT_SPEECH ,
334+ gestures = ("kb(desktop):NVDA+control+end" , "kb(laptop):NVDA+shift+control+end" )
335+ )
336+ def script_LastValueSynthRing (self ,gesture ):
337+ settingName = globalVars .settingsRing .currentSettingName
338+ if not settingName :
339+ ui .message (_ ("No settings" ))
340+ return
341+ settingValue = globalVars .settingsRing .last ()
342+ ui .message ("%s %s" % (settingName ,settingValue ))
343+
315344 @script (
316345 # Translators: Input help mode message for increase synth setting value command.
317346 description = _ ("Increases the currently active setting in the synth settings ring" ),
@@ -321,7 +350,6 @@ def script_dateTime(self,gesture):
321350 def script_increaseSynthSetting (self ,gesture ):
322351 settingName = globalVars .settingsRing .currentSettingName
323352 if not settingName :
324- # Translators: Reported when there are no settings to configure in synth settings ring (example: when there is no setting for language).
325353 ui .message (_ ("No settings" ))
326354 return
327355 settingValue = globalVars .settingsRing .increase ()
0 commit comments