Jump to content
Server Maintenance This Week. ×

open url to send sms


This topic is 6988 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi,

I am using open url to send sms messages from filemaker. The problem i have is that the open url command does not keep the correct cases (lower or upper case text) when opening the url in Safari. everthing is reduced to lower case. Http is case sensative so i dont know why filemaker does not keep the correct cases. I have tried the Proper(text) function but it makes no difference. In addition when opening the url it does replace some http code for you, for example a space is indicated by %20 and a % is replaced by %25 which makes it very difficult to add my own http because a % is an essencial part of the code but keeps getting replaced by %25.

If anyone can help me at all with any of these problems i would greatly appreciate it. Any insight is welcome.

Thanks

Alex

Link to comment
Share on other sites

  • Newbies

To Send SMS via Filemaker you need a service provider and buy the text messages from them (i use www.mxtelecom.com). Then i send the sms using the method that they call http GET which is basically open url. Essencially you specify a URL including your username, password(that they have given you) and message. example:

http://sms.mxtelecom.com/SMSSend?user=us...message_content

Your webbrowser opens this address and displays a code which is the reference number of the text message sent. Thats all.

To intergrate into my database:

I then created a field: sendSMS that is a calulation (you will need to replace "username" and "password" with the data given to you by mxtelecom:

"sms.mxtelecom.com/SMSSend?user=username" &

"&pass=password" &

"&smsto=" & gMobileNumber&

"&smsfrom=8888" &

"&smsmsg=" & gMessage

&"

Link to comment
Share on other sites

  • 4 weeks later...

Alex,

Here's one method to work around the issue of text insensitivity. I had this same problem. Simply create a script step, using AppleScript. This retains the case properly. (Example in FMPro 7 Dev.):

try

tell application "Safari"

activate

set loginURL to "http://www.cnn.com/cgi-bin/WebObjects/NEWSViewer.woa/wa/display?id=fox_news"

make new document at the beginning of documents

delay 2

set logindoc to front document

set the URL of logindoc to loginURL

end tell

end try

Link to comment
Share on other sites

Alex,

Here's one method to work around the issue of text insensitivity. I had this same problem. Simply create a script step, using AppleScript. This retains the case properly. (Example in FMPro 7 Dev.):

try

tell application "Safari"

activate

set loginURL to "http://www.cnn.com/cgi-bin/WebObjects/NEWSViewer.woa/wa/display?id=fox_news"

make new document at the beginning of documents

delay 2

set logindoc to front document

set the URL of logindoc to loginURL

end tell

end try

Link to comment
Share on other sites

Alex,

Here's one method to work around the issue of text insensitivity. I had this same problem. Simply create a script step, using AppleScript. This retains the case properly. (Example in FMPro 7 Dev.):

try

tell application "Safari"

activate

set loginURL to "http://www.cnn.com/cgi-bin/WebObjects/NEWSViewer.woa/wa/display?id=fox_news"

make new document at the beginning of documents

delay 2

set logindoc to front document

set the URL of logindoc to loginURL

end tell

end try

Link to comment
Share on other sites

This topic is 6988 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.