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.

Exporting fields separated by carriage returns

Featured Replies

Hi,

I am trying to export found records to a text file with fields separated by standard carriage returns instead of tabs. I am having two problems.

1) I can't seem to get the carriage returns in. I tried creating a global text field, setting this equal to "¶" and then exporting with my other export fields, but when I open the output file in BBedit, I see that it has inserted a "¿" instead of a line break. I also tried copying a BBedit line break, and pasting this into the specify calculation window, but this results in field entries separated by tabs and an empty space, but no line break.

2) I can't get rid of the tabs.

Anyone have any thoughts?

(Accidentally posted this in PDFs forum as well. Sorry for the duplication)

See here.

  • Author

Thanks, your two-word response has lead me on a journey into the strange new (for me) world of applescripting. Think I have my solution. I have attached my script below, in case anyone is interested.

Marcel

********************

-- applescript to replace tabs in text with using BBedit

tell application "BBEdit"

activate

open file "HD OS X:Users:marcel:Desktop:DBoutput.tab"

replace "t" using "r" searching in text 1 of text document 1 options {search mode:literal, starting at top:true, wrap around:false, backwards:false, case sensitive:false, match words:false, extend selection:false}

set properties of text document 1 to {line breaks:Unix}

save text document 1

close active document of window 1

end tell

The "Two Word Response" was a link to a similar discussion, did you click on it?

Lee

  • Author

Yes, thanks very much!

Marcel

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.