Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

FM Techinfo confirms the problem -- when use Open URL, the URL that gets passed to Safari or Internet Explorer is made all lower case. Unfortunately, the site that I am connecting to requires that part of the URL be upper case. This might be a Mac-only problem, I'm not sure.

This use to work fine in FM Pro 6 (i.e., the upper case characters were preserved), but is broken in FM Pro 7. Does anyone know of a work-around?

Thanks

Posted

It seems that AppleScript retains the case. Try this is Script Editor (remove the tell "FileMaker", end tell, lines when run in a Perform AppleScript step):

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

It should be possible to use the default browser with the following line instead of the tell "Safari" block. It works from Script Editor, but not within FileMaker:

tell application "FileMaker Pro"

tell current record of document 1

set theURL to cell "theURL"

end tell

end tell

open location theURL

I get a "wrong data type" error.?

GetURL7.zip

  • 1 month later...
Posted

A clever lad has found a way to trick FileMaker into using "open location." Finder also gets an error, but this doesn't:

tell application "loginwindow" to open location

Don't know what difference it makes. But good to know, I guess.

This topic is 7430 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.