The Go to a Button bar segment from a script does not with the Go To Object. I dont use quotes around the button bar segment name. Some ideas here?
You are right, you need to name a Object and then use Go to object.
Why would you like to go to a specific Button Bar?
If you that Button bar is a Popover and you like to show that Popover, you just add Object name to one object on that popover and use Go to Object and you will see the Popover directly
Go To Object isn't looking for the button bar's segment name... it's looking for the name you assigned each segment within the Inspector where it says "Name". I know, it is rather unintuitive.
Thats what I use. I need to make an spesific button bar segment active, and the Go to Object dont make the tab active.
You must be doing something wrong then. Create a new object a square on that tab/popover and name it to something new. Then use Go To Object with that nice inside "". That should take you to that tab/popover
I dont think so?
For a tab you need to click twice on the tab before you can enter the name otherwise I think it adds the name for the entire object tab. I looks like you have done that now.
if I then do a script that uses Go to object "TabName" I end up on that object. Say I am on the Snitt tab and I start my script it will take me to Grunddata
Am sure I pressed two times to be sure it only was the name for that tab. But is this going to be the active one on the tab controll:
Am only able to choose one per button bar there. How to I spesify which to be active a the different possibility?
1. Why do you want to go to a specific button in a Button bar?
2. If you want to go to a Popver that is under that Button Bar button, then set a object on that Popover to a name and go to that object
1. First of all I could not use tab controll in this solution because there was not possible to hide each tab, a key possibility here. So I made something that looked as a tab controll with a buttonbar and slide controll under. Because you can hide each buttons in a button bar. Thats why
2. if I go to the tab bars in a script the active button is not right. It is only showing right active button when the user manually navigating .
So I just need to find a solution to how to spesify/calculate which button should be active in the active segment of the button bar itself.
Button Bar can be calculated, so you can use $$Variables to set those name. Then you can control them
Solution was that the active segment of the button bar needed to be calculated with an case as this:
$$butten = "value1" ; "button_name" ;
$$butten = "value2" ; "button_name2" ;
$$butten = "value3" ; "button_name3" ;
$$butten = "value4 ; "button_name4" ;
$$butten = "value5" ; "button_name5" ;
Glad I could help
Retrieving data ...