Need help or advice ? Come to the Icy club ! - Every Wenesday morning from 9h30 to 12h30 - Francois Jacob Building - Main hall - Pasteur
Register

Open Multiple Files

by tprovoost / Thomas Provoost

Displays a File Selection Dialog to choose multiple images and open them either as one or multiple sequences.

version 1 (last version):

download to use and modify in Icy. How do I use scripts ? A Problem ? ask the community.
Changelog for this version: initial version
importClass(Packages.plugins.tprovoost.scripteditor.uitools.filedialogs.FileDialog)
importClass(Packages.icy.file.Loader)

// creates a file to save the sequence into.
// This points to icy directory / imgSaves / myImg.tif
var files = FileDialog.openMulti()

if (files == null) throw "User cancelled!"

for (i = 0; i < files.length; ++i) {
	var f = files[i]
	loadedSequence = Loader.loadSequence(f)
	gui.addSequence(loadedSequence)	
}

This script has no documentation. A Problem ? ask the community.



Icy script publication Id : X1R1S7