If I understand you correctly, you would expect something like a new window would appear, where you would set the parameters (Left Locator Position and Length). Then Cubase would do this and open the Export Audio Mixdown window.
Sorry, this is not possible. Neither Project Logical Editor nor Macros cant work with variables.