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.

Rename a file with Applescript.

Featured Replies

I would user a FM plug-in such as the Troi-File plug-in. It has a full range of file handling features.

-bd

I figured it out thanks. I put together an applescript to tell bbedit to fill a file with what I want and save it with the file name I want. I don't even need to export. horay

Where do you find plug-ins like that? Yes, I'm clueless. I've been using FM for years and only found this site today!

quote:

Originally posted by Drew Cover:

I figured it out thanks. I put together an applescript to tell bbedit to fill a file with what I want and save it with the file name I want. I don't even need to export. horay

Where do you find plug-ins like that? Yes, I'm clueless. I've been using FM for years and only found this site today!

www.troi.com

www.newmillennium.com

www.wmotion.com

--->all 3 are FSA Partners. Excellent plug-ins.

Old Advance Man

I would like a database to export one html file for each record in the database.

I thought of writing a FM script which found each record in turn, omitting the rest, and doing "export found". The problem is that using FM scripting there doesn't seem to be anyway to give the different files different names.

Thom in another thread, very helpfully, suggested using AppleScript to rename the file after it has been exported. The problem with that is that I know squat about AppleScript. I am willing to learn. I opened the script editor, opened the Finder's dictionary. There are lots of commands there: Open, Close, Quit, Print,... but not Rename.

Anyone?

Anyone know of another way to save one field as a text file with the filename given by another field of the same record?

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.