I’ve searched the forums but not been able to find an answer to this.
I’m using UI scripting to access ‘MPEG Streamclip’ and I need to delete a folder. To do this in the app you need to hold down the option key whilst clicking the delete button
Having highlighted the folder in question I’ve tried to do this with
option key down
button "×" of window 1 click -- this is the delete button
but this prompts me with the message “If you want to delete a folder please hold down the Alt key and click the delete button again”. So obviously the ‘option key down’ line is no longer active when the button is clicked.
So I tried
(keystroke “option” using button “×” of window 1) click but this doesn’t work either.
There’s probably a simple solution but I’m stuck!!