Hello,
Here goes a piece of my code until now:
The highlighted part is a Finder command to duplicate the files, as you can see. I want to use a do shell script command like this one:
do shell script "mv theFonts ~/Documents"
But as expected, it won't work.
Resuming, is there a way to prompt the user to select files and use the output files on a shell script, by transforming it on a String or something else.
Thanks for reading anyway.
Here goes a piece of my code until now:
Code:
display dialog "Please select the two ZIP files"
set theFonts to choose file with prompt "Please select the two ZIP files:" of type {"ZIP"} with multiple selections allowed
[color=RED][b]duplicate [COLOR="Blue"]theFonts[/COLOR] to fontFolder with replacing[/color][/b]
The highlighted part is a Finder command to duplicate the files, as you can see. I want to use a do shell script command like this one:
do shell script "mv theFonts ~/Documents"
But as expected, it won't work.
Resuming, is there a way to prompt the user to select files and use the output files on a shell script, by transforming it on a String or something else.
Thanks for reading anyway.