I've produced an Application that uses the Address Book database. I also have a button the users can click to open the Address Book application.
This button invokes the openURL command with the URL, "addressbook://".
This works well most of the time, however, if the Address Book application is already open, but it's window is closed or minimised, it's not of much use. The Address Book application is still brought to the front, but the window does not appear (remains closed/minimised). So it' s really quite useless in that situation. In fact the users sometimes don't even notice that the menubar has changed to Address Book.
I've tried using AppleScript events to activate address book, but that has the same result.
Is there any way I can activate the Address Book's window to either open it or un-minimise it?