Accessibility list & Cgwindow list

Hi all,

Two questions.

Is there a way to test if an app is in the accessibility list to control the UI?

Also, any code available to return the bounds of the preferences window so I can position my window in relation to its position? I’d like to do something similar to Shane’s accessibility applet, but with a startup screen on first launch.



Mieux vaut tard que jamais… :wink:

set checkAccessApp to do shell script "sqlite3 /Library/'Application Support'/ 'SELECT * FROM access'" with administrator privileges

if checkAccessApp does not contain "|0|1|1|" then
	display alert "No Access"
	display alert "Access OK"
end if

Of course modify “”. :stuck_out_tongue: