i have this code:
on will finish launching theObject
set appWindow to window "mainWindow"
set tabsView to tab view "mainTab" of appWindow
set clientsTab to tab view item "clients" of tabsView
set clientListTableView to table view "clientList" of scroll view "clientListScrollView" of clientsTab
set clientListDataSource to data source of table view "clientList" of scroll view "clientListScrollView" of clientsTab
end will finish launching
i can reference every thing but clientListTableView, any idea what i may be doing wrong?
the tab im trying to reference is not the tab initially selected when the app starts. if i make the “clients” tab the initally selected tab the reference does work.
thanks for any help