Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Newbies

I have a bunch of " 's in my html. The app im using with apple script doesn't like this. If I remove all the " from my html it works fine. Im trying to substitute all this with this.

Set Field [EmailBuilder::Email_FullText Fix; Substitute ( EmailBuilder_FullText ; """ ; "in." )]

Here is my HTML

Quote #1650430 from Turner Industries

turner_sm2.gif

Turner Industries

4670 36th St SE Grand Rapids, MI 49512

p:616-949-5910 f:616-949-3461

www.turnerind.com

Reply To:jkraus@turnerin d.com

  • Author
  • Newbies

Im using it with max bulk mailer which doesn't like "

Your problem is simple. You need to turn OFF Smart Quotes for that file. The Smart Quotes toggle is in the File Options, Text tab. Then redo (or replace) your quotes in the html (you can copy a smart quote to replace it; you can't type it once you turn them off; they are 2 different characters, a beginning one, and an ending one).

Or use a text editor, like the free TextWrangler, which may have a Straighten Quotes command (BBEdit does).

It's not really AppleScript, it's the web browser that can't handle smart quotes (unless they're specified correctly as an character entity, which you also could do, but do you really want them?).

AppleScript considers double quotes to be a special character. But it seems to escape them automatically when you feed it data from a FileMaker field. The following, run in a Perform AppleScript step, will write the contents of a "_cHTML" field from the current FileMaker record to a text file on your Desktop. The field must be on the current layout for this simple form to work.

set html_raw to cell "_cHTML" of current record



set html_text to quoted form of html_raw



do shell script "echo -n " & html_text & " > ~/Desktop/html_text.html"

Edited by Guest

  • Author
  • Newbies

I have done that also. Same thing

If it really hates double quotes, you could use the html entity instead. Looks the same on the web.

"

Edited by Guest

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.