I know fairly little about scripting, especially when it comes to Mac. On my work I have a script (Windows .BAT file) which copy every jpg image filename in the folder, randomizing the order and saves it to a .txt where the names are delimited by line break.
I have tried, tried and tried to accomplish this on a Mac which my colleague is using. I have been googling and testing for hours - but no success.
I want a file equivalent to a BAT file, to just run directly from the folder.
I have tried both with a .sh file and an AppleScript saved as app, no real use to show the code since they do not work and have been altered and destroyed by me. image of folder with the files
Is there someone who can help med accomplish this? :)
Thanks!