Bear web clipper and AppleScript

Hey everyone!:slight_smile:

I try to automate click on bear web clipper icon in toolbar on safari on Mac via AppleScript. I can’t find out what’ the code name of “Send To Bear” button.

Maybe someone here knows how to get the right index?

Bellow I have example of my script.

tell application "System Events"
	tell process "Safari"
		set frontmost to true
	click button 2 of toolbar 1 of window 1
	end tell
end tell

This brings share menu. I tried several random numbers, but can’t hit the bear one.


Was more simple than I thought. Downloaded Keyboard Maestro and used macro Click a button