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.

Renaming files with FM7

Featured Replies

Filemaker Pro7 seems (or proclaims) to be much more flexable when you want to work with different filetypes. What I want to know is the following:

We have several composers supplying a musicfile in different sound formats on our ftp server. They use specific codes so that it

I have just started playing with the Troi File plugin and it would seem to be able to do the job for you, I recommend you give it a try...

What platform do you use? Mac or Win.?

  • Author

We use both XP and OSX. The server uses XP. About this Troy plugin...where can I get it? (yep i am new)

Under Mac, you can use ApplesScript to do that. I am not sure how though. Search in this forum. I'm sure someone has posted about it before.

Under Windows, you can use filemaker to trigger an external program to do all the renaming/file changing first and then return to filemaker. I personally use filemaker to trigger an excel file with macro enabled to grab filenames and other information and then make it return to Filemaker automatically.

VB Code to return back to the current active Filemaker and trigger a script automatically:

Sub FMController()

Dim FMApp As FMPRO70Lib.Application

Dim FMDocs As FMPRO70Lib.Documents

Dim FMActiveDoc As FMPRO70Lib.Document

Set FMApp = CreateObject("FMPRO.Application")

FMApp.Visible = True

Set FMDocs = FMApp.Documents

Set FMActiveDoc = FMDocs.Active

Debug.Print FMActiveDoc.FullName

FMActiveDoc.DoFMScript ("Import Item")

Set FMActiveDoc = Nothing

Set FMApp = Nothing

BatFileController.closing

ThisWorkbook.Save

ThisWorkbook.Close

End Sub

It's not hard to do it in windows and doesn't take a long time either.

Alternatively, you can buy Troi plugin to do file manipulation. However, Troi hasn't released this plug-in for Filemaker 7 yet. It's only supporting up to version 6 now.

Troi plug-ins: http://www.troi.com/

  • Author

Thanx man!

I think I can work somnething out with this info. Great help!

  • 4 months later...

H.P. :

Would you have anymore information about the object FMPro.application?

I'm trying to access info from VBScript and need a info from a global field.

Thanks

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.