Hi,
I can develop a script that will enable SIM2 on a dual-SIM phone, send an SMS to a specific phone number using SIM2 (the text for the SMS will not change), disable SIM2. You will use it further in your app as you mentioned. Kindly reply me so that I can further discuss it with you.