SMSCaster Command Line Interface v0.5 Commnad line options for SMSCaster E-Marketer Syntax: smscaster.exe [Project File] [-Option1 ...] [-Option2 ...] ... Description: All options begin with '/' or '-'. They are case insensitive. Available Command Line Options -Compose -ImportOutbox -Queue -Start -Stop -Long -Flash -ForceUCS2 -Priority -NoSplash -NoRestore -Exit [Project File] Meaning: The project file to be opened. Example: smscaster.exe "c:\My Project.sms" Remark: Filename must come first if any. -Compose | | Meaning: Compose new SMS to the outbox. Example 1. Send to a particular phone number. SMS is sent immediately smscaster.exe -Compose +85291268167 "Hello World." -Start Example 2. Send to a particular phone number. SMS is stored in the outbox. smscaster.exe -Compose +85291268167 "Hello World." Example 3. Send to a list of phone numbers stored in a text file. smscaster.exe -Compose c:\PhoneNum.txt "Hello World." Example 4. Send to a particular phone number with content stored in a text file. smscaster.exe -Compose +85291268167 c:\content.txt Example 5. Send to a list of phone numbers with content stored in a text file. smscaster.exe -Compose c:\PhoneNum.txt c:\content.txt Remark: argument - If message content is passed directly in the argument, these characters need to be encoded: " Double Quote -> %22 LF Line Feed -> %0A CR Carriage Return -> %0D contains list of phone numbers, which are separated by comma or start on a new line. -ImportOutbox Meaning: Import from a CSV file into the outbox Example: smscaster.exe -ImportOutbox c:\outbox.csv Remark: There are two columns in the CSV file. First is for phone number and second is for message content. -Queue Meaning: Specify which queue to go, where N is from 0-5. Works with -Compose and -ImportOutbox option. Example 1. Compose a single SMS and put it into queue 1. smscaster.exe -Compose +85291268167 "Hello World." -Queue 1 Example 2. Import from a CSV file into the outbox and specify which queue to go. smscaster.exe -ImportOutbox C:\Outbox.csv -Queue 2 Remarks: This is for the Enterprise Edition only. -Start Meaning: Start sending sms in the outbox and receiving. Example: smscaster.exe -Start Remark: To start automatically, you must have the COM port selected properly before automation. -Stop Meaning: Stop sending and receiving. Example: smscaster.exe -Stop -Long Meaning: This is a long SMS. Must be used with -Compose option to be meaningful. Example: smscaster.exe -Compose +85291268167 "Very long sms here..." -Long -Flash Meaning: This is a flash SMS. Must be used with -Compose option to be meaningful. Example: smscaster.exe -Compose +85291268167 "Hello World." -Flash -ForceUCS2 Meaning: This SMS is encoded using UCS2. Must be used with -Compose option to be meaningful. Example: smscaster.exe -Compose +85291268167 "Hello World." -ForceUCS2 -Priority Meaning: This SMS has higher priority and will be sent first. Must be used with -Compose option to be meaningful. Example: smscaster.exe -Compose +85291268167 "Hello World." -Priority -NoSplash Meaning: Do not display the splash screen. Applicable only when the program is started at the first time. Example: smscaster.exe -NoSplash -NoRestore Meaning: Do not bring up and restore the existing window. Applicable only when the program is already started and running. Example: smscaster.exe -NoRestore -Exit Meaning: Exit the program. Applicable only when the program is running. Example: smscaster.exe -Exit (Last update: April 2009)