Hey so i have a control panel with tabs here right:
http://i46.photobucket.com/albums/f101/milesk11/conrolpanel.jpg
well, i have many of them on 1 application. so i was wondering if there was a script thats possible to change ALL of the panels, to the next tab over? and another button to change them back to the first tab. TY
Other than just repeating it with the name of every tab view thing, i cant help you sorry.
Whats with the tabs thought? They look awesome
with a given list of all yout tab views (in my example all tab views of window 1) you can do sth like this:
on clicked theObject
set allTabViews to tab views of window 1
repeat with thisTabView in allTabViews
if (name of theObject) is "next" then
call method "selectNextTabViewItem:" of thisTabView with parameter null
else if (name of theObject) is "first" then
call method "selectFirstTabViewItem:" of thisTabView with parameter null
end if
end repeat
end clicked
There are two more methods of NSTabView you might want to use:
selectLastTabViewItem: and selectPreviousTabViewItem:
Thanks dominik, il try this out.