I am writing in DigialMicrograph scripting. I want a script to open more than one image in a single dialog, a multi-select image dialog, similar to when you go to any Windows open dialog, select several images and press Ok.
I think that this is possible but I haven't found a way to do it. I want to introduce this specific code in my script, to avoid image-opening prior to running the script.
I know the function OpenDialog
but this only allows opening of a single image. Could anybody show me some script or a function which can help me further?
Thanks.
What you are asking for might be a bit more involved. There is no multiple open function in the scripting language, so you can only create it yourself, involving multiple steps:
GetDirectoryDialog
dialog)GetFilesInDirectory
to retrieve a list (TagList) of files in that folderThe following script is an example doing that.