I don't know if that I want to creat is possible. I want to know if you can import ASCII with this way:
-You run your programme. -It open the Dialog Box. -You enter the name of the file you need; for exemple: result. The programme find the file, named result. -After another dialog box is opening for asking how many ASCII files you want. -And you enter for example 10 ASCII, 10 ASCII are selecting randomly in your file, result.
I find some command for get a string or get a number: GetString(message)initialvalue[(dialog title)] GetNumber[option](text1)variable1(text2)variable2[dialog title] May be i can use it i don't know i really need somme help. I don't know if it's possible with my version(6.1) but if it's possible with version 7, 7.5, 8.5, 9... I want to know.
Starting with version 8 we added an X-Function (FindFiles) that can search a location for files using wildcards.
Just about any version of Origin allows for simple dialogs using "getn":
num = 10; %B = name; choice1 = 1; choice2 = 0; getn (Filename) %%B (Number) num (One Folder) choice1:2h (Folders Follow Filenames) choice2:2 (Simple dialog); Ty Using $(num) files of %B; if(choice1==1) ty Importing all into same folder; else { if(choice2==1) ty Renaming Folders to follow filenames; else ty Not renaming folders.; }
Still a lot of programming required for what you want...