thelittlestgiant Posted June 6, 2005 Posted June 6, 2005 I would like to create a script that automatically creates a new folder with the same number as an auto-generated estimate number. Example... I have an estimate number "5001". I have already scripted opening the folder ("Driveletter":"estimate number") using the open url script, but I want that folder to be created in that drive with the New Record. Any ideas? Thanks!
Ted S Posted June 6, 2005 Posted June 6, 2005 I suggest using Send Event rather than open URL. Try this kind for the syntax: Send Event ["cmd /c md c:folderfolderfolder" & Table::Estimate Number] You will probably have trouble with the backslash. FileMaker now uses it as an escape character to you will likely have to add additional backslashes to make it work. The easiest way I've found to figure this out is to have your script populate a global field instead of the Send Event until you get the syntax right.
thelittlestgiant Posted June 15, 2005 Author Posted June 15, 2005 THANKS WORKS GREAT... Did need the extra backslash, but works like a charm... Peace! Joe
Recommended Posts
This topic is 7103 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