JAWS

:2011
  Twitter   F******k   VKontakte   Telegram   Mastodon

JAWS 9.0, " JAWS" (Adjust JAWS Verbosity) " JAWS" (Adjust JAWS Options). , , Insert+V. . , , .

( JAWS "" (item)) ( (nodes)), , , , , ... , JAWS .

. , , . .

, . , .

JAWS. , AdjustJAWSOptions. AdjustJAWSVerbosity (default.jss), . , .

JAWS.

, , :

  • AdjustJAWSOptions, OptionsTreeCore, .
  • .
  • .

, , .

: . @msg, , , ( , , .jsm).

" JAWS" (Adjust JAWS Options) , OptionsTreeCore.

, - . , , JAWS. :

  • .
  • "|".
  • , , . - , JAWS , ; - , . ":".

_DLG_SEPARATOR, HjConst.jsh. -.

:

"_1:_1"+_DLG_SEPARATOR
	+"_2:_2" +_DLG_SEPARATOR
	;       ...
	

, 1 2 (, , ):

include "HjConst.jsh"
Script AdjustJAWSOptions ()
var
	string sList
	Let sList = "Option1:1"+_DLG_SEPARATOR
		+"Option2:2"
		
	OptionsTreeCore (sList)
EndScript

, " JAWS" (Adjust JAWS Options), " _" (_ Options), _ - (, , ). : 1 2.

, ( ), .

, : , , , .

,

, JAWS , . , . 1 Option1. , g_bOption1, 0 ("") 1 (""):

globals
int g_bOption1

, , :

string Function Option1 (int iState)
;   .
If iState == 0 Then
	let g_bOption1 = not g_bOption1
EndIf

;   
;  .
If g_bOption1 Then
	return ""
EndIf
return ""
EndFunction

, - iState. , (.. , , , ). , . , .

. 1.

, JAWS, 1 "" "" .

2 , Option2, . 2.

,

, " JAWS" (Adjust JAWS Options), , , .

, , .

, , "Hlp" ( ). , 1 Option1, , , Option1Hlp. :

string Function Option1Hlp (int iState)
	return "  1."
EndFunction

2, , Option2Hlp.

OptionsTreeCore , . , , , .

, OptionsTreeCore. , , , . , , , - . "^", :

let sList = "Option1:1^1^1" + _DLG_SEPARATOR
	+ "Option2:1^2^2"

"^", NODE_PATH_DEliMITER, UO.jsm.

.

, , , OptionsTreeCore. False 0. , , . :

Let sList = "Option1:1"+_DLG_SEPARATOR
	+"Option2:2"+_DLG_SEPARATOR
	+"Option3:5^3"
	
	OptionsTreeCore (sList,0,"1")

: 1 5. 1 1 2, 5 3.

ConvertListToNodeList, , .

ConvertListToNodeList . - . .

- ( , "^"), , . FSDN ( Strings).

:

Let sList = "Option1:1"+_DLG_SEPARATOR
	+"Option2:2"
	
ConvertListToNodeList(sList, "1")
ConvertListToNodeList(sList, "1")
OptionsTreeCore (sList)

, ConvertListToNodeList ( ). 1, 1, 1 2. ConvertListToNodeList , :

ConvertListToNodeList(sList, "1^1")

TreeCoreGet*Options UserOptions.jss.

, NodeHlp . UserOptions.jss.

(, , ):

string Function NodeHlp (string sNodeName)
	If StringContains (sNodeName, GetActiveConfiguration()) Then
		return "    !"
	EndIf
	Return NodeHlp (sNodeName)
EndFunction

- sNodeName, . : , .

, (, "1"), :

If 0 == StringCompare(sNodeName, "1") Then
; ...


, .
: ©  ,  2004-2024