here is the path on Macintosh:
Macintosh HD/Users/shawn/Desktop/ATP/ATP14 bon bon/ATP14 bon bon.jpg
- I need to find the folder with ATP14 in the name, then open the folder
- I need to find the file whose name starts with ATP14 in the folder in 1 above
I had been using this in Applescript but its not working now. Would grep command work?
thanks for any help
set text_returned to "ATP14"
set the_producer_initials to "ATP"
do shell script ls -d '/volumes/Macintosh HD/Users/shawn/Desktop/ATP/'*' '
& the_producer_initials's quoted form & "/" & text_returned's quoted form & "' '*"