mstratman/cocoadialog — Issue #41: fileselect --select-multiple only returns one file
Author: JohnNash
Created: 2012-02-29 22:06:58+00:00
State: open

#!/bin/bash

cocoaDialog="/Applications/cocoaDialog.app/Contents/MacOS/cocoaDialog"

rv=`$cocoaDialog fileselect \
--select-multiple \
--title "Select files" \
--text "Please select files"`

echo $rv

returns the first selected file - I have tried this with perl and bash, and with the example code.

I'm using OS X Lion.

TY
John