Jump to content

Recommended Posts

This should work.

Opt("WinTitleMatchMode", -2) ; 1=start, 2=subStr, 3=exact, 4=advanced, -1 to -4=Nocase.
;   So, -2=Case-insensitive subStr. Title parameter will match even if "UltraEdit" is only a part of the window's title.
;   The use of this Opt() function is most likely not necessary.

If WinExists("UltraEdit") Then
    WinActivate("UltraEdit", "")
    WinWaitActive("UltraEdit", "")
    ;ControlClick('UltraEdit', '', '[CLASS:BCGPRibbonBar:400000:8:10003:10; INSTANCE:1]') ;  Using the control's Class and Instance properties.
    ; or
    ControlClick('UltraEdit', '', 'BCGPRibbonBar:400000:8:10003:101') ; Using the control's ClassnameNN property.
    MsgBox(0, "Error", 'Window "UltraEdit" does not exist.')


Link to post
Share on other sites

Thank you very much for the correction in code.

Unfortunately it isn't working.  I don't get the MsgBox Error.

I also don't get the Support tab to open.

Do you have any other ideas?

Maybe I should give you some more information.

I'm trying to open the Support tab in Ultraedit ver. 24.10.0 32.  The latest version

I'm running in Win7

With AutoIt ver.



Edited by Docfxit
More info
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...