Remotely automate Bootpicker

We are a dual boot lab trying to automate OS selection using the command line from within Apple Remote Desktop. On startup Bootpicker appears before Login Window with the option to choose Mac OS or Windows. Currently I have to visit each machine to manually select Mac OS when I need to do maintenance.

There is version of bootpicker which supposedly invokes Mac OS by sending the Space key. I used the following script to do so but it worked once then never worked again!:

osascript -e ‘tell application “System Events” to keystroke space’;

Since it didn’t work, I reverted to another version of Bootpicker (2.1.1) which supposedly allows the Mac OS choice to be made remotely using gui scripting. (Access for assistive devices must also be enabled in Universal Access Prefs for scripting to work.) I don’t know about gui scripting…
Originally I thought adapting this script to say ‘Select Mac OS’ would be the best route but I don’t know the proper syntax and this idea was not the one suggested to me.

Any help or direction would be appreciated!

I found a simple solution for anyone interested in this esoteric issue…
Simply quit Bootpicker from ARD:
osascript -e ‘tell application “Bootpicker” to quit’