wangsp82

Could not Navigate WindowsForms10.SysListView32 controls in mRemote

2 posts in this topic

#1 ·  Posted

I am stuck at navigating the list view in mRemote (a remote connection tool)

Here is my code

#include <GUIConstantsEx.au3>
#include <TreeviewConstants.au3>
#include <WindowsConstants.au3>
#Include <GuiListView.au3>

$cmd = "D:\Tools\mRemoteNG\mRemoteNG.exe"
Run($cmd)

sleep(2000)
WinActivate("mRemoteNG - conf")

$gui = WinWaitActive("mRemoteNG - conf")
sleep(300)

$hListView = ControlGetHandle ($gui,"","[NAME:olvConnections]")
ControlFocus($gui, "", $hListView)

$iI = _GUICtrlListView_FindText($hListView, "Connections")
_GUICtrlListView_ClickItem($hListView, $iI, "right", false, 1)

It is supposed to right click on the item. But it only right click at the right part of this item. So mouse right click does not apply on the item.

mRemote Connection panel is very strange, it looks like a treeview but is actually a listview and is Special type WindowsForms10.SysListView32.app

Please help me how can I make it right click or navigate on this ListView.

Thank you very much.

James Wang.

Share this post


Link to post
Share on other sites



Hi, im not familiar with that application. But let's see if i can be of any help.

So the script right clicks the right part of the item.. so it needs to click a bit more to the left and the problem is solved?

If i got it right, i think you can send a mouse left click after the _GUICtrlListView_ClickItem, maybe get the coordinates and send a left click a bit to the left.


Spoiler

Paster - Main function is to paste text, but has more functions.

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

 

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