NSSEGMENTCONTROL!
I have searched the web over and even the reference books. How do I interact with the segment control?
I need to select (mulitple) selections.
I have figured out how to find which ones are selected… I just need to figure out how to select them through AS. Any help is much appreciated.
Thank you in advance.
You are a life saver. Thank you so much!
Where might one find information in regards to questions like this?
Also: I have a segmented control with seven segments (one for each day of the week) what would be the best way to store which segments are selected?
How would I go about doing something like this:
(*EXAMPLE ONLY*)
set selected_Segments to {mon: false, tues, : false...} -- so that if as each day was selected it would update to true
repeat with i from 0 to 6
call method "isSelectedForSegment:" of (control "days" of tab view item "tabs_date" of tab view "tabs" of window "main") with parameter i
if result is 1 then set end of selected_Segments to i
end repeat