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

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

Recommended Posts

Posted

This url shows up in FM Web Viewer:

http://www.filemaker.com/help/MacTOC3.html

This url defaults to another FM help site page using FM Web Viewer, but works in a Browser:

http://www.filemaker.com/help/02-Adding%20and%20view31.html

I suspect the % in the url. Is there a work around?

Thanks Steve

Posted (edited)

It's a(nother) case of the application helping you, but not as well as it could. FileMaker (and Safari) will both open it it WITHOUT the %20 (with the spaces instead); in both cases they will escape it for you (FileMaker must do it in the background). But if you escape it first yourself, then Safari still works, but FileMaker doesn't.

FileMaker has a GetAsURLEncoded() Text function (added to 8.5). But it does not have a GetAsURLDecoded() function, which is what you'd need. Most apps that can encode URLs also have a function to decode them (PHP, AppleScript, etc.). I think FileMaker should give us one also, for these paths that are copy/pasted from the web.

[Actually, they should just make it so it works as is, like in the web browser :-]

Otherwise you'll just have to use Substitute() to turn them back into spaces; not a big deal really.

[P.S. I recently did a project where large amounts of text were obtained from the web, using an xml request. Much of the text still had HTML entities (hard to show here, as they'd be decoded automatically). I used an AppleScript Scripting Addition, TextCommands, which can do all this stuff fairly easily. Way overkill for this post however :-]

Edited by Guest

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