ChatGTP and I have become great friends on account of my total ignorance regards the grammar (dare I call it something as simple as syntax!) rules required to AppleScript with any proficiency.
We spent half an hour trying to do the seemingly simple task of opening a window in column view (check) and then sorting it by name (ascending).
The Finder dictionary tells me this should be a valid and simple request (no surprises there):
sort column (column) : the column that the list view is sorted on
But all our attempts to invoke(?) this property including trying to do an
osascript -e 'tell application \"Finder\"
etc from a do shell script
met with failure
Would love to know what I’m not getting here.
Thanks in advance, I used to be able to script Adobe products a little bit where require and where automated Adobe Actions couldn’t do it, maybe 15 years ago and never really loved the language… expressive and “natural language reading” as it can be. ChatGTP is my only hope to write Applescripts, I’m already overcommitting time on scripts that aren’t worth the time I’m investing in them!