Jump to content

Bug? Open URL Case Sensitivity


jasonwood
 Share

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

Recommended Posts

It seems that in FileMaker 7 on at least Mac with Safari, a URL with capital letters will be converted to small letters before being sent to the browser. Is it just me? Other browsers? Other operating systems?

Link to comment
Share on other sites

No, it's not just you. Someone else posted about this. I replied with a work-around using AppleScript:

tell application "FileMaker Pro"

tell current record of document 1

set theURL to cell "theURL"

end tell

end tell

tell application "Safari"

activate

set the URL of document 1 to theURL

end tell

Link to comment
Share on other sites

  • 2 weeks later...

Sorry to hijack this thread...

How would that applescript translate to URL to use a mailto - i need to use this fix but have no experience of applescript.

I am getting the lowercase problem when it populates the email.

Thanks

Link to comment
Share on other sites

The "open location" command, in the Standard Scripting Additions, seems to do this.

open location "mailto:[email protected]"

Sets up an email in my default email app, just like FileMaker's Send Mail.

You can add other fields, and even lines, to a "mailto:", but you have to encode spaces and other things (remove any line break):)

open location "mailto:"Fenton%20Jones"%20<[email protected]>?Subject=Hi%20there&Body=Hi!%0DHow%20are%20you%3F"

Otherwise you can use AppleScript to talk directly to your email client, to do just about anything. I have the SMTPit FileMaker plug-in (cross-platform), so I generally use that instead.

There's also a very nice little Scripting Addition at:

http://www.24usoftware.com/EmailOSAX

Link to comment
Share on other sites

Thank you for the info.

I have just realised that the script step "Perform AppleScript" is not Instant Web Publishing (IWP) compatible.

Any one know of a different way - my clients aren't happy to send lower case emails frown.gif

Link to comment
Share on other sites

This topic is 6424 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
 Share

×
×
  • Create New...

Important Information

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