Hey Folks,
I updated my script for selecting files in the front Finder window for the Keyboard Maestro list, and of course someone ran it on a Spotlight search window. :)
That's a no-no of course, and I updated the script to avoid such confrontations.
While I was at it I wondered about selecting files in search windows via System Events, and this is the result so far.
------------------------------------------------------------------------------------------- tell application "System Events" tell application process "Finder" tell outline 1 of scroll area 2 of splitter group 1 of front window set selected of (rows where value of its text field 1 of UI element 1 contains ".jpg") to true end tell end tell end tell -------------------------------------------------------------------------------------------
Unfortunately the script serially selects each file one-by-one instead of en mass.
I'm wondering if anyone has mastered this little problem.
Thank you.
-- Best Regards, Chris
|