Jump to content
Sign in to follow this  
cnergao

"controlsend" can't work!

Recommended Posts

cnergao

ControlClick("[CLASS:SysListView32]", "List1", "SysListView322","left",1,162,224)

ControlSend("[CLASS:SysListView32]","List1","SysListView322","({END})","0")

Sleep(1000)

ControlClick("[CLASS:SysListView32]", "List1", "SysListView322","left",1,162,554)

Sleep(500)

ControlSend("[CLASS:SysListView32]", "List1","SysListView322","{SHIFTDOWN}")

ControlClick("[CLASS:SysListView32]", "List1", "SysListView322","left",1,162,314)

Sleep(500)

ControlSend("[CLASS:SysListView32]", "List1","SysListView322","{SHIFTUP}")

ControlSend("[CLASS:SysListView32]", "List1","SysListView322","{SHIFTDOWN}") AND ControlSend("[CLASS:SysListView32]", "List1","SysListView322","{SHIFTUP}") can't work!

WHY?

Share this post


Link to post
Share on other sites
cnergao

Take out the "list1" and replace it with "". I don't think thats going to be the window text ;)

Take out the "list1" and replace it with "".The problem is the same!

Share this post


Link to post
Share on other sites
cnergao

first,thank

Issue is resolved!

{shiftdown} and {shiftup} into groups appear!

Example!

ControlSend("[CLASS:SysListView32]", "", "SysListView322", "{SHIFTDOWN}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{SHIFTUP}")

or

ControlSend("[CLASS:SysListView32]", "", "SysListView322", "{SHIFTDOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{SHIFTUP}")

So to select more than one

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.