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

Can a variable be available for two non simultaneous macros?

Hi there

This questions seems more like Coding101, but I still need the advise.

I am preparing a set of macros (before, loop and after) to measure fibres in batches of images. I need a selection criteria (x) that will be set by user once in the before macro, and should be available in the loop macro to discard images that don't fit the requirement.

Any help will be highly appreciated!

David


Best Answer

  • Options
    Answer ✓
    David,

    You can declare global variables (outside on the macro), so they can be used by any macro in that VB file.

    Yuri

Answers

Sign In or Register to comment.