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
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
0
Best Answer
-
David,
You can declare global variables (outside on the macro), so they can be used by any macro in that VB file.
Yuri0
Answers
-
Thanks Yuri
This is what I was looking for!0
Categories
- All Categories
- 961 Image-Pro v9 and higher
- 9 Image-Pro FAQs
- 18 Image-Pro Download & Install
- 448 Image-Pro General Discussions
- 486 Image-Pro Automation (Macros, Apps, Reports)
- 20 AutoQuant Deconvolution
- 2 AutoQuant Download & Install
- 18 AutoQuant General Discussions
- 195 Image-Pro Plus v7 and lower
- 3 Image-Pro Plus Download & Install
- 106 Image-Pro Plus General Discussions
- 86 Image-Pro Plus Automation with Macros
- 19 Legacy Products
- 16 Image-Pro Premier 3D General Discussions
- 26 Image-Pro Insight General Discussions