Jump to content

WinMove and RemoteApp issue


Recommended Posts

@badhabit,

welcome to AutoIt and to the forum!

the local display of the remote system is only a video of what's happening, no windows or controls can be interacted with directly.

best solution: run your script on the remote system.

EDIT: here is a good forum discussion covering RDP aspects, caveats and options of resolution.

Edited by orbs

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

 

Link to comment
Share on other sites

@orbs, thanks for your answer.

I know what rdp it is only "video" and i do not want myscript interact with content of RemoteApp (rdp) window, but I just want to move RemoteApp window via Autoit as it was local window...

If i do it manualy with mouse - all ok, but when i do it via Autoit function WinMove, window (RemoteApp) stops draw anything inside itself and stops responde to any input events (mouse ok keyboadr) as it freezes!

$hwnd = WinGetHandle("[CLASS:RAIL_WINDOW;TITLE:Notepad]")
WinMove($hwnd, "", 0, 0, 150, 150)


If I click manualy on RemoteApp icon in taskbar after, window (moved by WinMove) disappears and appears on the old position and unfreeze (draw content and responde on input events correctly).
Very strange behaviour of WinMove, or may be I do something wrong? 

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...