Sign in to follow this  
Followers 0
realkiller

citrix window move

4 posts in this topic




winmove wont work with a citrix window i use now:

WinMove("Aspect Applications", "", 0, 36, 956, 829)

how can i make it work

Don't know, but have you tried this?

Opt("WinTitleMatchMode", 2)

WinMove("Aspect Applications", "", 0, 36, 956, 829)


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

Try this method I use to bypass 'The Citrix Limitation.'

Instead of WinMove("Aspect Applications", "", 0, 36, 956, 829)

Use the method outlined below.

Adam.

AutoItSetOption("MouseCoordMode", 1)


$MyApp="Aspect Applications"
_WinWaitActivate($MyApp,"")
$coords= WinGetPos($MyApp,"")
MouseClickDrag("Left", $coords[0]+37,$coords[1]+15, 0, 36)



Func _WinWaitActivate($title,$text,$timeout=0)
    WinWait($title,$text,$timeout)
    If Not WinActive($title,$text) Then WinActivate($title,$text)
    WinWaitActive($title,$text,$timeout)
EndFunc

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  
Followers 0