Newbies mehlman Posted December 23, 2004 Newbies Posted December 23, 2004 Is there any way to make a value list populated by the file system? i.e. to browse directories and select entries from them to be placed into fields. The equivalent in Visual Basic are the Drive, Directory and File list boxes. Any help would be much appreciated.
transpower Posted December 23, 2004 Posted December 23, 2004 Unfortunately there is no Windows Send Event script step for FM 5. In version 7, we would use Send Event with CMD or a batch file to generate a directory, write it to disk, import the text to a field, then parse it. You could, though, generate the directory list separately from FM (i.e., directly from your OS), then import that.
QuinTech Posted December 27, 2004 Posted December 27, 2004 Hi, Mehlman, and welcome to FM Forums! You could use Send Message to create a file that just has a dir listing from the Windows command line, then import that file into your solution and parse (or reverse-parse?) it to get a directory listing. Seems cumbersome, but it could probably be done. We do this all the time using the Troi File plug-in. It's a very simple command to do this using their plug-in. Maybe someone else will have an idea how you could do this without a plug-in, but i can't think of any. HTH, Jerry
Recommended Posts
This topic is 7272 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