Hi,
My objective is as follows in windows7:
//open bluetooth connected devices window
EXE>%sys_dir%\bthprops.cpl
movewindow>Devices and Printers,0,0
Resizewindow>Devices and Printers,462,303
set>Devices and Printers
//now I have a second station name available here STATION-100. I need to select that station and right click and do a "direct connect". I donot want to use mouse cursor monitor co-ordinates.
//I tried this
FindWindowWithText>STATION-100,1,result_variable
Now I am stuck here, I found the text successfully, but I now need to select that device and right click and go from there further on. How do I right click the text ??
This is not a button or link, it is a bluetooth connected station. I read some about mousemoverel, but I donno how to use it here
Thanks for the help in advance.
how to LClick after findwindowWithText
Moderators: Dorian (MJT support), JRL
Is this what you are looking for?
Code: Select all
Let>WIN_USEHANDLE=1
FindWindowWithText>STATION-100,1,WinHandle
GetWindowPos>WinHandle,XPos,YPos
//Adjust these coordinates as necessary
Add>XPos,40
Add>YPos,100
MouseMove>XPos,YPos
LClick