boogieoompa Posted January 8, 2008 Posted January 8, 2008 OK so I am trying to write a program to get some Citrix glitches under control (it seems much easier than waiting for our IS department) however even as simple of a command as Opt("WinTitleMatchMode", 2) winmove("- \\Remote","",0,0) does not seem to work. I did notice that autoitinfo picked up all the required information such as name class (Transparent Windows Client), postion etc... however I do not seem able to change any of this. Obviously there are several issues with the way Citrix publishes pages but is there a work around? Thanks
AdamSteele Posted November 23, 2010 Posted November 23, 2010 Yes. Citrix is a vastly different creature. Try this workaround I use. It's a pain but there it is... AutoItSetOption("MouseCoordMode", 1) $MyApp="- \\Remote" _WinWaitActivate($MyApp,"") $coords= WinGetPos($MyApp,"") MouseClickDrag("Left", $coords[0]+37,$coords[1]+15, 0, 0) Func _WinWaitActivate($title,$text,$timeout=0) WinWait($title,$text,$timeout) If Not WinActive($title,$text) Then WinActivate($title,$text) WinWaitActive($title,$text,$timeout) EndFunc On 1/8/2008 at 7:19 PM, 'boogieoompa said: Opt("WinTitleMatchMode", 2) winmove("- \\Remote","",0,0) ....... Obviously there are several issues with the way Citrix publishes pages but is there a work around? Thanks
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now