Automating X7 with AppleScript

Thanks for the pointer – there is one more function in the X7 help than in the X6 help, but it references Endnote X3.

What I’m trying to do is to make a Mac OS service that will:

Take selected text (a PMID)

Make sure the Endnote App is open

Make sure Endnote is connected to Pubmed

Select Pubmed from the options for online search

Clear all the search boxes

Make sure the top box drop-down menu is PMID

Fill the selected text into the top search box 

Search

Wait to get a response from the Pubmed server

Assuming there is at least one result, download the results

Switch the OS focus to Endnote

I can’t see how to change which Online Search function is active, how to access the text boxes for the search fields etc. Do you know of any documentation that would help further