The simple answer is -- it can't be done.
Originally Posted by Fremish
The LOTRO Lua API is incapable of executing in-game commands. Such actions are specifically restricted. Nor does it have any kind of communication interface.
What you have described implies that this App requires a corresponding program to be running on your PC -- you are describing Operating System functions -- minimizing a program and launching another one.
If this app has been "approved by Apple app store" what is the name of the app, and please post a link to the App store page.
Bill Magill - Mac Player - Old Timers Guild- Gladden:
Valamar: Dwarf Hunter - Level 100
Valdicta: Dwarf Rune-keeper - Level 100
Valanne: Beorning - Level 80