AutoHotkey Community

It is currently May 27th, 2012, 6:09 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: November 29th, 2005, 4:00 am 
Offline

Joined: October 3rd, 2005, 10:56 pm
Posts: 4
Location: Detroit
I use the Firefox extension Teleflip to send my girl text messages all the time. When you are done typing press "End" and it will tell you how many characters you have left. I'm thinking of improving by typing in notepad then the hotkey will break the message up into multiple parts. Here it is...

Code:
;Control + h starts the script
#h::
SetTitleMatchMode, 2
IfWinNotExist Mozilla Firefox
{
Run firefox.exe
WinWait Mozilla Firefox
Sleep 500
}
else
{
WinActivate Mozilla Firefox
}
Send !tf{enter}
WinWait Teleflip
Sleep 500
; type your phone number instead of 1234567890
Send 1234567890{tab}Hey{tab}

charcheck = 0
Loop
{
if charcheck = 1
break
ifWinExist Teleflip
{
GetKeyState, go, end
if go = d
{
Send ^a
Sleep 100
Send ^c
sleep 100
Send {right}
smsstring = %clipboard%
StringReplace, smsstring, smsstring, |, 11, 1
StringLen, smslength, smsstring
charleft := 140 - smslength
if charleft < 0
MsgBox You have entered over 140 characters (%smslength% to be exact)!  Please shorten the message before sending
Else
MsgBox There are %charleft% free characters in your SMS message.
}

}
else
charcheck = 1
}

Return

_________________
~Cheers~
~Respect~


DubZ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 29th, 2005, 10:47 am 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
Nice idea, Thanks for sharing.
I just had a look at the TeleFlip homepage. They say you can send an email to that person. So I wonder why you need to know the number of chars left? Is the FireFox extension differently? Does it send SMS? Does it work with non north american numbers?

_________________
Ciao
toralf
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 29th, 2005, 4:28 pm 
Offline

Joined: July 2nd, 2004, 11:53 pm
Posts: 207
SMS messages are limited in length. Hence the name - Short Message... um.. Something.

_________________
<enormous animated gif>


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 30th, 2005, 4:03 am 
Offline

Joined: October 3rd, 2005, 10:56 pm
Posts: 4
Location: Detroit
The firefox extension is quicker to send an sms (which ends up really being an email). I don't think it works ouside of NA (been a while since I checked). If you send a message with too many chars it may never get to the destination.

_________________
~Cheers~
~Respect~


DubZ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 1st, 2005, 5:50 pm 
Offline

Joined: November 18th, 2005, 11:16 pm
Posts: 77
Location: Southern USA
160 characters is the max for SMS messages. A key is to remember that the header info (to:, from:) does count against the total character count for the message.

Most carriers have email addresses that you can send to to then transfer the message into SMS format. Alltel users have the email...
XXXXXXXXXX@message.alltel.com
(where the X's are replaced by the phone number, with area code)
Anything that gets sent to that email address gets converted by alltel into an SMS message. Sometimes it splits long messages up into multiple SMS messages.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 23rd, 2011, 5:59 am 
teleflip no longer exists, is there any way to do this now?


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Apollo, Exabot [Bot], Google Feedfetcher, JamixZol, Yahoo [Bot] and 17 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group