Hi,
Using the following code, can identify the contents of the accessible object
I have to use the prop parameter("class=*.Window.*[]wfName=textScript") for it to work
byte Find(`hwnd $role [$name] [$prop] [flags] [^waits] [matchIndex] [$navig] [*cbFunc] [cbParam])
But in the acctest function, there is no prop argument, so the following filter function does not work
Is there any other way to solve this problem?
Thank you in advance for any advice and help
david
Function FFC_PS_Editor
Menu Left_dou
Trigger ##L //FFC_PS_Editor
Using the following code, can identify the contents of the accessible object
int w=win("SAPIEN PowerShell Studio 2022" "")
Acc a.Find(w "CLIENT" "" "class=*.Window.*[]wfName=textScript" 0x1004)
str name=a.Name
out name
byte Find(`hwnd $role [$name] [$prop] [flags] [^waits] [matchIndex] [$navig] [*cbFunc] [cbParam])
But in the acctest function, there is no prop argument, so the following filter function does not work
Is there any other way to solve this problem?
Thank you in advance for any advice and help
david
Function FFC_PS_Editor
;/
function# iid FILTER&f
if(!wintest(f.hwnd "SAPIEN PowerShell Studio 2022" "")) ret
Acc a=acc(mouse)
if(a.a and acctest(a "" "CLIENT" 0 "*.Window.*" "" 4)) ret iid
ret -2
Menu Left_dou
Trigger ##L //FFC_PS_Editor