Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Value List from file system?


This topic is 7272 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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.

Posted

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.

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.