Automatically backfill from IB to Amibroker

hi all , I wrote a script to automatically run scan in Amibroker to get backfill from IB but I cant loop through all symbols to get backfill at once.

I followed the below link but filled . some symbol will get backfill but some will not.
https://www.amibroker.com/kb/2014/09/23/how-to-backfill-all-symbols-in-rt-database/

I know that I could use "backfill All RT window symbols" to get all symbols to backfill at once. But I cant automatically run " backfill All RT window symbols" . is that anyways for me to do that?

many thanks !

sorry typo..should be
I followed the below link but failed. some symbol will get backfill but some will not.
[https://www.amibroker.com/kb/2014/09/23/how-to-backfill-all-symbols-in-rt-database/ ]