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

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

Recommended Posts

Posted

Hiya

Have posted this in this forum and also on a mac one...

I need a script that will open all the FileMaker files in a specified folder logging in with specific credentials. I've written the Applescript shown below however I'm still being prompted for a username and password despite explicitly scripting it in and I get no errors from the script...

Script is below:

set thefolder to choose folder

tell application "Finder"

set numberoffiles to count every file in folder thefolder

set thefiles to the files of folder thefolder whose name contains ".fp7"

set accountdetails to "Hanna"

repeat with thisfile in thefiles

tell application "FileMaker Pro Advanced"

open thisfile with passwords accountdetails for Accounts accountdetails

end tell

end repeat

end tell

You might ask why I want to open these files like this - there's a good reason! We're converting our fp5 databases to fp7 and to get the freshest set of data into our newly tweaked and fixed fp7 files we convert the fp5 files into fp7 format and import the data across...

Thanks All!

x

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