Hi,
you can't, it is not a feature of the bot script. The way how you run it, determines the needed runtime license. Attended bot license is needed / consumed, when triggering a bot using the Launcher application. Otherwise the execution is regarded as unattended.
------------------------------
Jukka Juselius
Senior Solution Architect - IBM EMEA
WDG Automation Program Lead for EMEA
IBM Digital Business Automation
------------------------------