4 echo -e "$(echo $*|sed 's/%/\\\x/g')"
12 # echo "$2= $1 of Window $WIN ="
15 #echo hey "$APP" count View of $1 Window $WIN
17 local CNT
="$(hey "$APP" count View of $1 Window $WIN | grep result | cut -d" " -f 7)"
19 if [ -z "$CNT" ]; then
24 # echo "${2}CNT=$CNT="
26 if [ "$CNT" -lt 1 ]; then
32 while [ $C -lt $CNT ]; do
33 local INAME
="$(hey "$APP" get InternalName of View $C of $1 Window $WIN | grep result | sed 's/.* : //')"
34 echo "$2:: View $C/$CNT ($INAME) ( View $C of ${1}Window $WIN )"
35 # hey "$APP" get View $C of $1 Window $WIN | awk " { print \" $2\" \$0 } "
36 # hey "$APP" getsuites of View $C of $1 Window $WIN | grep Label >/dev/null
38 # if hey "$APP" getsuites of View $C of $1 Window $WIN | grep Label >/dev/null; then
39 # echo hey "$APP" getsuites of View $C of $1 Window $WIN | grep Label
40 # hey "$APP" get Label of View $C of $1 Window $WIN | grep result | awk " { print \" $2\" \$0 } "
43 # if hey "$APP" getsuites of View $C of $1 Window $WIN | grep Text >/dev/null; then
44 # echo hey "$APP" getsuites of View $C of $1 Window $WIN | grep Text
45 # hey "$APP" get Text of View $C of $1 Window $WIN | grep result | awk " { print \" $2\" \$0 } "
48 if hey
"$APP" getsuites of View
$C of
$1 Window
$WIN |
grep Value
>/dev
/null
; then
49 echo hey
"$APP" getsuites of View
$C of
$1 Window
$WIN |
grep Value
50 hey
"$APP" get Value of View
$C of
$1 Window
$WIN |
grep result |
awk " { print \" $2\" \$0 } "
53 #hey "$APP" getsuites of View $C of $1 Window $WIN | awk " { print \" $2\" \$0 } "
55 dumpview
"View $C of $1" " $2"
62 if [ "$#" -lt 2 ]; then