Hi guys !
I found different topics concerning this question, but none have been solved.
I would like to detect if my excel file is read-only, is it possible ? And in the case the read-only button is checked is it possible to uncheck it ?
I found this answer on another topic but I don’t understand it :
" You can build in a check for it with ‘Element Exists’. As a selector make sure that the ‘Read Only’ part is in the name of the window.
For example, use the following selector: <wnd app=‘excel.exe’ cls=‘XLMAIN’ title=‘Excel Sheet - Read-Only*’ />
‘Element Exists’ will only return ‘true’ if Read-Only is in the name of the file. If it does, you can handle it as you wish."
But that’s not working because the File_Name I use doesn’t contain the “Read-Only” words.
So how can I do to directly get the name of the opened file with the “Read-Only” words ?