I'm not sure that Touchosc can select pages remotely.Lemur can however-via osc or midi message if scripted.
Now,you CAN use the touchosc logic plugin to have logic send out osc messages when you select a track,but I have not been able to get lemur to accept the message.I suspect either I'm formatting the message wrong in the script,or it simply can't be done.I used the monitoring app in OSX to see the osc message coming out of Logic when I click on a track,but that's as far as I can go.I think it must be just to populate the text box in a mackie control format,which is what the touchosc plugin is doing anyway.A couple things that I noticed-
-You can select audio or single midi objects as well as instrument channels,not multi midi objects,as the names were not broadcast out (at least for me)
-You need to be mindful of the track names so that there are no spaces,so "Audio 1" is no good,you'd have to do "Audio_1" and so forth for all tracks.It has to do with the osc message I think.
In any case,I was not able to click on a track in logic and have lemur change interfaces.
This is slightly advanced stuff,so be patient.below is a basic script for lemur that accepts incoming osc message and selects an interface(page in touchosc terms) as well as a container tab.
on execution "on osc" - /select_track_x
selectinterface(y);selecttab(container_name,z);
where x is the track name,y is the interface number(starts at 0),and z is the container menu item(starts at 0 and goes up to whatever number you have that corresponds with the number of tabs the container has).
an example for a script named "/select/lass_strg/vln_all"
on execution "on osc" - /select/lass_strg/vlnI_all
selectinterface(5);selecttab(container_lass_strg,3);
the thing is you need a script for every track that uses a different set of controls,this is no small task in a large template.I've been working on mine for a few years now,and it keeps evolving.
If someone can confirm that touchosc does indeed allow for remote page selection,please correct me,it didn't a while back when I was using it more.
What I do now is select the track on one iPad and have a second iPad receive the osc message to select the controls for that track.A little simpler as lemur to lemur is simpler.
good luck