grantwood Posted February 4, 2006 Posted February 4, 2006 Hello, Let's say I have the path to a folder stored in a field, and I want to open all the files in that folder. For example, let's say I have a folder full of JPGs. I would like to either open them with a specific app (like Photoshop), or with whatever program is associated with .JPG I'm guessing the logic would be to get a directory listing of the files and them pipe them to some command, which will then open the files. Would I pipe them to the start command? Regards, Sean Mills
Wim Decorte Posted February 4, 2006 Posted February 4, 2006 You're posting this in Windows Automation but your OS indicates OSX? I'm going to assume you want this done on Windows. The easiest way is to write a VBscript that you can feed a folder location and the extension of the files you want opened. The VBScript will then loop through each file in the folder and check the filename for the proper extension and launch it. It will open in whatever app is associated with your extension. From FileMaker, you use the Send Event script step to call the VBscript through the command line and pass it the parameters (folder name, extension).
Recommended Posts
This topic is 6910 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