trying to convert this:
/Users/shawnbrady/Documents/Adobe/Premiere Pro/14.0/CBN Feat.prproj
to this:
Macintosh HD:Users:shawnbrady:Documents:Adobe:Premiere Pro:14.0:CBN Feat.prproj
this works but there is no variable
display dialog "" default answer "paste the path here"
set the_path to text returned of the result as string
set z to do shell script "ls '/Users/shawnbrady/Documents/Adobe/Premiere Pro/14.0/CBN Feat.prproj'"
set cc to POSIX file z as string
display dialog cc as string -- Macintosh HD:Users:shawnbrady:Documents:Adobe:Premiere Pro:14.0:CBN Feat.prproj
How do I make the text returned from the 1st dialog box (users/shawnbrady/etc)
a variable that works with the ls command
this does not work:
display dialog "" default answer "paste the path here"
set the_path to text returned of the result as string
set z to do shell script "ls" & the_path
set cc to POSIX file z as string
display dialog cc as string