I´m working on an applescript to facilitate some workflows within FCPX 10.2.3 I am using UI Scripting for this task. I would like to select two or more assets in a certain file list (event browser). I can address the rows within the browser and select them but I can only achieve one selection at a time.
select *soundfile*
set selected of *soundfile* to true
set value of attribute "AXSelected" of soundfile to true
where soundfile is for example
row 5 of outline 1 of scroll area 1 of splitter group 1 of splitter group 1 of group 5 of splitter group 1 of window "Final Cut Pro"
works fine. Only it deselects all the other rows.
I am trying to find a way to send a command-select to the app.
Another idea: The parent element of the elements in question has an attribute "AXSelectedRows", but I´m not able to something with it. If it´s not empty it will return an array with item values of 'application "System Events" ' So I think it is not really implemented.
Is there a way to achieve the multiple selection?
Doesn´t have to be apple script...