1 of 1 people found this helpful
Set Variable [$apsn; Get(AccountPrivilegeSetName)]
Set Variable [$platform; Get(ApplicationVersion)]
Set Variable [$home; PatternCount($platform;"Pro") + PatternCount($platform;"iPad")]
If ($apsn = "Full access" AND $Home)
Goto Layout ["home"];
If ($apsn = "TCS Data Entry User")
Goto Layout ["Mobile home"];
Adjust Window [Resize to Fit]
You've already written the script outline; just replace each line with the corresponding Filemaker script step (a good exercise to get to know your steps … ).
The calculation would simply be
Get ( AccountPrivilegeSetName ) = "[Full Access]"
Let ( av = Get ( ApplicationVersion ) ; av = "Pro" or av = "Go_iPad" )
PatternCount is necessary because Get(ApplicationVersion) gives back things like "ProAdvanced 13.0v5"
As usual, didn't see your response while penning & posting mine.