When I run the following script it will sometimes hang trying to find apath. It always works the first time but if run again it hangs. If I cancel and retry it will most of the time work fine but maybe the next time it will hang again.
Any suggestions?
Roger
Mac osx 10.7.4
- select image
set aPath to quoted form of POSIX path of (choose file)
-- Display path
display dialog aPath
-- Get Metadata
set aScript to "exiftool -CreateDate -Modifydate -FileModifyDate -MetadataDate " & aPath
-- save result
set aResult to do shell script aScript
I think this is a question for an AppleScript forum.
Just for fun, I tried your script and it did hang once in the file selection dialog, but then worked every time after that. I can't think of what the problem could be.
- Phil