Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-20-2008, 03:35 AM
Senior Member
 
Join Date: Nov 2007
Posts: 128
Default Send SMS with SWFKit?

Hey guys, I was just wondering, could swfkit use this to send sms?
/\ Link
Just curios.
Reply With Quote
  #2 (permalink)  
Old 05-20-2008, 09:54 PM
Senior Member
 
Join Date: Nov 2007
Posts: 128
Default Re: Send SMS with SWFKit?

Jeez, SWFKIT, where are you?
Reply With Quote
  #3 (permalink)  
Old 05-20-2008, 11:40 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Send SMS with SWFKit?

Yes.
Code:
var sms = createControl("WDSDebug.SMSOCX.2", 0, 0, 200, 200).activex;
trace(sms.isConnected);
Reply With Quote
  #4 (permalink)  
Old 05-21-2008, 01:26 PM
Senior Member
 
Join Date: Nov 2007
Posts: 128
Default Re: Send SMS with SWFKit?

Thank you for responding, SWFKIT. How would I send a message with the sendHex?
Reply With Quote
  #5 (permalink)  
Old 05-24-2008, 11:06 AM
Senior Member
 
Join Date: Nov 2007
Posts: 128
Default Re: Send SMS with SWFKit?

Quote:
Originally Posted by motionman95
Thank you for responding, SWFKIT. How would I send a message with the sendHex?
Help?
Reply With Quote
  #6 (permalink)  
Old 05-25-2008, 03:19 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Send SMS with SWFKit?

You'll have to read the specification by yourself. I don't know it. :-[

The method's idea is to send binary data in a hex string. Maybe you can ask them to show you a sample hex string.
Reply With Quote
  #7 (permalink)  
Old 05-25-2008, 06:02 AM
Senior Member
 
Join Date: Nov 2007
Posts: 128
Default Re: Send SMS with SWFKit?

The send() method:

Send

Sends a (text-only) SMS message to a single addressee or to a list of addressees.

Sintax:
HRESULT Send ([in, out] BSTR Msg, [in, out] BSTR Address, [in] VARIANT_BOOL flash,
[in] VARIANT_BOOL request_report, [out, retval] LONG *BatchID);
Function Send (Msg As String, Address As String, flash As Boolean, request_report As
Boolean) as Long

Parameters:
Msg the SMS message to send (text only, max. 160 characters)
Address adressee phone number or slash (/)-separated list of phone numbers (up to 65535)
flash boolean value: if non-zero a flash message is sent; if zero, a normal one is sent
request_report boolean value that tells the GSM terminal whether a “delivery notification” (STATUS REPORT) is to be asked for each one of the sent messages

Notes:
1) The function returns a Long ([out, retval] BatchID parameter, in C++) containing the ID of the current batch. This value is the same used in the Sent event.
2) The request_report parameter specifies whether the GSM network is to be asked for delivery report per each of the messages actually sent. If Send succesfully sent a message with ID 15, a Report event (see below) will be raised wich Message_Ref parameter is 15.
3) The Send method returns as soon without expecting for the message(s) being actually sent.

It doesn't make any sense to me. Could someone explain?
Reply With Quote
  #8 (permalink)  
Old 05-28-2008, 02:36 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Send SMS with SWFKit?

Maybe something like
Code:
var id = ax.Send("Hello, a message for you!", "1398972978", 0, true);
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:14 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.