Jump to content

Could not Navigate WindowsForms10.SysListView32 controls in mRemote


Recommended Posts

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.

Link to comment
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

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

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

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

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

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.

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

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

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...