June 6, 200520 yr 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!
June 6, 200520 yr 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.
June 15, 200520 yr Author THANKS WORKS GREAT... Did need the extra backslash, but works like a charm... Peace! Joe
Create an account or sign in to comment