Sign in to follow this  
Followers 0
realkiller

citrix window

3 posts in this topic

if having problems activating a citrix programme, it works 70% of the time but somethimes it fails and the hole autoit script stops

If WinExists("Clarify") Then
WinSetState("Clarify - ClearCallCenter", "",@SW_RESTORE)
WinActivate("Clarify")

Share this post


Link to post
Share on other sites



The more info that you use to ID a window the better off you will be (to a point).

Try adding some window text and checking the returns of those functions:

If WinExists("Clarify - ClearCallCenter", "") Then
    $ret1 = WinSetState("Clarify - ClearCallCenter", "", @SW_RESTORE)
    $ret2 = WinActivate("Clarify - ClearCallCenter", "")
    ConsoleWrite($ret1 & @LF & $ret2)
EndIf

[size="1"][font="Arial"].[u].[/u][/font][/size]

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