interval between sending sms

For user who dont speak german please use this part of my forum
airflame
Beiträge: 11
Registriert: Fr 14. Okt 2022, 07:34

interval between sending sms

Beitrag von airflame »

Is there a way to set a interval for sending sms? Like every 10 seconds?
airflame
Beiträge: 11
Registriert: Fr 14. Okt 2022, 07:34

Beitrag von airflame »

Ok have it:

1. create script.vbs and place the code inside:

Code: Alles auswählen

Dim TelNr()
dateiPfad = "SMS.txt"
x = 0
Const ForReading = 1

Set fs = CreateObject("Scripting.FileSystemObject")

If (fs.FileExists(dateiPfad)) Then
   Set f = fs.OpenTextFile(dateiPfad, ForReading)

   Do While f.AtEndOfStream <> True
      x = x+1
      ReDim Preserve TelNr(x)
      org_zeile = f.Readline
      if x = 1 then
         SMSText = org_zeile
      else
         TelNr(x) = org_zeile
      end if
   Loop
   f.Close
   AnzahlSMS = x
end if

For n = 2 to AnzahlSMS
   RunMPE "action=sendmessage flags=noerrmsg savetosent=1 number=" & TelNr(n) & " text=" & Chr(34) & SMSText & Chr(34)
dim nLow, nHigh
randomize
nLow = 10000
nHigh = 50000
WScript.Sleep Int((nHigh - nLow + 1) * Rnd + nLow)
next

Function RunMPE(Arguments)
  set shell = CreateObject("WScript.Shell")
  shell.run "myphoneexplorer " & Arguments ,3
End Function



2. Create text file sms.txt put there
First line:
Your message of sms.

Second line:
Phone number nr1

Third line:
Phone number nr2

etc.


3. Run command window in windows and go to folder where are those two files located. And type script.vbs
airflame
Beiträge: 11
Registriert: Fr 14. Okt 2022, 07:34

Beitrag von airflame »

I hope myphoneexplorer will have this option in program some day to set up :)
FJ
Site Admin
Beiträge: 32106
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol
Kontaktdaten:

Beitrag von FJ »

Its already integrated as tweak.
- Open the file %appdata%\MyPhoneExplorer\general.ini
- add this line directly below [Main]: SendIntervalDelay=10
- save the file
Ich bitte um Verständnis daß ich aufgrund des hohen Aufkommens im Forum und meines zeitlichen Rahmens nichtmehr jeden Thread im Forum persönlich lesen bzw. beantworten kann.

Bitte benutzt auch die Forum-Suche bzw. die FAQ
airflame
Beiträge: 11
Registriert: Fr 14. Okt 2022, 07:34

Beitrag von airflame »

FJ hat geschrieben:Its already integrated as tweak.
- Open the file %appdata%\MyPhoneExplorer\general.ini
- add this line directly below [Main]: SendIntervalDelay=10
- save the file
Good morning, thank you for this valuable tip it will definitely come in handy. Is it possible to set a random time in this file? E.g. from 10 seconds to 40 seconds?

Edit:
I see there is "Schedule text message delivery" in MyPhoneExplorer its possible to send Scheduled sms using vbs file? Or use interval between sms in Schedule text message delivery.

Now if You send message usning [Schedule text message delivery] in MyPhoneExplorer You can set the date and time of dispatch. The problem is when you have 100 phone numbers. They will be sent one after another without interruption which means about 1 second per sms. It would be nice if you could set some interval between sms when using [Schedule text message delivery] option.

Bild
FJ
Site Admin
Beiträge: 32106
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol
Kontaktdaten:

Beitrag von FJ »

Random dealy is also possible:
SendIntervalDelay=10
SendIntervalDelayRandom=30
This will pause the sending between 10 and 40 seconds
Ich bitte um Verständnis daß ich aufgrund des hohen Aufkommens im Forum und meines zeitlichen Rahmens nichtmehr jeden Thread im Forum persönlich lesen bzw. beantworten kann.

Bitte benutzt auch die Forum-Suche bzw. die FAQ
airflame
Beiträge: 11
Registriert: Fr 14. Okt 2022, 07:34

Beitrag von airflame »

FJ hat geschrieben:Random dealy is also possible:
SendIntervalDelay=10
SendIntervalDelayRandom=30
This will pause the sending between 10 and 40 seconds
Is there any way to do DelayRandom or IntervalDelay when sending thro Schedule SMS option? I want to send sms thro phone without using a pc. The options You posted will only work sensing sms thro MyPhoneExplorer.
FJ
Site Admin
Beiträge: 32106
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol
Kontaktdaten:

Beitrag von FJ »

No, this is not possible
Ich bitte um Verständnis daß ich aufgrund des hohen Aufkommens im Forum und meines zeitlichen Rahmens nichtmehr jeden Thread im Forum persönlich lesen bzw. beantworten kann.

Bitte benutzt auch die Forum-Suche bzw. die FAQ
airflame
Beiträge: 11
Registriert: Fr 14. Okt 2022, 07:34

Beitrag von airflame »

Would it be possible to make an option in MyPhoneExplorer so that when sending to [Schedule text message delivery] you could enter an hourly interval and the program would calculate and set the sms sending itself based on that?

For example, we have to send 500 text messages to customers I want to send, for example, 100 text messages for half an hour. So I enter 2 hours 30 minutes in the program add text to send and the program calculates time between sending sms. And then send it to phone with proper timing of each sms.
FJ
Site Admin
Beiträge: 32106
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol
Kontaktdaten:

Beitrag von FJ »

Sorry, too much work for a single use case.
You got already alot of possibilities, but you cannot expect that MyPhoneExplorer will fullfill every special wish. If the possibilities are not perfect enought for you then you have to write your own script
Ich bitte um Verständnis daß ich aufgrund des hohen Aufkommens im Forum und meines zeitlichen Rahmens nichtmehr jeden Thread im Forum persönlich lesen bzw. beantworten kann.

Bitte benutzt auch die Forum-Suche bzw. die FAQ
Gesperrt