Home Image-Pro Automation (Macros, Apps, Reports)

how to close capture control interface

Hi All:
           I have referred a macro by the link    https://forums.mediacy.com/discussion/716  the macro is below:

Now I try to revise this macro by adding the function of closing capture control interface like blow, could someone give direction please? Thank you.

If panelControl.Name = "McCapturePanel" Then    ' to find if the panel is capture 
                        panelControl.FindForm().Close()   ' try to close it.


  • You can close the capture options panel using the macro below (recordable):

        Public Sub CloseCaptureOptions
            With Capture.CaptureCommands.ControlPanel(Nothing)
                .Show = False
            End With
        End Sub

  • Hi YuriG:
                 Thanks for your prompt response, it works.
Sign In or Register to comment.