signal Posted January 17, 2001 Posted January 17, 2001 Anyone know the script to create a new folder usind a FM field as the name? Basically want to go to HardDriv/Clients/Projects and create a folder with our job number and description and then open in in the finder. Thanks in advace.
Chuck Posted January 17, 2001 Posted January 17, 2001 This should do what you want. Just replace the JobNumber and Desc with your job number and description fields and the Jobs.fp5 database name with your database name. tell application "FileMaker Pro"
signal Posted January 17, 2001 Author Posted January 17, 2001 Thanks Chuck!! What about error catching if the folder already exists (I'd hate to wirte over it) or if the drive is not mounted?
Chuck Posted January 19, 2001 Posted January 19, 2001 Try this: tell application "FileMaker Pro" set folderName to (cell "JobNumber" of layout 0 of database "Jobs.fp5") & (cell "Desc" of layout 0 of database "Jobs.fp5") end tell tell application "Finder"
Recommended Posts
This topic is 8707 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 accountSign in
Already have an account? Sign in here.
Sign In Now