Error when trying to run Get_Safari12_Passwords.applescript [Solved]
Hello,
I've tried to run the script Get_Safari12_Passwords.applescript of the MRC Converter suite on Mac OS Catalina Version 10.15.7 and got following error message: "erreur dans system events il est impossible d'obtenir scroll area 1 of group 1 of group 1 of window" ???
Thanks in advance for your precious help!
Mac OS Catalina Version 10.15.7
Comments
-
Precision: I've about 40 Safari remaining passwords to enter in 1Password… Wouldn't it be easier to do it by my own?
0 -
I have mentioned MrC for assistance with this. If you like you can input those items yourself, if desired and if not MrC should be able to assist you soon.
0 -
Thanks a lot! If it's easier and faster to input those remaining items manually, I'll do it. If my problem with MrC is already known and solved or can be solved quickly, I would prefer to use MrC tool (all is a question of benefits/costs ;))
0 -
SORRY FOR THE DOUBLE POST!!! (I'm not an expert of forums LOL, can the moderator remove this second one please?)
Thanks a lot! If it's easier and faster to input those remaining items manually, I'll do it. If my problem with MrC is already known and solved or can be solved quickly, I would prefer to use MrC tool (all is a question of benefits/costs ;)0 -
Hi @Marianne_DB
I'm sorry for the delay.
That error is almost always caused by using the Mac while the converter is running. The script runs by directly interacting with Safari, and simulates what you would do to open your Safari passwords one at a time to copy each of the fields. If you interact with your Mac during that time, it interferes with the script.
It can also happen once there is trouble (e.g. from above). The remedy is to quit Script Editor, quit Safari, and restarting the script via Script Editor, letting it guide you through the process.
I presume you gave the script permissions to interact with Safari.
If you feel its faster for you to copy / paste your passwords, then by all means - do what is best for your needs. Sorry the process isn't easier. Apple has not provided a means to export iCloud Keychain passwords.
0 -
No delay at all: thanks for your prompt answer! I've just implemented the remedy you preconised: same problem, it occures just before the script asks for my session password in order to browse Safari passwords, I can't even enter my session password (indeed, I gave the script permissions to interact with Safari: I got a first error because it wasn't the case but I managed to overcome this one, LOL)
I'm just discovering how the Apple world is closed concerning certain topics and I'm very angry about that 😤😠😡🤬🤯
So what please???…0 -
it occures just before the script asks for my session password in order to browse Safari passwords
This doesn't make sense to me. The code that would produce the error message:
... scroll area 1 of group 1 of group 1 of window
can only occur after your macOS login password was entered into the Safari Passwords preferences dialog. I wonder if due to your system language being non-English, my code is not handling the state of that dialog being locked/unlocked.
There should be a log file on your Desktop named get_safari12_passwords.log. Can you share here the data from the last run in the script. The log is cumulative across all your runs of the script, so go to the end of the file and look up. It's just a text file. What I want is what's shown in the screenshot below. Please DO not share anything beyond what I highlight, as that will contain your confidential data. I'm interested in just the flow of the script.
0 -
0000: Log start: 23:02:59
0008: Entering FetchEntries()
0012: Opening Safari passwords dialog
0013: passwords are now unlocked
0014: Sampling password data...
And nothing more! (All the runs are the sames)
Passwords seem to be unlocked despite I didn't enter my session password 😲🤔
I will try to ignore this message, enter my session password and see what happens…0 -
New error:
0 -
That won't work. I'm now more confident that its the difference in our languages that's causing the issue. I need to go check some properties of that dialog with a system using French.
0 -
Would you like me to set my langage to english?
0 -
That would be the quickest way to test. It will take me a little while to rework this part of the code to ensure it works for any non-English language. When I redesigned the code-flow earlier this month, I knew this might be an issue, and was going to come back to address it. Life events got in the way of me being able to spend much time on this.
So, sure, try English, and see if it then works. Thank you!
0 -
0
-
Hmmm, did you restart your Mac after changing the language to English? Seems it is still in French.
0 -
Hmmm, did you restart your Mac after changing the language to English? Seems it is still in French.
0 -
Indeed… I did it but my Mac absolutely doesn't want to speak french!!!
0 -
After I restart it the language is french again :((( I'm going to bed, see you later ;)
I've found an intermediate solution to avoid to enter my passwords one by one :) but I can still contribute to test the script :)0 -
I'm so very for this taking up your time. I'll see if I can get to it this evening.
0 -
No matter: it's only ordinary computer science ;)
0 -
So true!
I've placed an updated version of Get_Safari12_Passwords.applescript in the Custom folder at the convert suite's download location for you to try. If you are still interested, please download and replace your copy, and see if it works better for you. It ran correctly for me when my system was set to either English or French (CA).
0 -
Hi @Marianne_DB
Checking in with you to see if the export worked for you, or if there is anything more that you need.
Cheers!
0 -
Sorry I didn't see your previous message:( I can't try anymore because I exported my 40 remaining iCloud passwords thanks to a workaround (as I told you) and then… I unfortunately deleted all these passwords! So that I don't have anymore data for the test 😥 (I didn't realise that acting so would severely compromise my contribution to the test of your script!!! I was so happy to be over with the transition to 1Password that I wanted to erase any trace of another password manager 😂) I'm very sorry, I beg your pardon 🙏
0 -
No worries, @Marianne_DB
You helped me sort out issues I'd knew I had to address eventually. Thanks for your assistance.
Cheers, and Enjoy 1Password!
0 -
You're welcome 😉 Thanks a lot!
0 -
:+1: :)
0