用RECT传值出来,在给出位置判断……
如题。
lz客气,我给你一个例子,你看看可不可以用……
/* Start Code Dummy */
[-] testcase tcScrollBar () appstate none
[ ] RECT MyRect
[ ] MyWindow.SetActive ()
[ ] MyRect = MyWindow.GetRect ()
[ ] print (MyRect)
[-] if MyRect.ySize < 800
[ ] MyWindow.LastText.ScrollIntoView ()
[ ] print ("As scrollbar is enabled, object is not in view")
[ ] MyWindow.LastText.GetText ()
/* End Code Dummy */
希望有帮助。