Short Description

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

Versions

  • Version 1 • Released on: 2013-03-11 11:49:30
    Download
    Description:

    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)	
    }
    
    

Leave a Review